Pārlūkot izejas kodu

商品详情 优化

zhengjinyi 2 gadi atpakaļ
vecāks
revīzija
33f6575842
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      pages/goods/components/cm-price.vue

+ 2 - 2
pages/goods/components/cm-price.vue

@@ -105,7 +105,7 @@
 							</view>
 						</template>
 					</view>
-					<view class="p-right-price">
+					<view class="p-right-price" v-if="isShowVipFlag(product)">
 						市场价:<text class="none">¥{{ product.normalPrice | NumFormat }}</text> 
 					</view>
 				</view>
@@ -213,7 +213,7 @@
 								</view>
 							</template>
 						</view>
-						<view class="p-right-price">
+						<view class="p-right-price" v-if="isShowVipFlag(product)">
 							市场价:<text class="none">¥{{ product.normalPrice | NumFormat}}</text> 
 						</view>
 					</view>