瀏覽代碼

commit-m 商品列表

zhengjinyi 4 年之前
父節點
當前提交
157382a3c1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      components/cm-module/listTemplate/immediatelyList.vue

+ 3 - 3
components/cm-module/listTemplate/immediatelyList.vue

@@ -48,15 +48,15 @@
 									<view class="list-shop">
 										<view class="list-price">
 											<text class="price-larger" :class="PromotionsFormat(item.promotions) ? 'none' : ''">
-												¥{{ PromotionsFormat(item.promotions) ? (item.originalPrice | NumFormat) : (item.price | NumFormat)}}
+												¥{{ (PromotionsFormat(item.promotions) ? item.originalPrice : item.price) | NumFormat }}
 											</text>
 										</view>
 									</view>
 									<button class="add-cart-btn" @click.stop="operationHanld(item)">数量</button>
 								</template>
 							</view>
-							<view class="list-details-price" v-if="item.actStatus==1">
-								<view class="floor-item-act">
+							<view class="list-details-price">
+								<view class="floor-item-act" v-if="item.actStatus==1">
 									<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
 										{{item.promotions.name}}<text>:¥{{ item.price | NumFormat }}</text>
 									</view>