oil-station/gasStation-uni/unpackage/dist/dev/mp-weixin/pagesHome/Activity/index.wxml

1 line
2.4 KiB
Plaintext
Raw Normal View History

2024-09-18 17:24:51 +08:00
<view class="content data-v-0492d568"><view class="container data-v-0492d568"><view class="my-header data-v-0492d568"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="my-icons data-v-0492d568" bindtap="__e"><uni-icons vue-id="8dc6d58c-1" type="left" size="16" class="data-v-0492d568" bind:__l="__l"></uni-icons></view><view class="my-text data-v-0492d568">本站活动</view><view class="my-icons data-v-0492d568"></view></view><view class="mub data-v-0492d568"><block wx:for="{{activityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="mub-box data-v-0492d568"><block wx:if="{{index!=0}}"><view class="right-box data-v-0492d568">最新活动</view></block><block wx:if="{{index==0}}"><view class="right-box data-v-0492d568">最新活动</view></block><view data-event-opts="{{[['tap',[['intoOtherPage',['$0','$1'],[[['activityList','',index,'name']],[['activityList','',index,'type']]]]]]]}}" class="box-img data-v-0492d568" bindtap="__e"><block wx:if="{{item.name=='消费有礼活动'}}"><image src="../../static/imgs/xfyl.png" class="data-v-0492d568"></image></block><block wx:if="{{item.name=='折扣营销活动'}}"><image src="../../static/imgs/zkyx.png" class="data-v-0492d568"></image></block><block wx:if="{{item.name=='满减营销活动'}}"><image src="../../static/imgs/mjyh.png" class="data-v-0492d568"></image></block><block wx:if="{{item.name=='新人有礼活动'}}"><image src="../../static/imgs/xryl.png" class="data-v-0492d568"></image></block><block wx:if="{{item.name=='推荐有礼活动'}}"><image src="../../static/imgs/yqyl.png" class="data-v-0492d568"></image></block><block wx:if="{{item.name=='储值卡充值活动'}}"><image src="../../static/imgs/chongzhi.png" class="data-v-0492d568"></image></block><block wx:if="{{item.name=='囤油卡充值活动'}}"><image src="../../static/imgs/oilCard.png" class="data-v-0492d568"></image></block></view><view class="box-size data-v-0492d568"><view class="box-s-title data-v-0492d568">{{item.name||"活动标题"}}</view><view class="box-s-size data-v-0492d568">{{item.discountActiveDescribe||"内容"}}</view></view><view class="box-bottom data-v-0492d568"><view class="data-v-0492d568">活动时间</view><view class="data-v-0492d568">{{item.time||''}}</view></view></view></block></view><block wx:if="{{$root.g0==0}}"><u-empty vue-id="8dc6d58c-2" mode="data" text="暂未设置,请敬请期待" class="data-v-0492d568" bind:__l="__l"></u-empty></block></view></view>