提现最小金额限制

This commit is contained in:
Dev
2026-09-23 18:28:26 +08:00
parent bde6edd76a
commit 1f447f33c6
3 changed files with 14 additions and 10 deletions
@@ -16,12 +16,11 @@ Page({
showWithdrawDialog: false, showWithdrawDialog: false,
withdrawAmount: '', withdrawAmount: '',
withdrawName: '', withdrawName: '',
cancelBtnStyle: 'color: #ff0000; border-color: #ff0000; background-color: #fff;',
// 提现规则:默认折叠,仅展示核心摘要 // 提现规则:默认折叠,仅展示核心摘要
rulesExpanded: false, rulesExpanded: false,
briefRules: ['单笔 0.1-200 元', '每日限 10 次', '单日限额 2000 元', '1-3 个工作日到账'], briefRules: ['单笔 0-200 元', '每日限 10 次', '单日限额 2000 元', '1-3 个工作日到账'],
ruleList: [ ruleList: [
{ title: '单笔额度', desc: '单笔最低 0.1 元,最高 200 元,以「可提现余额」为准' }, { title: '单笔额度', desc: '单笔 0-200 元,以「可提现余额」为准' },
{ title: '提现次数', desc: '每个自然日最多可发起 10 次提现申请' }, { title: '提现次数', desc: '每个自然日最多可发起 10 次提现申请' },
{ title: '单日限额', desc: '同一自然日累计提现金额不超过 2000 元,超出请次日再试' }, { title: '单日限额', desc: '同一自然日累计提现金额不超过 2000 元,超出请次日再试' },
{ title: '到账方式', desc: '转账至本人微信零钱,需填写与微信实名一致的姓名' }, { title: '到账方式', desc: '转账至本人微信零钱,需填写与微信实名一致的姓名' },
@@ -87,10 +87,10 @@
</view> </view>
<!-- 提现弹窗 --> <!-- 提现弹窗 -->
<t-dialog visible="{{showWithdrawDialog}}" title="提现" confirmBtn="确认" cancelBtn="取消" cancel-style="{{ cancelBtnStyle }}" bind:confirm="onConfirmWithdraw" bind:cancel="onCancelWithdraw" content="请填写该微信账号的真实姓名,用于安全校验"> <t-dialog visible="{{showWithdrawDialog}}" title="提现" confirmBtn="确认" cancelBtn="取消" t-class-confirm="dialog__button-confirm" t-class-cancel="dialog__button-cancel" bind:confirm="onConfirmWithdraw" bind:cancel="onCancelWithdraw" content="请填写该微信账号的真实姓名,用于安全校验">
<view class="dialog-content" slot="content"> <view class="dialog-content" slot="content">
<t-input label="真实姓名" placeholder="请输入姓名" value="{{withdrawName}}" bindchange="onWithdrawNameInput" /> <t-input label="真实姓名" placeholder="请输入姓名" value="{{withdrawName}}" bindchange="onWithdrawNameInput" />
<t-input label="提现金额" placeholder="请输入提现金额" type="digit" value="{{withdrawAmount}}" bindchange="onWithdrawAmountInput" /> <t-input label="提现金额" placeholder="请输入提现金额" type="digit" value="{{withdrawAmount}}" bindchange="onWithdrawAmountInput" />
<view class="dialog-tips">单笔 0.1-200 元,每日最多 10 次,单日累计不超过 2000 元;到账至微信零钱,1-3 个工作日内到账</view> <view class="dialog-tips">单笔 0-200 元,每日最多 10 次,单日累计不超过 2000 元;到账至微信零钱,1-3 个工作日内到账</view>
</view> </view>
</t-dialog> </t-dialog>
@@ -302,11 +302,16 @@
box-shadow: 0 2rpx 8rpx rgba(255, 95, 21, 0.1); box-shadow: 0 2rpx 8rpx rgba(255, 95, 21, 0.1);
} }
/* t-dialog 取消按钮 */ /* 提现弹窗按钮:取消=TDesign 组件默认色,确认=品牌橙强调 */
.t-dialog__footer .t-button--outline { .dialog__button-cancel {
color: var(--text-secondary) !important; /* 主题把默认按钮统一染成品牌色,此处还原组件默认文字色 */
border-color: var(--border-level-2) !important; --td-button-default-color: rgba(0, 0, 0, 0.9);
background: var(--bg-card) !important; color: rgba(0, 0, 0, 0.9) !important;
}
.dialog__button-confirm {
color: var(--brand) !important;
font-weight: 600;
} }
/* t-cell分割线 */ /* t-cell分割线 */