|
@@ -2,7 +2,7 @@
|
|
|
<view class="container clearfix">
|
|
|
<view class="cm-member-top">
|
|
|
<view class="cm-member-head">
|
|
|
- <view class="cm-member-text">
|
|
|
+ <view class="cm-member-text" v-if="isRequest">
|
|
|
<view class="cm-member-h1">
|
|
|
<text v-if="userVip.vipFlag == 0">采美·超级会员</text>
|
|
|
<text v-if="userVip.vipFlag == 1">已开通采美·超级会员</text>
|
|
@@ -66,6 +66,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
StaticUrl: this.$Static,
|
|
|
+ isRequest:false,
|
|
|
isShowBeansModal:false,
|
|
|
payList: [
|
|
|
{ month: '12个月', money: 4800, packageId: 1, text: '400元/月', beans: 480000 },
|
|
@@ -124,7 +125,7 @@ export default {
|
|
|
.then(response => {
|
|
|
let data = response.data
|
|
|
this.userVip = data.vip
|
|
|
- console.log(this.userVip)
|
|
|
+ this.isRequest = true
|
|
|
})
|
|
|
.catch(error => {
|
|
|
this.$util.msg(error.msg, 2000)
|