提现最小金额限制

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,
withdrawAmount: '',
withdrawName: '',
cancelBtnStyle: 'color: #ff0000; border-color: #ff0000; background-color: #fff;',
// 提现规则:默认折叠,仅展示核心摘要
rulesExpanded: false,
briefRules: ['单笔 0.1-200 元', '每日限 10 次', '单日限额 2000 元', '1-3 个工作日到账'],
briefRules: ['单笔 0-200 元', '每日限 10 次', '单日限额 2000 元', '1-3 个工作日到账'],
ruleList: [
{ title: '单笔额度', desc: '单笔最低 0.1 元,最高 200 元,以「可提现余额」为准' },
{ title: '单笔额度', desc: '单笔 0-200 元,以「可提现余额」为准' },
{ title: '提现次数', desc: '每个自然日最多可发起 10 次提现申请' },
{ title: '单日限额', desc: '同一自然日累计提现金额不超过 2000 元,超出请次日再试' },
{ title: '到账方式', desc: '转账至本人微信零钱,需填写与微信实名一致的姓名' },
@@ -87,10 +87,10 @@
</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">
<t-input label="真实姓名" placeholder="请输入姓名" value="{{withdrawName}}" bindchange="onWithdrawNameInput" />
<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>
</t-dialog>
@@ -302,11 +302,16 @@
box-shadow: 0 2rpx 8rpx rgba(255, 95, 21, 0.1);
}
/* t-dialog 取消按钮 */
.t-dialog__footer .t-button--outline {
color: var(--text-secondary) !important;
border-color: var(--border-level-2) !important;
background: var(--bg-card) !important;
/* 提现弹窗按钮:取消=TDesign 组件默认色,确认=品牌橙强调 */
.dialog__button-cancel {
/* 主题把默认按钮统一染成品牌色,此处还原组件默认文字色 */
--td-button-default-color: rgba(0, 0, 0, 0.9);
color: rgba(0, 0, 0, 0.9) !important;
}
.dialog__button-confirm {
color: var(--brand) !important;
font-weight: 600;
}
/* t-cell分割线 */