<view class="{{[$root.m0]}}" data-theme="{{$root.m1}}"><view class="top-box"><view class="index-search-box index-search-box_re d-b-c" id="searchBox"><view class="index-search index-search_re t-c flex-1"><label class="icon iconfont icon-sousuo _span"></label><input class="flex-1 ml10 f30 gray3" type="text" value="{{searchtxt}}" placeholder-class="f24 gray6" placeholder="搜索名称" confirm-type="search" data-event-opts="{{[['confirm',[['search']]],['input',[['__set_model',['','searchtxt','$event',[]]]]]]}}" bindconfirm="__e" bindinput="__e"/></view></view><view class="inner-tab"><view data-event-opts="{{[['tap',[['tabTypeFunc',['all']]]]]}}" class="{{[type_active=='all'?'item active':'item']}}" bindtap="__e"><view class="box">综合</view></view><view data-event-opts="{{[['tap',[['tabTypeFunc',['sales']]]]]}}" class="{{[type_active=='sales'?'item active':'item']}}" bindtap="__e"><view class="box">销量</view></view><view data-event-opts="{{[['tap',[['tabTypeFunc',['score']]]]]}}" class="{{[type_active=='score'?'item active':'item']}}" bindtap="__e"><view class="box"><text>评分</text></view></view></view><block wx:if="{{$root.g0>0}}"><view class="category-box pt20"><scroll-view class="scroll-category" scroll-x="true" scroll-left="{{scrollLeft}}" scroll-with-animation="true"><view class="category-list"><block wx:for="{{category}}" wx:for-item="item" wx:for-index="index" wx:key="category_id"><view class="{{['category-item',(index===currentIndex)?'current':'']}}" id="{{'item-'+index}}" data-event-opts="{{[['tap',[['tabChange',[index]]]]]}}" bindtap="__e"><text class="category-btn p-0-20">{{item.name}}</text></view></block></view></scroll-view></view></block></view><block wx:if="{{store_open}}"><view class="prodcut-list-wrap"><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" refresher-triggered="{{triggered}}" refresher-enabled="true" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]],['refresherrefresh',[['onRefresh',['$event']]]],['refresherrestore',[['onRestore',['$event']]]]]}}" bindscrolltolower="__e" bindrefresherrefresh="__e" bindrefresherrestore="__e"><view class="shop_list_body"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shop_list_body_item"><view data-event-opts="{{[['tap',[['goto_shop',['$0'],[[['shopData','',index,'shop_supplier_id']]]]]]]}}" class="shop_list_body_item_shop" bindtap="__e"><view class="shop_list_body_item_shop_logo"><image src="{{item.$orig.logos}}"></image></view><view class="shop_list_body_item_shop_info"><view class="h1 title">{{item.$orig.name}}</view><view class="h3 brand">{{"主营:"+item.$orig.category_name}}</view></view><view class="shop_list_body_item_shop_others"><view class="f26 gray3 collect">店铺评分</view><view><text class="redEe f32 fb">{{item.$orig.server_score}}</text></view></view></view><block wx:if="{{item.g1>0}}"><view class="{{[item.g2<3?'shop_list_body_item_product2':'shop_list_body_item_product']}}"><block wx:for="{{shopData[index].productList}}" wx:for-item="item1" wx:for-index="index2" wx:key="index2"><view data-event-opts="{{[['tap',[['goto_product',['$0'],[[['shopData.'+index+'.productList','',index2,'product_id']]]]]]]}}" class="shop_list_body_item_product_item" bindtap="__e"><view><image src="{{item1.image[0].file_path}}"></image></view><view class="shop_list_body_item_product_item_price"><view class="f22 red">¥<text class="f32">{{''+item1.product_price+''}}</text></view></view></view></block></view></block></view></block></view><block wx:if="{{$root.g3}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="59084fbf-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></scroll-view></view></block><tab-bar vue-id="59084fbf-2" bind:__l="__l"></tab-bar></view>
|