1 |
- <view class="content"><view class="search flex"><view data-event-opts="{{[['tap',[['clickSearch',['$event']]]]]}}" class="input-box flex" catchtap="__e"><view class=" input-content flex"><view class="iconfont iconsearch"></view><view class="input"><input type="text" placeholder="请输入店铺名称" data-event-opts="{{[['input',[['__set_model',['','name','$event',[]]]]]]}}" value="{{name}}" bindinput="__e"/></view></view></view><view data-event-opts="{{[['tap',[['search']]]]}}" class="search-btn" bindtap="__e">搜索</view></view><scroll-view class="shop-list-wrap" style="{{'height:'+(height)+';'}}" scroll-y="true" data-event-opts="{{[['scrolltolower',[['getStoreList']]]]}}" bindscrolltolower="__e"><block wx:if="{{loaded===true&&shopList.length===0}}"><empty vue-id="11b3a4fe-1" bind:__l="__l"></empty></block><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['navTo',['/pages/shop/shopDetail?id='+item.$orig.id]]]]]}}" class="djq-wrap flex f-ai-s" bindtap="__e"><image class="djq-img" src="{{item.$orig.image}}" mode></image><view class="djq-right pl20"><view class="djq-tit flex f-j-sb f-ai-s"><view class="djq-name clamp">{{''+item.$orig.name+''}}</view><view class="djq-dis"><image src="../../static/icon/dh.png" mode></image>{{'距离'+item.$orig.range*1+'KM'}}</view></view><view class="flex f-d-c f-j-sb f-ai-s fg1" style="height:110rpx;"><view class="djq-dz clamp2">{{''+item.$orig.detailed_address+''}}</view><view class="djq-hd flex f-j-sb"><view class="buy-info"></view><view class="hd-btn"><image style="margin-right:15rpx;" src="../../static/icon/call.png" mode data-event-opts="{{[['tap',[['makeCall',['$0'],[[['shopList','',__i0__,'phone']]]]]]]}}" catchtap="__e"></image><image src="../../static/icon/dh.png" mode data-event-opts="{{[['tap',[['dh',['$0'],[[['shopList','',__i0__]]]]]]]}}" catchtap="__e"></image></view></view></view><view style="padding:10rpx 0 0 0;"><block wx:for="{{item.l0}}" wx:for-item="itemt" wx:for-index="__i1__"><view class="left-btm flex f-j-s"><view class="j-logo">券</view><view class="j-price"><text>¥</text>{{itemt.$orig.price+''}}</view><view class="j-zk">{{''+itemt.g0+'折'}}</view><view class="j-name">{{''+itemt.$orig.store_name+''}}</view></view></block></view></view></view></block><uni-load-more vue-id="11b3a4fe-2" status="{{loadingType}}" bind:__l="__l"></uni-load-more></scroll-view></view>
|