2 lines
15 KiB
Plaintext
2 lines
15 KiB
Plaintext
<block wx:if="{{ptype==1}}"><view data-event-opts="{{[['tap',[['goTo',['$event']]]]]}}" class="{{['posi-r','cou1','o-h','bf','c6','f22','data-v-6c74b160',cname]}}" style="{{'background:'+(iswdq?'linear-gradient(90deg, #FFF7E4 40%, #FCDBB2 100%)':'')+';'+('color:'+(iswdq?'#75481C':'')+';')}}" bindtap="__e"><view class="cout f-row data-v-6c74b160"><view class="f-g-0 coutl f-c-c mr30 data-v-6c74b160"><view class="wei cf5 data-v-6c74b160" style="{{'color:'+(iswdq?'#75481C':'')+';'}}"><block wx:if="{{co.type==1}}"><block class="data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f48 ml5 data-v-6c74b160">{{$root.m0}}</text></block></block><block wx:else><block wx:if="{{co.type==2}}"><block class="data-v-6c74b160"><text class="f48 data-v-6c74b160">{{$root.m1}}</text><text class="ml5 data-v-6c74b160">折</text></block></block></block></view><view class="data-v-6c74b160">{{fullName}}</view></view><view class="f-g-1 f-y-ad data-v-6c74b160"><view class="wei f30 t-o-e c3 data-v-6c74b160" style="{{'color:'+(iswdq?'#75481C':'')+';'}}">{{(ttype==2?co.couponName:co.name)+''}}</view><view class="f-x-bt data-v-6c74b160"><view class="t-o-e data-v-6c74b160">{{co.useExplain}}</view></view></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="p2 coub c9 data-v-6c74b160" style="{{'background:'+(iswdq?'transparent':'')+';'+('color:'+(iswdq?'#AE884B':'')+';')}}" catchtap="__e"><view class="{{['f-y-c','coubt','data-v-6c74b160',(active)?'active':'']}}"><view class="f-g-1 f-y-c mr10 data-v-6c74b160"><view class="t-o-e data-v-6c74b160">{{co.explain}}</view><text class="{{['iconfont','icondown','ml10','coubjt','f24','data-v-6c74b160',(active)?'jtactive':'']}}" style="{{'color:'+(iswdq?'#AE884B':'')+';'}}"></text></view><button class="coubtn f-c f22 clearbtn data-v-6c74b160" style="{{'background:'+(iswdq?'linear-gradient(90deg, #FBDC9D, #FEB94A)':typeName.c)+';'+('color:'+(iswdq?'#6F3E07':'')+';')}}" disabled="{{disabled}}" data-event-opts="{{[['tap',[['btnClick',['$event']]]]]}}" catchtap="__e">{{typeName.t}}</button></view><view class="{{['coubb','o-h','data-v-6c74b160',(active)?'cactive':'']}}"><view class="{{['coubbv','pt20','data-v-6c74b160',(active)?'show':'']}}"><mg-rtext vue-id="6eefc3b6-1" type="2" content="{{co.details||co.couponDetails}}" class="data-v-6c74b160" bind:__l="__l"></mg-rtext></view></view></view><view class="p-a couqlx cf t-c data-v-6c74b160" style="{{'background:'+(iswdq?'linear-gradient(-45deg, #FBDC9D, #FEB94A)':'')+';'+('color:'+(iswdq?'#6F3E07':'')+';')}}">{{''+qlx+''}}</view></view></block><block wx:else><block wx:if="{{ptype==2}}"><view data-event-opts="{{[['tap',[['goTo',['$event']]]]]}}" class="{{['posi-r','cou1','o-h','bf','c6','f22','cou2','data-v-6c74b160',cname]}}" bindtap="__e"><view class="bf cout f-row data-v-6c74b160"><view class="f-g-0 coutl f-c-c mr30 data-v-6c74b160"><view class="wei cf5 data-v-6c74b160"><block wx:if="{{co.type==1}}"><block class="data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f48 ml5 data-v-6c74b160">{{$root.m2}}</text></block></block><block wx:else><block wx:if="{{co.type==2}}"><block class="data-v-6c74b160"><text class="f48 data-v-6c74b160">{{$root.m3}}</text><text class="ml5 data-v-6c74b160">折</text></block></block></block></view><view class="t-o-e data-v-6c74b160">{{fullName}}</view></view><view class="f-g-1 f-y-ad data-v-6c74b160"><view class="wei f30 t-o-e c3 data-v-6c74b160">{{co.name||co.couponName}}</view><view class="f-x-bt data-v-6c74b160"><view class="t-o-e data-v-6c74b160">{{co.useExplain}}</view></view></view></view></view></block><block wx:else><block wx:if="{{ptype==3}}"><view data-event-opts="{{[['tap',[['goTo',['$event']]]]]}}" class="{{['posi-r','f-row','cou3','b-d','f20','data-v-6c74b160',cname]}}" style="background:#fff;" bindtap="__e"><view class="posi-r p20 f-g-0 cou2l f-c-c data-v-6c74b160"><view class="wei cf5 data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f48 ml5 data-v-6c74b160">{{$root.m4}}</text></view><view class="mt10 data-v-6c74b160">{{fullName}}</view><view class="dot1 b-d bf data-v-6c74b160"></view><view class="dot2 b-d bf data-v-6c74b160"></view></view><view class="p23 f-g-1 f-row data-v-6c74b160"><view class="f-g-1 f-y-bt data-v-6c74b160"><view class="wei f30 t-o-e data-v-6c74b160">{{co.name}}</view><view class="mt20 t-o-e data-v-6c74b160">{{$root.m5}}</view></view><button class="f-g-0 bs10 cou3br f-c cf clearbtn data-v-6c74b160" style="{{'background:'+(typeName.c)+';'}}" disabled="{{disabled}}" data-event-opts="{{[['tap',[['btnClick',['$event']]]]]}}" catchtap="__e">{{''+typeName.t+''}}</button></view></view></block><block wx:else><block wx:if="{{ptype==4}}"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['posi-r','bf','bs20','c6','f22','data-v-6c74b160',cname,[(co.isUse==2)?'ce5':'']]}}" bindtap="__e"><view class="bf cout f-row data-v-6c74b160"><view class="f-g-0 coutl f-c-c mr30 data-v-6c74b160"><view class="{{['wei','cf5','data-v-6c74b160',(co.isUse==2)?'ce5':'']}}"><block wx:if="{{co.type==1}}"><block class="data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f48 ml5 data-v-6c74b160">{{$root.m6}}</text></block></block><block wx:else><block wx:if="{{co.type==2}}"><block class="data-v-6c74b160"><text class="f48 data-v-6c74b160">{{$root.m7}}</text><text class="ml5 data-v-6c74b160">折</text></block></block></block></view><view class="data-v-6c74b160">{{fullName}}</view></view><view class="f-g-1 f-y-ad data-v-6c74b160"><view class="{{['wei','f30','t-o-e','c3','data-v-6c74b160',(co.isUse==2)?'ce5':'']}}">{{co.couponName}}</view><view class="f-x-bt data-v-6c74b160"><view class="t-o-e data-v-6c74b160">{{co.useExplain}}</view></view></view><view class="f-c data-v-6c74b160"><block wx:if="{{co.isUse!=1}}"><radio color="#07C160" checked="{{co.checked}}" class="data-v-6c74b160"></radio></block></view></view><view class="bfc p2 coub c9 data-v-6c74b160"><view class="f-y-c coubt data-v-6c74b160"><view class="t-o-e data-v-6c74b160">{{co.explain}}</view></view></view><view class="p-a couqlx cf t-c data-v-6c74b160">{{qlx}}</view></view></block><block wx:else><block wx:if="{{ptype==5}}"><view class="{{['cou5','p253','p-r','bf','bs20','f24','f-y-c','mb20','data-v-6c74b160',cname]}}"><view class="cou5l mr20 p-r data-v-6c74b160"><mg-img vue-id="6eefc3b6-2" src="/static/yhq/sjyhq.png" class="data-v-6c74b160" bind:__l="__l"></mg-img><view class="p-a t0 wh f-c-c cf lh1 data-v-6c74b160"><view class="data-v-6c74b160"><block wx:if="{{co.type==1||co.type==3}}"><block class="data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f50 ml5 data-v-6c74b160">{{$root.m8}}</text></block></block><block wx:else><block wx:if="{{co.type==2}}"><block class="data-v-6c74b160"><text class="f50 data-v-6c74b160">{{$root.m9}}</text><text class="ml5 data-v-6c74b160">折</text></block></block></block></view></view></view><view class="f-1 f-c-xc mr20 data-v-6c74b160"><view class="f30 c0 t-o-e data-v-6c74b160">{{co.name}}</view><view class="c6 mt10 data-v-6c74b160">{{fullName+","+co.useExplain}}</view></view><view class="f-c-c cou5r data-v-6c74b160"><block wx:if="{{!co.islq}}"><button class="cf cou5lq bs15 f-c clearbtn data-v-6c74b160" disabled="{{disabled}}" data-event-opts="{{[['tap',[['btnClick',['$event']]]]]}}" bindtap="__e">领
|
||
取</button></block><block wx:else><image class="p-a cou5ylq data-v-6c74b160" src="/static/yhq/lyq.png"></image></block></view></view></block><block wx:else><block wx:if="{{ptype==6}}"><view data-event-opts="{{[['tap',[['goTo',['$event']]]]]}}" class="{{['posi-r','f-row','cou3','b-d','f20','data-v-6c74b160',cname]}}" bindtap="__e"><view class="posi-r p20 f-g-0 cou2l f-c-c data-v-6c74b160"><view class="wei cf5 data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f48 ml5 data-v-6c74b160">{{$root.m10}}</text></view><view class="mt10 data-v-6c74b160">{{fullName}}</view><view class="dot1 b-d bf data-v-6c74b160"></view><view class="dot2 b-d bf data-v-6c74b160"></view></view><view class="p23 f-g-1 f-row data-v-6c74b160"><view class="f-g-1 f-y-bt data-v-6c74b160"><view class="wei f30 t-o-e data-v-6c74b160">{{co.name}}</view><view class="mt20 t-o-e data-v-6c74b160">{{$root.m11}}</view></view><view class="f-y-c f-g-0 ml30 data-v-6c74b160"><button class="bs10 f-c cf clearbtn cou6 f24 data-v-6c74b160" style="{{'background:'+(typeName.c)+';'}}" disabled="{{disabled}}">{{''+typeName.t+''}}</button></view></view></view></block><block wx:else><block wx:if="{{ptype==7}}"><view class="{{['posi-r','bf','bs20','c6','f22','data-v-6c74b160',cname]}}" gttype="1"><view class="bf cout data-v-6c74b160"><view class="f-bt f-y-c lh1 data-v-6c74b160"><view class="cef data-v-6c74b160"><text class="f36 ml5 data-v-6c74b160">{{co.name}}</text></view><view class="wei f66 cef data-v-6c74b160"><text class="f34 data-v-6c74b160">¥</text>{{co.money}}</view></view><view class="f-bt f28 c6 data-v-6c74b160"><view class="data-v-6c74b160">{{co.endAt+"后过期"}}</view><view class="data-v-6c74b160">{{fullName}}</view></view></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="bfc p3 coub c9 gfbg data-v-6c74b160" catchtap="__e"><view class="{{['f-y-c','coubt','data-v-6c74b160',(active)?'active':'']}}"><view class="f-g-1 t-o-e cb data-v-6c74b160">{{fullName+','+$root.m12+','+sycjName}}</view><text class="{{['iconfont','icondown','ml10','coubjt','data-v-6c74b160',(active)?'jtactive':'']}}"></text></view><view class="{{['coubb','o-h','data-v-6c74b160',(active)?'cactive':'']}}"><view class="{{['coubbv','pt20','data-v-6c74b160',(active)?'show':'']}}"><block wx:if="{{co.introduce}}"><mg-rtext vue-id="6eefc3b6-3" type="2" content="{{co.introduce}}" class="data-v-6c74b160" bind:__l="__l"></mg-rtext></block></view></view></view></view></block><block wx:else><block wx:if="{{ptype==8}}"><view data-event-opts="{{[['tap',[['goTo',['$event']]]]]}}" class="{{['cou5','cou8','p253','p-r','bf','bs20','f24','f-y-c','mb20','data-v-6c74b160',cname]}}" bindtap="__e"><view class="cou5l mr20 p-r data-v-6c74b160"><mg-img vue-id="6eefc3b6-4" src="/static/yhq/qb.png" class="data-v-6c74b160" bind:__l="__l"></mg-img><view class="p-a t0 wh f-c-c cf lh1 data-v-6c74b160"><view class="data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f50 ml5 mr10 data-v-6c74b160">{{$root.m13}}</text></view><view class="f22 mt5 data-v-6c74b160">代金券</view></view></view><view class="cou8m f-1 f-c-xc data-v-6c74b160"><view class="f-y-c data-v-6c74b160"><view class="cou8zs bs10 f20 mr20 data-v-6c74b160">{{co.couponNum+"张"}}</view><view class="c0 f30 f-1 t-o-e data-v-6c74b160">{{co.name}}</view></view><view class="c9 mt10 f22 data-v-6c74b160"><text class="cqb f24 data-v-6c74b160">{{sl}}</text><text class="cqb f32 data-v-6c74b160">{{$root.m14}}</text><text class="t-d-l data-v-6c74b160">{{sl+$root.m15}}</text><text class="qbzkc ml10 data-v-6c74b160">{{$root.m16+"折"}}</text></view></view><view class="f-c-c cou5r data-v-6c74b160"><block wx:if="{{!co.islq}}"><button class="cf cou5lq bs15 f-c clearbtn data-v-6c74b160" disabled="{{disabled}}">去抢购</button></block><block wx:else><image class="p-a cou5ylq data-v-6c74b160" src="/static/yhq/lyq.png"></image></block></view></view></block><block wx:else><block wx:if="{{ptype==9}}"><view data-event-opts="{{[['tap',[['go',[['o',['url','/yb_o2o/order/coupon-bag/qbxq?id='+co.id]]]]]]]}}" class="{{['p-r','bs20','c6','f24','cou9','data-v-6c74b160',cname]}}" bindtap="__e"><view class="qbyhq p-a data-v-6c74b160"><image class="wh data-v-6c74b160" src="/static/yhq/qbyhq.png"></image></view><view class="p-r cou9bd data-v-6c74b160"><view class="cout f-y-c data-v-6c74b160"><view class="f-g-0 cou9tl mr30 bs10 data-v-6c74b160"><mg-img vue-id="6eefc3b6-5" src="{{co.icon}}" class="data-v-6c74b160" bind:__l="__l"></mg-img></view><view class="f-1 f-y-bt data-v-6c74b160"><view class="wei f30 t-o-e2 c3 data-v-6c74b160">{{co.name}}</view><view class="data-v-6c74b160"><text class="t-o-e cff0 data-v-6c74b160">{{sl}}<text class="f36 wei data-v-6c74b160">{{co.money}}</text></text><text class="t-o-e ml10 t-d-l cb data-v-6c74b160">{{''+sl+co.originalPrice}}</text></view></view><view class="ml30 f-c-c data-v-6c74b160"><view class="qqg cf f26 f-c data-v-6c74b160" style="{{'background:'+(qbbl<1?'':'#ddd')+';'}}">{{qbbl<1?'抢购':'已抢完'}}</view><view class="f-y-c mt20 data-v-6c74b160"><view class="jdt p-r o-h data-v-6c74b160"><view class="h100 p-a t0 jd data-v-6c74b160" style="{{'width:'+(qbbl*100+'%')+';'+('background:'+(qbbl<1?'':'#ddd')+';')}}"></view></view><view class="cff0 ml10 data-v-6c74b160" style="{{'color:'+(qbbl<1?'':'#ddd')+';'}}">{{$root.m17+"%"}}</view></view></view></view><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="p3 bf cou9b data-v-6c74b160" catchtap="__e"><view class="{{['f-y-c','coubt','data-v-6c74b160',(active)?'active':'']}}"><view class="dpimg bsf mr15 data-v-6c74b160"><mg-img vue-id="6eefc3b6-6" src="{{co.logo}}" class="data-v-6c74b160" bind:__l="__l"></mg-img></view><view class="f-1 t-o-e data-v-6c74b160">{{co.storeName}}</view><text class="data-v-6c74b160">使用规则</text><text class="{{['iconfont','icondown','ml10','coubjt','data-v-6c74b160',(active)?'jtactive':'']}}"></text></view><view class="{{['coubb','o-h','data-v-6c74b160',(active)?'cactive':'']}}"><view class="{{['coubbv','pt20','data-v-6c74b160',(active)?'show':'']}}"><block wx:if="{{co.notice}}"><mg-rtext vue-id="6eefc3b6-7" type="2" content="{{co.notice}}" class="data-v-6c74b160" bind:__l="__l"></mg-rtext></block></view></view></view></view></view></block><block wx:else><block wx:if="{{ptype==10}}"><view data-event-opts="{{[['tap',[['goTo',['$event']]]]]}}" class="{{['p-r','bf','bs20','c6','f22','cou10','data-v-6c74b160',cname]}}" bindtap="__e"><view class="bf cout f-y-c data-v-6c74b160"><view class="f-g-0 coutl f-c-c mr30 data-v-6c74b160"><view class="wei cf5 data-v-6c74b160"><text class="data-v-6c74b160">{{sl}}</text><text class="f48 ml5 data-v-6c74b160">{{$root.m18}}</text></view><view class="mt20 data-v-6c74b160">{{fullName}}</view></view><view class="f-g-1 f-y-bt data-v-6c74b160"><view class="wei f30 t-o-e c3 data-v-6c74b160">{{co.name}}</view><view class="mt20 w70 t-o-e data-v-6c74b160">{{$root.m19}}</view><view class="t-o-e data-v-6c74b160">{{dateText}}</view></view><text class="iconfont iconright ml10 c3 data-v-6c74b160"></text></view><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="bfc p23 coub c9 data-v-6c74b160" catchtap="__e"><view class="{{['f-y-c','coubt','data-v-6c74b160',(active)?'active':'']}}"><view class="f-g-1 t-o-e data-v-6c74b160">{{fullName+','+$root.m20+','+sycjName}}</view><text class="{{['iconfont','icondown','ml10','coubjt','data-v-6c74b160',(active)?'jtactive':'']}}"></text></view><view class="{{['coubb','o-h','data-v-6c74b160',(active)?'cactive':'']}}"><view class="{{['coubbv','pt20','data-v-6c74b160',(active)?'show':'']}}"><block wx:if="{{co.introduce}}"><mg-rtext vue-id="6eefc3b6-8" type="2" content="{{co.introduce}}" class="data-v-6c74b160" bind:__l="__l"></mg-rtext></block></view></view></view><view class="p-a ybk data-v-6c74b160"></view><view class="p-a num cf t-c data-v-6c74b160">{{"x"+co.number+" 张"}}</view></view></block></block></block></block></block></block></block></block></block></block> |