1 |
- <view class="app-good-shop-recommendation data-v-7fbaba8a"><block wx:if="{{!showGoods&&type==='mch'}}"><view class="app-top-title dir-left-nowrap main-between cross-center data-v-7fbaba8a"><view class="app-left dir-left-nowrap cross-center data-v-7fbaba8a"><icon class="icon data-v-7fbaba8a"></icon><text class="data-v-7fbaba8a">好店推荐</text></view><view class="app-right dir-left-nowrap cross-center data-v-7fbaba8a"><app-jump-button vue-id="188eb9a8-1" form="{{true}}" url="/plugins/mch/list/list" class="data-v-7fbaba8a" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-7fbaba8a">更多</text><icon class="icon data-v-7fbaba8a"></icon></app-jump-button></view></view></block><block wx:if="{{!showGoods}}"><view class="app-content data-v-7fbaba8a" style="{{'background-color:'+(''+temp.data.backgroundColor)+';'}}"><scroll-view class="app-scroll data-v-7fbaba8a" scroll-x="{{true}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="app-item data-v-7fbaba8a" style="{{'background-color:'+(''+(cardStyle<3?'#ffffff':''))+';'+('border:'+(''+(cardStyle==2?'2rpx solid #e2e2e2':'0'))+';')}}"><app-jump-button vue-id="{{'188eb9a8-2-'+index}}" arrangement="column" form="{{true}}" url="{{'/plugins/mch/shop/shop?mch_id='+item.id}}" class="data-v-7fbaba8a" bind:__l="__l" vue-slots="{{['default']}}"><image class="app-image data-v-7fbaba8a" src="{{item.picUrl}}"></image><text class="app-name u-line-1 data-v-7fbaba8a">{{''+item.name+''}}</text></app-jump-button></view></block></scroll-view></view></block><block wx:if="{{showGoods}}"><view class="app-goods-shop data-v-7fbaba8a"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="app-shop data-v-7fbaba8a" style="{{'background-color:'+(''+(cardStyle<3?'#ffffff':''))+';'+('border:'+(''+(cardStyle==2?'2rpx solid #e2e2e2':'0'))+';')}}"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['list','',index,'id']]]]]]]}}" class="app-top dir-left-nowrap main-between data-v-7fbaba8a" catchtap="__e"><view class="dir-left-nowrap data-v-7fbaba8a"><image class="app-image data-v-7fbaba8a" src="{{item.pic_url}}"></image><view class="app-title data-v-7fbaba8a"><text class="app-name t-omit-two data-v-7fbaba8a">{{item.name}}</text><view class="app-number-title data-v-7fbaba8a"><text class="app-shops data-v-7fbaba8a">{{"商品数量: "+item.goods_num}}</text><text class="app-sell data-v-7fbaba8a">{{"已售: "+item.order_num}}</text></view></view></view><block wx:if="{{item.distance}}"><view class="box-grow-0 distance data-v-7fbaba8a">{{"距离"+item.distance}}</view></block><block wx:else><view class="app-button-jump data-v-7fbaba8a"><app-jump-button vue-id="{{'188eb9a8-3-'+index}}" form="{{true}}" class="data-v-7fbaba8a" bind:__l="__l" vue-slots="{{['default']}}"><view class="app-button data-v-7fbaba8a">进店逛逛</view></app-jump-button></view></block></view><block wx:if="{{item.goodsList.length!==0}}"><view class="app-bottom data-v-7fbaba8a"><scroll-view class="app-scroll data-v-7fbaba8a" scroll-x="{{true}}"><block wx:for="{{item.goodsList}}" wx:for-item="good" wx:for-index="number" wx:key="number"><view class="app-item data-v-7fbaba8a" style="{{'margin-left:'+(number!==0?'8rpx':'0')+';'}}"><app-jump-button vue-id="{{'188eb9a8-4-'+index+'-'+number}}" form="{{true}}" data-event-opts="{{[['tap',[['router_jump',['$0','$1'],[[['list','',index],['goodsList','',number]],[['list','',index,'id']]]]]]]}}" catchtap="__e" class="data-v-7fbaba8a" bind:__l="__l" vue-slots="{{['default']}}"><image class="app-image data-v-7fbaba8a" src="{{good.picUrl}}"></image><text class="{{['app-price data-v-7fbaba8a',theme.color]}}">{{"¥"+good.price}}</text></app-jump-button></view></block></scroll-view></view></block></view></block></view></block></view>
|