|
@@ -8,7 +8,7 @@
|
|
|
<view class="subTitle" @click="setEnv">新手赚钱帮助 ></view>
|
|
|
<view class="levelDiv"
|
|
|
style="background: url('https://dm.static.elab-plus.com/yezhu/h5/icon_line_back.png') center/100% 100% no-repeat;">
|
|
|
- <view class="level_top" v-if="token">
|
|
|
+ <view class="level_top" v-if="userInfo.userId">
|
|
|
<image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode="">
|
|
|
</image>
|
|
|
<view class="level_text">{{userInfo.curlevel}}</view>
|
|
@@ -30,7 +30,7 @@
|
|
|
src="https://dm.static.elab-plus.com/yezhu/h5/icon_right.png" mode=""></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="level_bottom" v-if="token">
|
|
|
+ <view class="level_bottom" v-if="userInfo.userId">
|
|
|
<levelView :currentLevel='userInfo.curIncome' :nextLevel='userInfo.nextIncome' :currentLevelTxt='userInfo.curlevel' :nextLevelTxt='userInfo.nextLevel'>
|
|
|
</levelView>
|
|
|
</view>
|
|
@@ -214,12 +214,8 @@
|
|
|
},
|
|
|
mounted() {
|
|
|
this.color4 = app.globalData.color4;
|
|
|
- let token = this.$cache.get('_token_owner_union');
|
|
|
- this.token = token;
|
|
|
this.getData();
|
|
|
uni.$on("request",()=>{
|
|
|
- let token2 = this.$cache.get('_token_owner_union');
|
|
|
- this.token = token2;
|
|
|
this.getData();
|
|
|
})
|
|
|
},
|