Commit 79001e16 by 胡悦

提交对公账号

1 parent 7870f789
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @LastEditors: huyue
* @LastEditTime: 2024-04-08 17:09:42
* @LastEditTime: 2024-04-08 17:20:55
-->
<template>
<view>
......@@ -42,9 +42,9 @@
mode="scaleToFill"
/>
<view class="bank-info">
<view class="bank-item">
<text class="bank-label">公司名称:</text>
<view class="bank-value">东莞问界交付中心</view>
<view class="bank-item" v-for="item in accountList" :key="item.field">
<text class="bank-label">{{item.label}}:</text>
<view class="bank-value">{{ accountInfo[item.field] }}</view>
</view>
</view>
</view>
......@@ -67,13 +67,36 @@ const PAYMENT_TYPE = [
type: 2,
},
];
const ACCOUT_LIST = [
{
label: '公司名称',
field: 'companyName'
},
{
label: '基本账户',
field: 'basicAccount'
},
{
label: '支行账号',
field: 'paymentType'
},
{
label: '一般账户',
field: 'generalAccount'
},
{
label: '支付账户',
field: 'paymentAccount'
}
]
export default {
data() {
return {
payInfo: {},
accountInfo: {},
payActive: 1,
payActive: 2,
paymentType: PAYMENT_TYPE,
accountList: ACCOUT_LIST
};
},
onLoad(options) {
......@@ -110,9 +133,10 @@ export default {
</script>
<style scoped lang="scss">
.popup-box {
position: relative;
margin-top: 286rpx;
background-color: #f8f9f9;
min-height: 1154rpx;
height: 1160rpx;
padding-bottom: 30rpx;
.payment-title {
position: relative;
......@@ -221,6 +245,10 @@ export default {
}
}
.payment-done {
position: absolute;
bottom: 30rpx;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 240rpx);
height: 80rpx;
font-weight: 500;
......@@ -228,9 +256,6 @@ export default {
color: #ffffff;
text-align: center;
line-height: 80rpx;
// padding: 18rpx 0;
margin: 112rpx 120rpx 30rpx;
// margin-top: auto;
background-color: #2c66f7;
border-radius: 40rpx;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!