index.wxml 3.1 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="52f62476-1" title shadow="{{0}}" showback="{{false}}" bind:__l="__l"></tm-menubars><view class="C1b1b1b pb-20"><view style="width:90%;margin:0 auto;"><view><tm-search class="fl" vue-id="52f62476-2" color="white" confirm-text value="{{soso}}" data-event-opts="{{[['^confirm',[['sosoFun']]],['^input',[['__set_model',['','soso','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></tm-search><text data-event-opts="{{[['tap',[['goindex']]]]}}" class="quxiao fr" bindtap="__e">取消</text></view><view style="clear:both;"></view><block wx:if="{{sosotype==1}}"><view><text class="text-size-m fl mt-30">搜索记录</text><block wx:if="{{libiaoList.length!=0}}"><view data-event-opts="{{[['tap',[['qingkong',['$event']]]]]}}" class="fr mt-30 qingchu" bindtap="__e"><text class="text-size-s fl">清空记录</text><tm-badges vue-id="52f62476-3" offset="{{[0,-5]}}" icon="icon-times" bind:__l="__l"></tm-badges></view></block></view></block><block wx:if="{{sosotype==2}}"><view><tm-tabs class="qiehuan1" vue-id="52f62476-4" align="left" list="{{list}}" range-key="title" value="{{activeIndex}}" data-event-opts="{{[['^change',[['yiji']]],['^input',[['__set_model',['','activeIndex','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></tm-tabs></view></block><view style="clear:both;"></view></view></view><block wx:if="{{sosotype==1&&libiaoList.length!=0}}"><tm-grouplist class="liebiao mt-40" vue-id="52f62476-5" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{libiaoList}}" wx:for-item="item" wx:for-index="__i0__"><tm-listitem vue-id="{{('52f62476-6-'+__i0__)+','+('52f62476-5')}}" title="{{item.name}}" left-icon show-left-icon="{{true}}" show-right-icon="{{false}}" data-event-opts="{{[['^click',[['sousuo',['$0'],[[['libiaoList','',__i0__,'name']]]]]]]}}" bind:click="__e" bind:__l="__l"></tm-listitem></block></tm-grouplist></block><block wx:if="{{sosotype==1&&libiaoList.length==0}}"><tm-empty vue-id="52f62476-7" label="暂无数据" color="white" icon="icon-paperplane-fill" bind:__l="__l"></tm-empty></block><view class="zhuti"><block wx:if="{{sosotype==2}}"><tm-sheet class="yichu" style="margin-bottom:70px !important;" vue-id="52f62476-8" bind:__l="__l" vue-slots="{{['default']}}"><view class="jihua"><block wx:for="{{listdata}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['xiangqing',['$0'],[[['listdata','',index]]]]]]]}}" class="{{['round-3','fl','shadow-2','overflow','pa-10','jihuaview',$root.g1.tmVuetify.black?'black':'white']}}" bindtap="__e"><image class="logo" src="{{item.image}}" mode="widthFix"></image><view class="pa-10 text-size-s"><view class="text-overflow-2"><text>{{item.text}}</text></view></view></view></block></view><view style="clear:both;"></view></tm-sheet></block><block wx:if="{{sosotype==2&&listdata.length==0}}"><tm-empty vue-id="52f62476-9" label="暂无数据" color="white" icon="icon-paperplane-fill" bind:__l="__l"></tm-empty></block></view><tm-message class="vue-ref" vue-id="52f62476-10" data-ref="toast" bind:__l="__l"></tm-message></view>