From 04102f7237efefa744090ed7c25f7b5d0807b679 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 18:11:57 +0800
Subject: [PATCH] 完成运营中心提现和运营中心权限管理
---
mobile/pages/plus/vip/index.vue | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/mobile/pages/plus/vip/index.vue b/mobile/pages/plus/vip/index.vue
index 4b536ff..ca1be1e 100644
--- a/mobile/pages/plus/vip/index.vue
+++ b/mobile/pages/plus/vip/index.vue
@@ -17,7 +17,7 @@
<!--金额信息-->
<view class="vip-wrap pr m-0-20" style="margin-top: 300rpx;">
<view class="d-b-c border-b pb30 f28 lh150 user-info">
- <view class="d-b-c">
+ <view class="d-b-c" style="max-width: 70%;">
<view class="photo">
<image :src="user.avatarUrl" mode="aspectFill"></image>
</view>
@@ -74,7 +74,7 @@
</view>
<text class="pt10 f26 mt20">{{ info_words.order.title.value }}</text>
</view>
- <view class="d-c-c d-c flex-1" @click="gotoPage('/pages/plus/vip/team')">
+ <view class="d-c-c d-c flex-1" @click="gotoPage('/pages/agent/team/team')">
<view>
<image class="vip_index_img" src="../../../static/icon/icon-tuandui.png" mode=""></image>
</view>
@@ -91,18 +91,12 @@
<!--不是VIP用户-->
<template v-if="!is_vip && isData">
<view class="no-vip">
- <view class="mt50 p-0-20 pt30 red f34 tc">{{ info_words.index.words.not_vip.value }}</view>
+ <view class="mt50 p-0-20 pt30 red f34 tc">{{ info_words.index.words.vip_user.value }}</view>
<view class="p30 f28">
- 您需要购买指定商品才能成为VIP用户,赶紧到商城看看吧!
+ {{ info_words.index.words.not_vip.value }}
</view>
<view class="p30 mt30">
- <button type="primary" class="btn-gcred" @click="gotoShop">{{ info_words.apply.words.goto_mall.value }}</button>
- </view>
- <view class="p30 mt30" v-if="has_apply">
- <button type="primary" class="btn-gray" @click="checkApplyStatus">查看申请状态</button>
- </view>
- <view class="p30 mt30" v-else>
- <button type="primary" class="btn-gcred" @click="applyVip">申请成为VIP</button>
+ <button type="primary" class="btn-gcred" @click="applyVip">{{ info_words.index.words.apply_now.value }}</button>
</view>
</view>
</template>
@@ -130,6 +124,7 @@
words: {},
user: {},
titel: '',
+ vip_url:'',
has_apply: false // 是否已申请
};
},
@@ -160,6 +155,7 @@
self.top_background = data.data.background;
self.vip = data.data.vip;
self.user = data.data.user;
+ self.vip_url = data.data.vip_url;
self.isData = true;
self.loadding = false;
uni.hideLoading();
@@ -179,7 +175,8 @@
/*申请成为VIP*/
applyVip() {
- this.gotoPage('/pages/plus/vip/apply');
+ let vip_url=this.vip_url?this.vip_url:'/pages/plus/vip/apply'
+ this.gotoPage(vip_url);
},
/*查看申请状态*/
--
Gitblit v1.9.2