From a50a5b3b9a589356da21bfc55700d037e3f6dd27 Mon Sep 17 00:00:00 2001
From: Sanakey <714737083@qq.com>
Date: 星期六, 06 二月 2021 17:32:17 +0800
Subject: [PATCH] 团购相关功能更新

---
 pages/template/goods-item/goods-item-template.wxml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pages/template/goods-item/goods-item-template.wxml b/pages/template/goods-item/goods-item-template.wxml
index da1ccca..37b3822 100644
--- a/pages/template/goods-item/goods-item-template.wxml
+++ b/pages/template/goods-item/goods-item-template.wxml
@@ -4,13 +4,13 @@
       <image class="goods-item-img border-radius" mode="aspectFill" src="{{PhotoPath}}"></image>
       <view class="img-info" wx:if="{{isRestrictQuantity&&Quantity<=0}}">宸叉姠鍏�</view>
       <view class="img-info" wx:elif="{{isStartupPanicBuying&&PanicBuyingEndTimeBalance<=0}}">宸茬粨鏉�</view>
-      
+      <van-tag wx:if="{{isStartupGroupBuying&&GroupBuyingEndTimeBalance>0}}" mark type="danger" class="group-tag">鍥㈣喘涓�</van-tag>
     </view>
-    
+
     <text class="goods-item-title">{{isShowMatCode?ShopMatCode:''}}</text>
     <text class="goods-item-title" wx:if="{{isShowMatName}}">{{MatName}}</text>
     <view class="price">
-      <text class="goods-item-price" wx:if="{{isShowPrice}}">{{CurrencySign}}{{Price}}</text>
+      <text class="goods-item-price" wx:if="{{isShowPrice}}">{{CurrencySign}}{{isStartupGroupBuying?GroupBuyingPrice:Price}}</text>
       <text class="goods-item-costprice" wx:if="{{isShowPrice&&Price&&Price!=SalesPrice&&SalesPrice!=0}}">{{CurrencySign}}{{SalesPrice}}</text>
     </view>
     <!-- <scroll-view wx:if="{{isStartupPanicBuying}}" class="goods-item-info" scroll-x="{{true}}">

--
Gitblit v1.8.0