Explorar o código

commit-m 商品列表

zhengjinyi %!s(int64=4) %!d(string=hai) anos
pai
achega
157382a3c1
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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>