rk
2026-04-28 a59ff44b2eaa7020f0529632d9ec064c4dc38e27
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%;