f
This commit is contained in:
@@ -56,9 +56,14 @@
|
||||
<!-- 右侧资产信息(仅代理显示) -->
|
||||
<div v-if="isAgent" class="text-right">
|
||||
<div class="text-sm mb-1" style="color: var(--van-text-color-2);">余额</div>
|
||||
<div class="text-2xl font-bold" style="color: var(--van-theme-primary);">
|
||||
<div class="text-2xl font-bold"
|
||||
:style="(revenueData?.balance || 0) < 0 ? 'color: #ef4444;' : 'color: var(--van-theme-primary);'">
|
||||
¥ {{ (revenueData?.balance || 0).toFixed(2) }}
|
||||
</div>
|
||||
<!-- 负数余额提示 -->
|
||||
<div v-if="(revenueData?.balance || 0) < 0" class="text-xs mt-1" style="color: #ef4444;">
|
||||
账户存在欠款,需补足后才能提现
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 下半部分:资产详情和操作按钮(仅代理显示) -->
|
||||
@@ -217,6 +222,12 @@
|
||||
<img src="@/assets/images/me/tx.svg" class="w-8 h-8 object-contain" alt="提现" />
|
||||
<span class="text-xs text-gray-700 font-medium text-center">提现</span>
|
||||
</button> -->
|
||||
<button
|
||||
class="flex flex-col items-center justify-center gap-2 py-4 rounded-lg hover:bg-purple-50 transition-colors"
|
||||
@click="toAgentSystemGuide">
|
||||
<img src="@/assets/images/me/yhxy.svg" class="w-8 h-8 object-contain" alt="代理系统指南" />
|
||||
<span class="text-xs text-gray-700 font-medium text-center">代理系统指南</span>
|
||||
</button>
|
||||
<!-- 推广查询记录 -->
|
||||
<button v-if="isAgent"
|
||||
class="flex flex-col items-center justify-center gap-2 py-4 rounded-lg hover:bg-blue-50 transition-colors"
|
||||
@@ -395,6 +406,9 @@ const toAgentReport = () => {
|
||||
const toWithdraw = () => {
|
||||
router.push({ name: "withdraw" });
|
||||
};
|
||||
const toAgentSystemGuide = () => {
|
||||
router.push({ name: "agentSystemGuide" });
|
||||
};
|
||||
|
||||
const toWithdrawDetails = () => {
|
||||
router.push({ name: "withdrawDetails" });
|
||||
|
||||
Reference in New Issue
Block a user