优惠券单位修改

master
chen 2022-06-08 13:59:00 +08:00
parent cafbb71323
commit af42dc8ade
20 changed files with 24 additions and 22 deletions

View File

@ -14,7 +14,7 @@
<image v-if="item.statusNum!=0 && item.statusNum!=2" class="posia quan-img" src="/static/public/quan-left-two.png" mode=""></image>
<image v-else class="posia quan-img" src="/static/public/quan-left.png" mode=""></image>
<view class="posir disjcac fc" style="z-index: 1;">
<view class="fon28 mar-s20 mar-x36"><span v-if="item.type == 'taste'">¥</span><span class="bold" style="font-size: 56rpx;">{{item.num}}</span><span v-if="item.type == 'discount'"></span></view>
<view class="fon28 mar-s20 mar-x36"><span class="bold" style="font-size: 56rpx;">{{item.num}}</span><span v-if="item.unit">{{item.unit}}</span></view>
<view v-if="item.statusNum==0 || item.statusNum==2" @tap="useEv(index)" class="fon24 quan-btn">{{item.statusNum==2?'':'使'}}</view>
</view>
</view>
@ -127,7 +127,8 @@
isTiyan:leix,
isZhek:false,
statusNum:index,
type:item.type
type:item.type,
unit:item.unit
}
this.dataList.push(obj);//
this.zcList.push(obj);//

View File

@ -14,7 +14,7 @@
<image v-if="item.get" class="posia quan-img" src="/static/public/quan-left-two.png" mode=""></image>
<image v-else class="posia quan-img" src="/static/public/quan-left.png" mode=""></image>
<view class="posir disjcac fc" style="z-index: 1;">
<view class="fon28 mar-s20 mar-x36"><span v-if="item.type == 'taste'">¥</span><span class="bold" style="font-size: 56rpx;">{{item.num}}</span><span v-if="item.type == 'discount'"></span></view>
<view class="fon28 mar-s20 mar-x36"><span class="bold" style="font-size: 56rpx;">{{item.num}}</span><span v-if="item.unit">{{item.unit}}</span></view>
<view @tap="useEv(item.id)" class="fon24 quan-btn" :style="{color: item.get ? '#b3b3b3' : '#3875F6'}">{{['立即领取','已领取'][item.get]}}</view>
</view>
</view>
@ -126,7 +126,8 @@
startTime:item.begin_at.slice(0,10),
endTime:item.end_at.slice(0,10),
get:item.get,
type:item.type
type:item.type,
unit:item.unit
}
this.dataList.push(obj);//
this.zcList.push(obj);//

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long