From a59ff44b2eaa7020f0529632d9ec064c4dc38e27 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期二, 28 四月 2026 22:08:46 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/gtzxinglijicun
---
small-program/shop/pages/withdraw/withdraw.vue | 63 ++++++++++++++++++++-----------
1 files changed, 40 insertions(+), 23 deletions(-)
diff --git a/small-program/shop/pages/withdraw/withdraw.vue b/small-program/shop/pages/withdraw/withdraw.vue
index 0db57f8..38a33ae 100644
--- a/small-program/shop/pages/withdraw/withdraw.vue
+++ b/small-program/shop/pages/withdraw/withdraw.vue
@@ -8,13 +8,17 @@
</view>
<view class="form">
<view class="form-a">
- <view class="form-a-label">鎻愮幇鑷�</view>
+ <view class="form-a-label">鎻愮幇鑷虫敮浠樺疂璐﹀彿</view>
<view class="form-a-val">
- <image src="../../images/ic_alipay@2x.png" mode="widthFix"></image>
- <text>鏀粯瀹� {{form.aliAccount || ''}}</text>
+ <input type="text" placeholder="璇疯緭鍏ユ彁鐜拌处鍙�" v-model="form.aliAccount" />
</view>
</view>
- <view class="form-xian"></view>
+ <view class="form-a">
+ <view class="form-a-label">璐﹀彿濮撳悕</view>
+ <view class="form-a-val">
+ <input type="text" placeholder="璇疯緭鍏ヨ处鍙峰鍚�" v-model="form.aliName" />
+ </view>
+ </view>
<view class="form-title">鎻愮幇閲戦</view>
<view class="form-input">
<view class="form-input-dw">锟�</view>
@@ -54,7 +58,7 @@
focus:false,
valid:false,
bankList:[],
- form: { amount: null, aliAccount: null },
+ form: { amount: null, aliAccount: null, aliName: null },
shop:{},
info:{},
countData: {}
@@ -64,6 +68,7 @@
this.show = false
this.focus = false
this.form.aliAccount = this.shopInfo.aliAccount
+ this.form.aliName = this.shopInfo.aliName
this.getShopStatistics()
},
methods:{
@@ -90,6 +95,14 @@
},
applyDo(){
var that =this
+ if (!this.form.aliAccount) {
+ uni.showToast({ title: '璇疯緭鍏ユ敮浠樺疂璐﹀彿', icon: 'none' })
+ return
+ }
+ if (!this.form.aliName) {
+ uni.showToast({ title: '璇疯緭鍏ュ鍚�', icon: 'none' })
+ return
+ }
this.$u.api.shopApply(this.form)
.then(res => {
if (res.code === 200) {
@@ -150,12 +163,15 @@
box-shadow: 0rpx 2rpx 20rpx 0rpx rgba(0,0,0,0.08);
border-radius: 20rpx;
margin-top: 30rpx;
- padding: 48rpx 30rpx;
+ padding: 10rpx 30rpx 30rpx 30rpx;
box-sizing: border-box;
.form-a {
width: 100%;
+ height: 102rpx;
+ border-bottom: 1rpx solid #E5E5E5;
display: flex;
align-items: center;
+ justify-content: space-between;
.form-a-label {
flex-shrink: 0;
margin-right: 30rpx;
@@ -164,32 +180,33 @@
color: #666666;
}
.form-a-val {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- text {
- font-weight: 400;
+ height: 100%;
+ input {
+ width: 300rpx;
+ height: 100%;
+ text-align: right;
+ font-weight: 500;
font-size: 28rpx;
color: #333333;
+ // margin: 0 30rpx;
}
- image {
- width: 32rpx;
- height: 32rpx;
- margin-right: 10rpx;
- }
+ // text {
+ // font-weight: 400;
+ // font-size: 28rpx;
+ // color: #333333;
+ // }
+ // image {
+ // width: 32rpx;
+ // height: 32rpx;
+ // margin-right: 10rpx;
+ // }
}
- }
- .form-xian {
- width: 100%;
- height: 1rpx;
- margin: 30rpx 0;
- background-color: #E5E5E5;
}
.form-title {
font-weight: 500;
font-size: 34rpx;
color: #111111;
+ margin-top: 40rpx;
}
.form-input {
width: 100%;
--
Gitblit v1.9.3