|
@@ -12,7 +12,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view :style="{'height':scrollViewHeight}">
|
|
<view :style="{'height':scrollViewHeight}">
|
|
|
<scroll-view class="scroll " :style="{'height':scrollViewHeight}" scroll-y>
|
|
<scroll-view class="scroll " :style="{'height':scrollViewHeight}" scroll-y>
|
|
|
- <view class="row-list flex-row justify-start" :class="{'grayscale' : item.discountsPrice>standardPrice }" v-for="(item,index) in countsList" @click="clickCoupons(item,index)" :key="index">
|
|
|
|
|
|
|
+ <view class="row-list flex-row justify-start" :class="{'grayscale' : item.discountsPrice*1 >standardPrice*1 }" v-for="(item,index) in countsList" @click="clickCoupons(item,index)" :key="index">
|
|
|
<view class="h-text flex-col justify-center ">
|
|
<view class="h-text flex-col justify-center ">
|
|
|
<view class="money">
|
|
<view class="money">
|
|
|
<text>¥{{item.discountsPrice}}</text>
|
|
<text>¥{{item.discountsPrice}}</text>
|
|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
|
|
<view class="h-right-content flex-col justify-center">
|
|
<view class="h-right-content flex-col justify-center">
|
|
|
|
|
|
|
|
- <view class="flex-row justify-center" v-if="item.discountsPrice>standardPrice">
|
|
|
|
|
|
|
+ <view class="flex-row justify-center" v-if="item.discountsPrice*1 >standardPrice*1 ">
|
|
|
<view class="h-btn-img">
|
|
<view class="h-btn-img">
|
|
|
<image class="h-btn-img" src="/static/coupon/u2110.png" mode=""></image>
|
|
<image class="h-btn-img" src="/static/coupon/u2110.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
@@ -115,7 +115,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
clickCoupons(item,index){
|
|
clickCoupons(item,index){
|
|
|
|
|
|
|
|
- if (item.discountsPrice > this.standardPrice){
|
|
|
|
|
|
|
+ if (item.discountsPrice*1 > this.standardPrice*1){
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
|