Procházet zdrojové kódy

优化售罄 文案显示

zhengjinyi před 5 roky
rodič
revize
d270b2aef6

+ 1 - 1
components/cm-module/productDetails/cm-attributes.vue

@@ -16,7 +16,7 @@
 				<view class="info-viewL tui-skeleton-fillet">品牌:<text>{{product.brandName == null? '其他' : product.brandName}}</text></view>
 				<view class="info-viewR tui-skeleton-fillet">包装规格:<text>{{product.unit}}</text></view>		
 			</view>
-			<view class="info-viewT" v-if="product.productCode!=''&&product.productCode!=null">
+			<view class="info-viewT" :class="goodsData.isNoneDisabled ? 'none' : ''" v-if="product.productCode!=''&&product.productCode!=null">
 				<view class="info-viewL tui-skeleton-fillet">商品编码:<text>{{product.productCode}}</text></view>
 			</view>
 		</view>