shish il y a 3 ans
Parent
commit
6de6b87593
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 3 - 1
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -7,7 +7,9 @@
 				<view class="shop_info">
 				<view class="shop_info">
 					<view class="shop_title" @click="pageTo({url:'/pagesPurchase/level?id='+ghsInfo.id})">
 					<view class="shop_title" @click="pageTo({url:'/pagesPurchase/level?id='+ghsInfo.id})">
 						{{ghsInfo.name}}
 						{{ghsInfo.name}}
-						<text class="level" v-if="ghsInfo.giveLevel && ghsInfo.giveLevel == 2">超级会员</text>
+						<block v-if="ghsInfo.name && ghsInfo.name.length <= 12">
+							<text class="level" v-if="ghsInfo.giveLevel && ghsInfo.giveLevel == 2">超级会员</text>
+						</block>
 					</view>
 					</view>
 				</view>
 				</view>
 			</view>
 			</view>