1 line
3.6 KiB
Plaintext
1 line
3.6 KiB
Plaintext
<block wx:if="{{isLoad}}"><view class="shop-choose-store"><fixed vue-id="7db6dbf5-1" bind:__l="__l" vue-slots="{{['default']}}"><view class="rel"><view class="user-store-info abs"><image class="store-bg abs" mode="aspectFill" lazy-load="{{true}}" src="https://lbqny.migugu.com/admin/farm/bg-store.png"></image></view><uni-nav-bar vue-id="{{('7db6dbf5-2')+','+('7db6dbf5-1')}}" fixed="{{false}}" shadow="{{false}}" statusBar="{{true}}" onlyLeft="{{true}}" color="#fff" backgroundColor="none" bind:__l="__l" vue-slots="{{['left']}}"><view class="flex-y-center" slot="left" data-event-opts="{{[['tap',[['toChooseLocation',['$event']]]]]}}" catchtap="__e"><view class="iconfont icon-dingwei mr-sm _i"></view><view class="text-bold max-400 ellipsis">{{''+(location.address?location.address:isLoad?'定位失败':'定位中...')+''}}</view><view class="iconfont icon-down-bold ml-sm _i"></view></view></uni-nav-bar><view class="search-box-radius fill-base"><search vue-id="{{('7db6dbf5-3')+','+('7db6dbf5-1')}}" type="input" radius="{{30}}" disabled="{{location.address?false:true}}" placeholder="搜索店铺名称" data-event-opts="{{[['^input',[['toSearch']]],['^confirm',[['toSearch']]]]}}" bind:input="__e" bind:confirm="__e" bind:__l="__l"></search></view></view></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="farm-item rel fill-base mt-md ml-md mr-md pd-lg box-shadow radius-24" catchtap="__e"><view class="more-btn abs flex-center"><view class="flex-y-baseline" style="{{'color:'+(primaryColor)+';'}}"><view>进店选购</view><view class="iconfont icon-right _i"></view></view></view><view class="flex-center"><image class="cover box-shadow-mini radius-24" mode="aspectFill" lazy-load="{{true}}" src="{{item.cover}}"></image><view class="flex-1 ml-lg"><view class="flex-between f-title c-title mt-sm mb-sm"><view class="max-300 ellipsis">{{item.title}}</view><view class="f-caption c-caption">{{''+item.distance+''}}</view></view><view class="star-fill-info rel"><view class="flex-warp star rel"><block wx:for="{{5}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="item-star flex-center"><view class="iconfont icon-star-bold-fill _i"></view></view></block></view><view class="star-fill abs" style="{{'width:'+(item.star_percent)+';'}}"><view class="flex-warp"><block wx:for="{{5}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="item-star flex-center"><view class="iconfont icon-star-bold-fill icon-font-color _i" style="{{'background-image:'+('-webkit-linear-gradient(90deg, #FDCD47, #FFC000)')+';'}}"></view></view></block></view></view></view><view class="flex-y-center f-caption c-caption mt-sm"><view class="iconfont icon-dingwei mr-sm _i"></view><view class="addr-text ellipsis">{{item.address}}</view></view></view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="7db6dbf5-4" noMore="{{$root.g0}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g1}}"><abnor vue-id="7db6dbf5-5" bind:__l="__l"></abnor></block><block wx:if="{{!loading&&!location.lng}}"><abnor vue-id="7db6dbf5-6" tip="{{[{text:'定位失败,请开启地理位置授权后重试~',color:0}]}}" button="{{[{text:'开启定位',type:'confirm'}]}}" btnSize data-event-opts="{{[['^confirm',[['e0']]]]}}" bind:confirm="__e" bind:__l="__l"></abnor></block><view class="space-max-footer"></view><block wx:if="{{isLoad}}"><fix-bottom-button vue-id="7db6dbf5-7" text="{{[{text:'返回上页',type:'confirm'}]}}" bgColor="#fff" data-event-opts="{{[['^confirm',[['e1']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></block></view></block> |