|
|
|
|
|
|
|
|
<template> |
|
|
|
|
|
<navBar title="支付账户签约"></navBar> |
|
|
|
|
|
<navBgCar></navBgCar> |
|
|
|
|
|
<view class="content-value"> |
|
|
|
|
|
<view |
|
|
|
|
|
@click="qianyueAction(item)" |
|
|
|
|
|
class="ul-item" |
|
|
|
|
|
v-for="(item, index) in state.list" |
|
|
|
|
|
:key="index" |
|
|
|
|
|
> |
|
|
|
|
|
<image |
|
|
|
|
|
style="width: 100%; height: 170rpx; background-color: #eeeeee" |
|
|
|
|
|
:src="item.bg" |
|
|
|
|
|
></image> |
|
|
|
|
|
<view class="item-value"> |
|
|
|
|
|
<image class="icon-tip" :src="item.icon"></image> |
|
|
|
|
|
<view class="content"> |
|
|
|
|
|
<view class="title"> |
|
|
|
|
|
{{ item.title }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="margin-top: 15rpx" class="tip"> |
|
|
|
|
|
{{ item.tip }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="margin-top: 15rpx" class="flex"> |
|
|
|
|
|
<view :class="item.tag"> |
|
|
|
|
|
{{ item.tag1 }} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="margin-left: 15rpx" :class="item.tag"> |
|
|
|
|
|
{{ item.tag2 }} |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="action-btn"> 签约 </view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- <view class="action"> |
|
|
|
|
|
<button type="default" class="button" @click="savaHandle()"> |
|
|
|
|
|
已有签约,跳过。 |
|
|
|
|
|
</button> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
</view> |
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
|
|
import { onLoad, onShow } from "@dcloudio/uni-app"; |
|
|
|
|
|
import { reactive } from "vue"; |
|
|
|
|
|
import { etcQyList } from "@/utils/network/api.js"; |
|
|
|
|
|
import { request } from "@/utils/network/request.js"; |
|
|
|
|
|
|
|
|
|
|
|
import { stringToJson } from "@/utils/network/encryption"; |
|
|
|
|
|
import { fileURL } from "@/datas/fileURL.js"; |
|
|
|
|
|
import navBar from "../components/nav-bar/nav-bar2.vue"; |
|
|
|
|
|
import navBgCar from "./components/nav-bg-car5"; |
|
|
|
|
|
const imgURL = `${fileURL}image/`; |
|
|
|
|
|
|
|
|
|
|
|
const savaHandle = () => { |
|
|
|
|
|
console.log("执行点击事件"); |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: `/applyCard/choice-product?orderId=${state.orderId}`, |
|
|
|
|
|
}); |
|
|
|
|
|
}; |
|
|
|
|
|
const qianyueAction = (val) => { |
|
|
|
|
|
console.log(val); |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: `/applyCard/sign-up?orderId=${state.orderId}`, |
|
|
|
|
|
}); |
|
|
|
|
|
}; |
|
|
|
|
|
onLoad((option: any) => { |
|
|
|
|
|
state.orderId = option.orderId; |
|
|
|
|
|
var data = {}; |
|
|
|
|
|
const options = { |
|
|
|
|
|
type: 2, |
|
|
|
|
|
data: data, |
|
|
|
|
|
method: "POST", |
|
|
|
|
|
showLoading: true, |
|
|
|
|
|
}; |
|
|
|
|
|
request(etcQyList, options).then((res) => { |
|
|
|
|
|
const data = stringToJson(res.bizContent); |
|
|
|
|
|
// state.list = data.data |
|
|
|
|
|
state.list = [ |
|
|
|
|
|
{ |
|
|
|
|
|
bg: imgURL + "applyCard/product-bg.png", |
|
|
|
|
|
icon: imgURL + "applyCard/wechat.png", |
|
|
|
|
|
title: "微信支付", |
|
|
|
|
|
tip: "服务费是每笔交易金额的0.05%", |
|
|
|
|
|
tag1: "微信代付", |
|
|
|
|
|
tag2: "微信便捷支付", |
|
|
|
|
|
tag: "tag1", |
|
|
|
|
|
channelId: data.data[0].channelId, |
|
|
|
|
|
}, |
|
|
|
|
|
]; |
|
|
|
|
|
}); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const state = reactive({ |
|
|
|
|
|
data: { |
|
|
|
|
|
show: false, |
|
|
|
|
|
src: imgURL + "applyCard/edit.png", |
|
|
|
|
|
}, |
|
|
|
|
|
list: [ |
|
|
|
|
|
{ |
|
|
|
|
|
bg: imgURL + "applyCard/product-bg.png", |
|
|
|
|
|
icon: imgURL + "applyCard/wechat.png", |
|
|
|
|
|
title: "微信支付", |
|
|
|
|
|
tip: "服务费是每笔交易金额的0.05%", |
|
|
|
|
|
tag1: "微信代付", |
|
|
|
|
|
tag2: "微信便捷支付", |
|
|
|
|
|
tag: "tag1", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
orderId: "", |
|
|
|
|
|
}); |
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
.content-value { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
margin-top: -50rpx; |
|
|
|
|
|
// padding: 0rpx 30rpx; |
|
|
|
|
|
position: relative; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.flex { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.action { |
|
|
|
|
|
margin-top: 30rpx; |
|
|
|
|
|
padding-left: 20rpx; |
|
|
|
|
|
padding-right: 20rpx; |
|
|
|
|
|
padding-bottom: 30rpx; |
|
|
|
|
|
|
|
|
|
|
|
.button { |
|
|
|
|
|
height: 80rpx; |
|
|
|
|
|
background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%); |
|
|
|
|
|
border-radius: 40rpx; |
|
|
|
|
|
font-size: 32rpx; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
line-height: 80rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.action-btn { |
|
|
|
|
|
margin-left: 45rpx; |
|
|
|
|
|
width: 121rpx; |
|
|
|
|
|
height: 61rpx; |
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 1); |
|
|
|
|
|
border-radius: 30rpx; |
|
|
|
|
|
background: rgba(255, 255, 255, 0.2); |
|
|
|
|
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
font-size: 30rpx; |
|
|
|
|
|
font-family: Microsoft YaHei; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
line-height: 61rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tag1 { |
|
|
|
|
|
padding: 5rpx; |
|
|
|
|
|
background: rgba(0, 179, 139, 0.5); |
|
|
|
|
|
border-radius: 6rpx; |
|
|
|
|
|
font-size: 22rpx; |
|
|
|
|
|
font-family: Microsoft YaHei; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tag3 { |
|
|
|
|
|
padding: 5rpx; |
|
|
|
|
|
background: rgba(139, 112, 228, 0.5); |
|
|
|
|
|
border-radius: 6rpx; |
|
|
|
|
|
font-size: 22rpx; |
|
|
|
|
|
font-family: Microsoft YaHei; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tag2 { |
|
|
|
|
|
padding: 5rpx; |
|
|
|
|
|
background: rgba(249, 97, 60, 0.5); |
|
|
|
|
|
border-radius: 6rpx; |
|
|
|
|
|
font-size: 22rpx; |
|
|
|
|
|
font-family: Microsoft YaHei; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.ul-item { |
|
|
|
|
|
padding: 5px 20rpx; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
|
|
.item-value { |
|
|
|
|
|
padding: 20rpx; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: space-around; |
|
|
|
|
|
|
|
|
|
|
|
.content { |
|
|
|
|
|
.title { |
|
|
|
|
|
font-size: 32rpx; |
|
|
|
|
|
font-family: Microsoft YaHei; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tip { |
|
|
|
|
|
font-size: 24rpx; |
|
|
|
|
|
font-family: Microsoft YaHei; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.icon-tip { |
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 100rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.content { |
|
|
|
|
|
margin-left: 40rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
|
<navBar title="支付账户签约"></navBar>
|
|
|
|
|
|
<navBgCar></navBgCar>
|
|
|
|
|
|
<view class="content-value">
|
|
|
|
|
|
<view @click="qianyueAction(item)" class="ul-item" v-for="(item, index) in state.list" :key="index">
|
|
|
|
|
|
<image style="width: 100%; height: 170rpx; background-color: #eeeeee" :src="item.bg"></image>
|
|
|
|
|
|
<view class="item-value">
|
|
|
|
|
|
<image class="icon-tip" :src="item.icon"></image>
|
|
|
|
|
|
<view class="content">
|
|
|
|
|
|
<view class="title">
|
|
|
|
|
|
{{ item.title }}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view style="margin-top: 15rpx" class="tip">
|
|
|
|
|
|
{{ item.tip }}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view style="margin-top: 15rpx" class="flex">
|
|
|
|
|
|
<view :class="item.tag">
|
|
|
|
|
|
{{ item.tag1 }}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view style="margin-left: 15rpx" :class="item.tag">
|
|
|
|
|
|
{{ item.tag2 }}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="action-btn"> 签约 </view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<!-- <view class="action">
|
|
|
|
|
|
<button type="default" class="button" @click="savaHandle()">
|
|
|
|
|
|
已有签约,跳过。
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</view> -->
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
|
import {
|
|
|
|
|
|
onLoad,
|
|
|
|
|
|
onShow
|
|
|
|
|
|
} from "@dcloudio/uni-app";
|
|
|
|
|
|
import {
|
|
|
|
|
|
reactive
|
|
|
|
|
|
} from "vue";
|
|
|
|
|
|
import {
|
|
|
|
|
|
etcQyList
|
|
|
|
|
|
} from "@/utils/network/api.js";
|
|
|
|
|
|
import {
|
|
|
|
|
|
request
|
|
|
|
|
|
} from "@/utils/network/request.js";
|
|
|
|
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
|
stringToJson
|
|
|
|
|
|
} from "@/utils/network/encryption";
|
|
|
|
|
|
import {
|
|
|
|
|
|
fileURL
|
|
|
|
|
|
} from "@/datas/fileURL.js";
|
|
|
|
|
|
import navBar from "../components/nav-bar/nav-bar2.vue";
|
|
|
|
|
|
import navBgCar from "./components/nav-bg-car5";
|
|
|
|
|
|
const imgURL = `${fileURL}image/`;
|
|
|
|
|
|
|
|
|
|
|
|
const savaHandle = () => {
|
|
|
|
|
|
console.log("执行点击事件");
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: `/applyCard/choice-product?orderId=${state.orderId}`,
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
const qianyueAction = (val) => {
|
|
|
|
|
|
console.log(val);
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: `/applyCard/sign-up?orderId=${state.orderId}&&clientFee=${state.clientFee}&&id=${state.id}`,
|
|
|
|
|
|
});
|
|
|
|
|
|
};
|
|
|
|
|
|
onLoad((option: any) => {
|
|
|
|
|
|
state.orderId = option.orderId;
|
|
|
|
|
|
state.clientFee = option.clientFee;
|
|
|
|
|
|
state.id = option.id;
|
|
|
|
|
|
|
|
|
|
|
|
state.data
|
|
|
|
|
|
var data = {};
|
|
|
|
|
|
const options = {
|
|
|
|
|
|
type: 2,
|
|
|
|
|
|
data: data,
|
|
|
|
|
|
method: "POST",
|
|
|
|
|
|
showLoading: true,
|
|
|
|
|
|
};
|
|
|
|
|
|
request(etcQyList, options).then((res) => {
|
|
|
|
|
|
const data = stringToJson(res.bizContent);
|
|
|
|
|
|
// state.list = data.data
|
|
|
|
|
|
state.list = [{
|
|
|
|
|
|
bg: imgURL + "applyCard/product-bg.png",
|
|
|
|
|
|
icon: imgURL + "applyCard/wechat.png",
|
|
|
|
|
|
title: "微信支付",
|
|
|
|
|
|
tip: "服务费是每笔交易金额的0.05%",
|
|
|
|
|
|
tag1: "微信代付",
|
|
|
|
|
|
tag2: "微信便捷支付",
|
|
|
|
|
|
tag: "tag1",
|
|
|
|
|
|
channelId: data.data[0].channelId,
|
|
|
|
|
|
}, ];
|
|
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const state = reactive({
|
|
|
|
|
|
data: {
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
src: imgURL + "applyCard/edit.png",
|
|
|
|
|
|
},
|
|
|
|
|
|
list: [{
|
|
|
|
|
|
bg: imgURL + "applyCard/product-bg.png",
|
|
|
|
|
|
icon: imgURL + "applyCard/wechat.png",
|
|
|
|
|
|
title: "微信支付",
|
|
|
|
|
|
tip: "服务费是每笔交易金额的0.05%",
|
|
|
|
|
|
tag1: "微信代付",
|
|
|
|
|
|
tag2: "微信便捷支付",
|
|
|
|
|
|
tag: "tag1",
|
|
|
|
|
|
}, ],
|
|
|
|
|
|
id: '',
|
|
|
|
|
|
clientFee: '',
|
|
|
|
|
|
orderId: "",
|
|
|
|
|
|
});
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
.content-value {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
margin-top: -50rpx;
|
|
|
|
|
|
// padding: 0rpx 30rpx;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flex {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.action {
|
|
|
|
|
|
margin-top: 30rpx;
|
|
|
|
|
|
padding-left: 20rpx;
|
|
|
|
|
|
padding-right: 20rpx;
|
|
|
|
|
|
padding-bottom: 30rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.button {
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
|
|
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.action-btn {
|
|
|
|
|
|
margin-left: 45rpx;
|
|
|
|
|
|
width: 121rpx;
|
|
|
|
|
|
height: 61rpx;
|
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 1);
|
|
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
|
line-height: 61rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag1 {
|
|
|
|
|
|
padding: 5rpx;
|
|
|
|
|
|
background: rgba(0, 179, 139, 0.5);
|
|
|
|
|
|
border-radius: 6rpx;
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag3 {
|
|
|
|
|
|
padding: 5rpx;
|
|
|
|
|
|
background: rgba(139, 112, 228, 0.5);
|
|
|
|
|
|
border-radius: 6rpx;
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag2 {
|
|
|
|
|
|
padding: 5rpx;
|
|
|
|
|
|
background: rgba(249, 97, 60, 0.5);
|
|
|
|
|
|
border-radius: 6rpx;
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ul-item {
|
|
|
|
|
|
padding: 5px 20rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
.item-value {
|
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
|
|
|
|
.content {
|
|
|
|
|
|
.title {
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tip {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon-tip {
|
|
|
|
|
|
width: 100rpx;
|
|
|
|
|
|
height: 100rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.content {
|
|
|
|
|
|
margin-left: 40rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
</style> |
|
|
</style> |