张文飞 3 éve
szülő
commit
9f3bb498b6
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      pages/homePage/homePage.vue

+ 2 - 2
pages/homePage/homePage.vue

@@ -13,7 +13,7 @@
 							<image class="level_icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_Level.png" mode="">
 							</image>
 							<view class="level_text">{{userInfo.curlevel?'Lv'+userInfo.curlevel:''}}</view>
-							<view class="level_des" v-if="(userInfo.curIncome&&userInfo.nextIncome&&userInfo.curIncome==userInfo.nextIncome)">/当前已达到最高等级</view>
+							<view class="level_des" v-if="!userInfo.nextIncome">/当前已达到最高等级</view>
 							<view class="level_des" v-else>/达到 {{userInfo.nextIncome}} 收益可升级</view>
 							<view class="level_update">
 								<text>升级攻略</text>
@@ -47,7 +47,7 @@
 					</view>
 					<view class="" v-if="userInfo.userId">
 						<view class="level_bottom" v-if="userInfo.ownersUnion">
-							<levelView :currentLevel='userInfo.curIncome' :nextLevel='userInfo.nextIncome' :currentLevelTxt='userInfo.curlevel' :nextLevelTxt='userInfo.nextLevel'>
+							<levelView :currentLevel='userInfo.curIncome' :nextLevel='userInfo.nextIncome?userInfo.nextIncome:userInfo.curIncome' :currentLevelTxt='userInfo.curlevel' :nextLevelTxt='userInfo.nextIncome?userInfo.nextLevel:userInfo.curlevel'>
 							</levelView>
 						</view>
 						<view class="level_bottom_login" v-else >