index.wxml 2.2 KB

1
  1. <view class="container main data-v-71e217db"><view class="one data-v-71e217db"><view class="one_1 data-v-71e217db"><input type="text" placeholder="请输入活动名称" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['searchInfo']]]]]}}" value="{{searchInfo.name}}" bindinput="__e" class="data-v-71e217db"/></view><view class="one_2 data-v-71e217db"><button class="button data-v-71e217db" size="mini" type="primary" data-event-opts="{{[['tap',[['toInput',['$event']]]]]}}" bindtap="__e">搜索</button></view></view><view class="two data-v-71e217db"><scroll-view class="scroll-view data-v-71e217db" scroll-top="{{scrollTop}}" scroll-y="true" data-event-opts="{{[['scrolltolower',[['toPage',['$event']]]],['scroll',[['toScroll',['$event']]]]]}}" bindscrolltolower="__e" bindscroll="__e"><view class="list-scroll-view data-v-71e217db"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toView',['$0'],[[['list','',index]]]]]]]}}" class="list data-v-71e217db" bindtap="__e"><view class="list_1 data-v-71e217db"><image class="image data-v-71e217db" src="{{item.m0}}"></image></view><view class="list_2 textOne data-v-71e217db">{{item.$orig.name||'暂无比赛名称'}}</view><view class="list_3 data-v-71e217db"><view class="list_left data-v-71e217db"><text class="t-icon t-icon-shizhong data-v-71e217db"></text><label class="_span data-v-71e217db">{{item.m1}}</label></view><view class="list_left data-v-71e217db"><text class="t-icon t-icon-zuobiao data-v-71e217db"></text><label class="_span data-v-71e217db">{{item.$orig.address||'在线活动'}}</label></view><view class="{{['list_right','data-v-71e217db',item.$orig.match_status=='0'?'active_1':item.$orig.match_status=='1'?'active_2':'active_3']}}">{{''+item.m2+''}}</view></view></view></block><block wx:if="{{is_bottom}}"><view class="is_bottom data-v-71e217db"><text class="data-v-71e217db">{{config.bottom_title||'到底了!'}}</text></view></block></view></scroll-view></view><block wx:if="{{showDiv}}"><view data-event-opts="{{[['tap',[['goTop',['$event']]]]]}}" class="fixd data-v-71e217db" bindtap="__e"><text class="t-icon t-icon-fanhuidingbu data-v-71e217db"></text></view></block></view>