123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <view class="container">
- <view class="balance-section">
- <view class="balance-title">可提现余额</view>
- <view class="balance-amount">¥ {{balance}}</view>
- </view>
- <view class="withdraw-section">
- <view class="section-title">提现金额</view>
- <view class="amount-input-wrap">
- <text class="currency-symbol">¥</text>
- <input
- type="digit"
- class="amount-input"
- placeholder="请输入提现金额"
- value="{{withdrawAmount}}"
- bindinput="onAmountInput"
- />
- <text class="all-withdraw" bindtap="withdrawAll">全部提现</text>
- </view>
- </view>
- <view class="method-section">
- <view class="section-title">选择提现方式</view>
- <view class="method-list">
- <view
- class="method-item {{selectedMethod === item.id ? 'selected' : ''}}"
- wx:for="{{withdrawMethods}}"
- wx:key="id"
- data-id="{{item.id}}"
- bindtap="selectWithdrawMethod"
- >
- <image class="method-icon" src="{{item.icon}}"></image>
- <text class="method-name">{{item.name}}</text>
- <view class="method-check">
- <icon wx:if="{{selectedMethod === item.id}}" type="success" size="20"></icon>
- </view>
- </view>
- </view>
- </view>
- <view class="account-section" bindtap="manageAccounts">
- <view class="section-title">收款账户</view>
- <view class="account-info">
- <text wx:if="{{selectedMethod === 'alipay'}}">支付宝:{{accountInfo.alipay}}</text>
- <text wx:elif="{{selectedMethod === 'wechat'}}">微信:{{accountInfo.wechat}}</text>
- <text wx:elif="{{selectedMethod === 'bank'}}">
- 银行卡:{{accountInfo.bank.bankName}} {{accountInfo.bank.cardNumber}}
- </text>
- <text wx:else>请选择并管理收款账户</text>
- </view>
- <text class="iconfont icon-right"></text>
- </view>
- <button
- class="withdraw-btn"
- bindtap="submitWithdraw"
- >
- 确认提现
- </button>
- </view>
|