优惠券单位修改
parent
cafbb71323
commit
af42dc8ade
|
@ -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-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>
|
<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="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 v-if="item.statusNum==0 || item.statusNum==2" @tap="useEv(index)" class="fon24 quan-btn">{{item.statusNum==2?'立即领取':'立即使用'}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -127,7 +127,8 @@
|
||||||
isTiyan:leix,
|
isTiyan:leix,
|
||||||
isZhek:false,
|
isZhek:false,
|
||||||
statusNum:index,
|
statusNum:index,
|
||||||
type:item.type
|
type:item.type,
|
||||||
|
unit:item.unit
|
||||||
}
|
}
|
||||||
this.dataList.push(obj);//渲染的列表
|
this.dataList.push(obj);//渲染的列表
|
||||||
this.zcList.push(obj);//暂存的列表
|
this.zcList.push(obj);//暂存的列表
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<image v-if="item.get" class="posia quan-img" src="/static/public/quan-left-two.png" mode=""></image>
|
<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>
|
<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="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 @tap="useEv(item.id)" class="fon24 quan-btn" :style="{color: item.get ? '#b3b3b3' : '#3875F6'}">{{['立即领取','已领取'][item.get]}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -126,7 +126,8 @@
|
||||||
startTime:item.begin_at.slice(0,10),
|
startTime:item.begin_at.slice(0,10),
|
||||||
endTime:item.end_at.slice(0,10),
|
endTime:item.end_at.slice(0,10),
|
||||||
get:item.get,
|
get:item.get,
|
||||||
type:item.type
|
type:item.type,
|
||||||
|
unit:item.unit
|
||||||
}
|
}
|
||||||
this.dataList.push(obj);//渲染的列表
|
this.dataList.push(obj);//渲染的列表
|
||||||
this.zcList.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
Loading…
Reference in New Issue