1 |
- <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="20b25648-1" title shadow="{{0}}" showback="{{false}}" bind:__l="__l"></tm-menubars><view class="C1b1b1b pb-10"><view class="sousuo"><view><tm-search class="fl" vue-id="20b25648-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="20b25648-3" offset="{{[0,-5]}}" icon="icon-times" bind:__l="__l"></tm-badges></view></block></view></block><block wx:if="{{sosotype==2}}"><view><tm-drop-down-menu vue-id="20b25648-4" type="{{typeclick}}" un-color="white" list="{{list2}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l"></tm-drop-down-menu></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="20b25648-5" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{libiaoList}}" wx:for-item="item" wx:for-index="__i0__"><tm-listitem vue-id="{{('20b25648-6-'+__i0__)+','+('20b25648-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==undefined}}"><tm-empty vue-id="20b25648-7" label="暂无数据" color="white" icon="icon-paperplane-fill" bind:__l="__l"></tm-empty></block><block wx:if="{{sosotype==2}}"><view class="zhuti _div"><block wx:if="{{listdata.length!=0}}"><tm-sheet class="kuang" style="padding-bottom:30px !important;" vue-id="20b25648-8" bind:__l="__l" vue-slots="{{['default']}}"><view class="remen" style="width:94%;margin:0 auto;"><block wx:for="{{listdata}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['listdata','',index]]]]]]]}}" class="{{['round-5','contone','black','mt-20',index%2==0?'fl':'fr']}}" bindtap="__e"><image class="logo" src="{{item.image}}" mode="widthFix"></image><view class="pa-15 text-size-s"><view class="text-overflow-2"><text class="text-size-lg">{{item.goods_name}}</text><view class="text-gray mt-6">{{"销量:"+item.stock_num}}</view></view><view class="mt-2 flex-between flex-center"><view class="touxiang mt-30"><text class="text-white text-size-m text-weight-b">{{"¥"+item.sale_price}}</text></view><view><image class="remenzan" src="/static/img/86.png" mode="widthFix" data-event-opts="{{[['tap',[['jiarufuFun',['$0'],[[['listdata','',index]]]]]]]}}" catchtap="__e"></image></view></view></view></view></block><view style="clear:both;"></view><block wx:if="{{listdata.length<total}}"><view data-event-opts="{{[['tap',[['gengmore']]]]}}" class="more ma-40 pt-40" style="clear:both;" bindtap="__e"><image src="/static/img/30.png" mode="widthFix"></image><text class="text-size-s">下拉加载更多~</text></view></block></view></tm-sheet></block><view style="height:60px;"></view></view></block><tm-message class="vue-ref" vue-id="20b25648-9" data-ref="toast" bind:__l="__l"></tm-message></view>
|