|
|
@@ -380,45 +380,22 @@
|
|
|
<view class="text-group_7 flex-col justify-between" @click="enterShop(ghsInfo)">
|
|
|
<text class="text_8">{{ghsInfo.name}}</text>
|
|
|
<text class="text_9">
|
|
|
+
|
|
|
<block v-if="ghsInfo.cutStyle && ghsInfo.cutStyle == 1">
|
|
|
- <block v-if="ghsInfo.meetNum == 1 || ghsInfo.meetAmount == 1">
|
|
|
- <block v-if="ghsInfo.meetNum && ghsInfo.meetNum>0 && ghsInfo.cutAmount>0">
|
|
|
- <text style="color:red;font-weight:bold;">
|
|
|
- 全场{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount*100).toString().replace(/0/g,''):0}}折
|
|
|
- </text>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <text v-if="ghsInfo.meetAmount && ghsInfo.meetAmount>0 && ghsInfo.cutAmount>0" style="color:red;font-weight:bold;">
|
|
|
- 全场{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount*100).toString().replace(/0/g,''):0}}折
|
|
|
- </text>
|
|
|
- </block>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <block v-if="ghsInfo.meetNum && ghsInfo.meetNum>0 && ghsInfo.cutAmount>0">
|
|
|
- <text style="color:red;font-weight:bold;">
|
|
|
- 满{{ghsInfo.meetNum?ghsInfo.meetNum:0}}扎{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount*100).toString().replace(/0/g,''):0}}折
|
|
|
- </text>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <text v-if="ghsInfo.meetAmount && ghsInfo.meetAmount>0 && ghsInfo.cutAmount>0" style="color:red;font-weight:bold;">
|
|
|
- 满{{ghsInfo.meetAmount?ghsInfo.meetAmount:0}}元{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount*100).toString().replace(/0/g,''):0}}折
|
|
|
- </text>
|
|
|
- </block>
|
|
|
+ <block v-if="ghsInfo.meetNum>0 || ghsInfo.meetAmount>0">
|
|
|
+ <text style="color:red;font-weight:bold;" v-if="ghsInfo.cutAmount>0">
|
|
|
+ 满<text v-if="ghsInfo.meetNum>0">{{ghsInfo.meetNum?ghsInfo.meetNum:0}}扎</text><text v-if="ghsInfo.meetAmount>0">{{ghsInfo.meetAmount?ghsInfo.meetAmount:0}}元</text>{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount*100).toString().replace(/0/g,''):0}}折
|
|
|
+ </text>
|
|
|
</block>
|
|
|
-
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
- <block v-if="ghsInfo.meetNum && ghsInfo.meetNum>0 && ghsInfo.cutAmount>0">
|
|
|
- <text style="color:red;font-weight:bold;">
|
|
|
- 满{{ghsInfo.meetNum?ghsInfo.meetNum:0}}扎优惠{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount):0}}元
|
|
|
- </text>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <text v-if="ghsInfo.meetAmount && ghsInfo.meetAmount>0 && ghsInfo.cutAmount>0" style="color:red;font-weight:bold;">
|
|
|
- 满{{ghsInfo.meetAmount?ghsInfo.meetAmount:0}}元优惠{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount):0}}元
|
|
|
+ <block v-if="ghsInfo.meetNum>0 || ghsInfo.meetAmount>0">
|
|
|
+ <text style="color:red;font-weight:bold;" v-if="ghsInfo.cutAmount>0">
|
|
|
+ 满<text v-if="ghsInfo.meetNum>0">{{ghsInfo.meetNum?ghsInfo.meetNum:0}}扎</text><text v-if="ghsInfo.meetAmount>0">{{ghsInfo.meetAmount?ghsInfo.meetAmount:0}}元</text>优惠{{ghsInfo.cutAmount?parseFloat(ghsInfo.cutAmount):0}}元
|
|
|
</text>
|
|
|
</block>
|
|
|
</block>
|
|
|
+
|
|
|
</text>
|
|
|
</view>
|
|
|
</view>
|