my-service.wxml
1.7 KB
<view class="page data-v-370d2899" style="{{(vuex_theme)}}"><block wx:if="{{list.length>0}}"><view class="data-v-370d2899"><view class="list data-v-370d2899"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handelClick',['$0'],[[['list','',index]]]]]]]}}" class="items data-v-370d2899" bindtap="__e"><view class="time data-v-370d2899">{{''+(item.starttime?'有效期: '+item.starttime+'-'+item.endtime:'有效期: -')+''}}</view><view class="items_wrap data-v-370d2899"><image class="img data-v-370d2899" src="{{item.common_image}}"></image><view style="margin-left:16rpx;width:calc(100% - 280rpx);" class="data-v-370d2899"><view class="title data-v-370d2899">{{item.common_name}}</view><block wx:if="{{item.tags&&item.tags.length>0}}"><view class="tag data-v-370d2899" style="margin-top:10rpx;"><block wx:for="{{item.tags}}" wx:for-item="item1" wx:for-index="index"><view class="tag-title data-v-370d2899">{{''+item1+''}}</view></block></view></block></view></view></view></block></view><view style="height:40rpx;" class="data-v-370d2899"></view><c-loading vue-id="aacf28e6-1" loading="{{loading}}" class="data-v-370d2899" bind:__l="__l"></c-loading><view style="height:40rpx;" class="data-v-370d2899"></view></view></block><block wx:else><view style="width:100%;height:100%;" class="data-v-370d2899"><view style="margin:150px auto 0;width:187px;height:110px;" class="data-v-370d2899"><image style="width:187px;height:110px;" lazy-load="true" src="{{vuex_baseImgUrl&&vuex_baseImgUrl+'noData.png'}}" class="data-v-370d2899"></image></view><view style="width:100%;margin-top:10px;text-align:center;font-size:13px;color:#121212;" class="data-v-370d2899">暂无数据</view></view></block></view>