feat: 完整支付配套——CoinLedger流水模型+充值/消费/退款全链写流水+管理后台订单/余额/退款/调整/统计页+用户明细页+余额卡明细入口

This commit is contained in:
2026-09-14 12:26:41 +08:00
parent 968396bed5
commit f13309e6cd
11 changed files with 497 additions and 36 deletions
+9 -2
View File
@@ -51,8 +51,9 @@
</view>
<text class="free-left">今日免费问答剩余 {{ freeRemaining }} 次</text>
</view>
<view class="recharge-go" @click="goRecharge">
<text>充值</text>
<view class="balance-actions">
<view class="recharge-go" @click="goRecharge"><text>充值</text></view>
<view class="recharge-go outline" @click="goLedger"><text>明细</text></view>
</view>
</view>
@@ -238,6 +239,7 @@ async function handleLogout() {
function goLogin() { uni.navigateTo({ url: '/pages/login/login' }) }
function goHome() { uni.switchTab({ url: '/pages/index/index' }) }
function goLedger() { uni.navigateTo({ url: '/pages/vpay/ledger' }) }
function goRecharge() { uni.navigateTo({ url: '/pages/vpay/recharge' }) }
function goChat() { uni.switchTab({ url: '/pages/chat/chat' }) }
function goFavorites() { uni.navigateTo({ url: '/pages/favorites/favorites' }) }
@@ -646,3 +648,8 @@ onShareTimeline(() => ({
.stats-hint { text-align: center; padding: 4px 0 8px; }
.stats-hint text { font-size: 11px; color: var(--text-muted); }
</style>
<style scoped>
.balance-actions { display: flex; gap: 8px; }
.recharge-go.outline { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
</style>