1 |
- <view class="container"><u-tabs vue-id="5c354a4f-1" list="{{list}}" is-scroll="{{false}}" current="{{current}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l"></u-tabs><view style="width:100vw;height:auto;background-color:#f6f6f6;"><view style="width:100%;height:100%;"><block wx:for="{{serviceList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.order_pack}}" wx:for-item="itm" wx:for-index="idx" wx:key="idx"><view class="card flex justify-center"><view class="taocan" data-id="{{item.id}}" data-event-opts="{{[['tap',[['details',['$0'],[[['serviceList','',index,'order_pack.'+idx+'']]]]]]]}}" bindtap="__e"><view class="tc_left"><text>{{itm.pack_name}}</text></view><view class="tc_right"><view style="width:100%;"><view class="text">{{itm.pack_intro}}</view><view class="text"><text style="text-align:left;">{{"时长:"+itm.effective_days+"天"}}</text><text style="float:right;color:#FF4F61;font-weight:bold;">{{"¥"+itm.pack_price/100}}</text></view></view><view class="margin-top-xs">剩余时长:<block wx:if="{{current!=1}}"><u-count-down vue-id="{{'5c354a4f-2-'+index+'-'+idx}}" color="#EEAA3F" separator="zh" timestamp="{{itm.end_time-miao}}" bind:__l="__l"></u-count-down></block><block wx:else><text>已结束</text></block></view></view></view></view></block></view></block></view></view><u-empty vue-id="5c354a4f-3" text="暂无数据" show="{{show}}" mode="order" margin-top="250" bind:__l="__l"></u-empty><view class="cu-tabbar-height"></view><view class="cu-tabbar-height"></view></view>
|