提现规则优化
This commit is contained in:
@@ -23,6 +23,41 @@
|
||||
<t-button block theme="primary" class="withdraw-btn" style="width:320rpx;margin:0 auto;" bindtap="onWithdraw">提现</t-button>
|
||||
</view>
|
||||
|
||||
<!-- 提现规则:默认折叠,展示核心摘要;点击展开完整规则 -->
|
||||
<view class="rules-card">
|
||||
<view class="rules-header" hover-class="rules-header--hover" bindtap="onToggleRules">
|
||||
<view class="rules-header-left">
|
||||
<t-icon name="info-circle-filled" size="34rpx" color="#ff5f15" />
|
||||
<text class="rules-header-title">提现规则</text>
|
||||
</view>
|
||||
<view class="rules-header-right">
|
||||
<text class="rules-toggle-text">{{rulesExpanded ? '收起' : '展开'}}</text>
|
||||
<t-icon name="chevron-down" size="30rpx" color="#a9aeb8" class="rules-arrow {{rulesExpanded ? 'is-expand' : ''}}" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 折叠态:核心要点摘要 -->
|
||||
<view class="rules-brief {{rulesExpanded ? 'is-hide' : ''}}">
|
||||
<view class="brief-item" wx:for="{{briefRules}}" wx:key="*this">
|
||||
<t-icon name="check-circle-filled" size="24rpx" color="#ff5f15" class="brief-icon" />
|
||||
<text class="brief-text">{{item}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 展开态:完整规则 -->
|
||||
<view class="rules-body {{rulesExpanded ? 'is-expand' : ''}}">
|
||||
<view class="rules-body-inner">
|
||||
<view class="rule-item" wx:for="{{ruleList}}" wx:key="title">
|
||||
<view class="rule-index">{{index + 1}}</view>
|
||||
<view class="rule-content">
|
||||
<view class="rule-title">{{item.title}}</view>
|
||||
<view class="rule-desc">{{item.desc}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="balance-detail">
|
||||
<view class="detail-title">余额明细</view>
|
||||
<view class="tab-bar">
|
||||
@@ -56,5 +91,6 @@
|
||||
<view class="dialog-content" slot="content">
|
||||
<t-input label="真实姓名" placeholder="请输入姓名" value="{{withdrawName}}" bindchange="onWithdrawNameInput" />
|
||||
<t-input label="提现金额" placeholder="请输入提现金额" type="number" value="{{withdrawAmount}}" bindchange="onWithdrawAmountInput" />
|
||||
<view class="dialog-tips">单笔 1-200 元,每日最多 10 次,单日累计不超过 2000 元;到账至微信零钱,1-3 个工作日内到账</view>
|
||||
</view>
|
||||
</t-dialog>
|
||||
Reference in New Issue
Block a user