Commit 79001e16 by 胡悦

提交对公账号

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