1 |
- <app-layout vue-id="268355c1-1" class="data-v-7d25fb87" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['shop data-v-7d25fb87',fixed?'shop-tab-'+tab:'']}}"><view class="shop-head data-v-7d25fb87"><view class="tt-bg data-v-7d25fb87"></view><view class="black data-v-7d25fb87"><image class="shop-pic data-v-7d25fb87" src="{{detail.store.pic_url[0].pic_url}}" lazy-load="{{true}}" mode="aspectFill"></image></view><block wx:if="{{detail}}"><view class="shop-summary dir-left-nowrap cross-center data-v-7d25fb87"><image class="icon-pic data-v-7d25fb87" src="{{detail.store.cover_url}}"></image><view class="dir-top-nowrap box-grow-1 main-center data-v-7d25fb87"><view class="shop-name data-v-7d25fb87">{{detail.store.name}}</view><view class="box-grow-1 shop-goods data-v-7d25fb87"><text class="data-v-7d25fb87">{{"商品:"+detail.goods_count}}</text><text class="data-v-7d25fb87">{{"已售:"+detail.order_goods_count}}</text></view></view><block wx:if="{{is_service}}"><view data-event-opts="{{[['tap',[['openKfModal',['$event']]]]]}}" class="cross-center dir-top-nowrap kf data-v-7d25fb87" bindtap="__e"><icon class="icon-kf data-v-7d25fb87"></icon><view class="data-v-7d25fb87">客服</view></view></block></view></block></view><view class="cross-center main-center shop-tab data-v-7d25fb87"><view data-event-opts="{{[['tap',[['goodsSearch',['$event']]]]]}}" class="main-center cross-center box-grow-0 shop-search data-v-7d25fb87" bindtap="__e"><icon class="icon-search data-v-7d25fb87"></icon></view><view class="cross-center main-center box-grow-1 data-v-7d25fb87" style="padding:0 32rpx;"><view data-event-opts="{{[['tap',[['tabChange',[1]]]]]}}" class="cross-center main-center box-grow-1 dir-top-nowrap data-v-7d25fb87" bindtap="__e"><view class="{{['data-v-7d25fb87',(tab===1)?'shop-text-active':'']}}">首页</view><block wx:if="{{tab===1}}"><view class="shop-tab-active data-v-7d25fb87"></view></block></view><view data-event-opts="{{[['tap',[['tabChange',[2]]]]]}}" class="cross-center main-center box-grow-1 dir-top-nowrap data-v-7d25fb87" bindtap="__e"><view class="{{['data-v-7d25fb87',(tab===2)?'shop-text-active':'']}}">全部</view><block wx:if="{{tab===2}}"><view class="shop-tab-active data-v-7d25fb87"></view></block></view><view data-event-opts="{{[['tap',[['tabChange',[5]]]]]}}" class="cross-center main-center box-grow-1 dir-top-nowrap data-v-7d25fb87" bindtap="__e"><view class="{{['data-v-7d25fb87',(tab===5)?'shop-text-active':'']}}">新品</view><block wx:if="{{tab===5}}"><view class="shop-tab-active data-v-7d25fb87"></view></block></view><view data-event-opts="{{[['tap',[['navigateSummary',['$event']]]]]}}" class="cross-center main-center box-grow-1 dir-top-nowrap data-v-7d25fb87" bindtap="__e"><view class="data-v-7d25fb87">简介</view></view></view></view><block wx:if="{{tab===1}}"><block class="data-v-7d25fb87"><view class="shop-home data-v-7d25fb87">热销推荐</view><app-goods-list vue-id="{{('268355c1-2')+','+('268355c1-1')}}" preview-url="{{order_preview}}" submit-url="{{order_submit}}" list="{{goods_list}}" class="data-v-7d25fb87" bind:__l="__l"></app-goods-list></block></block><block wx:if="{{tab===2}}"><block class="data-v-7d25fb87"><view class="dir-left-nowrap shop-all data-v-7d25fb87"><view data-event-opts="{{[['tap',[['navCat',['$event']]]]]}}" class="box-grow-1 dir-left-nowrap main-center cross-center data-v-7d25fb87" bindtap="__e"><view class="data-v-7d25fb87">分类</view><icon class="icon-cat data-v-7d25fb87"></icon></view><view data-event-opts="{{[['tap',[['changeStyle',[1]]]]]}}" class="box-grow-1 dir-left-nowrap main-center cross-center data-v-7d25fb87" bindtap="__e"><view class="{{['data-v-7d25fb87',sort===1?'active':'']}}">综合</view></view><view data-event-opts="{{[['tap',[['changeStyle',[4]]]]]}}" class="box-grow-1 dir-left-nowrap main-center cross-center data-v-7d25fb87" bindtap="__e"><view class="{{['data-v-7d25fb87',sort===4?'active':'']}}">销量</view></view><view data-event-opts="{{[['tap',[['changeStyle',[3]]]]]}}" class="box-grow-1 dir-left-nowrap main-center cross-center data-v-7d25fb87" bindtap="__e"><view class="{{['data-v-7d25fb87',sort===3?'active':'']}}">价格</view><block wx:if="{{sort===3&&sort_type===1}}"><icon class="icon-price-plus data-v-7d25fb87"></icon></block><block wx:else><block wx:if="{{sort===3&&sort_type===0}}"><icon class="icon-price-less data-v-7d25fb87"></icon></block><block wx:else><icon class="icon-price-default data-v-7d25fb87"></icon></block></block></view></view><app-goods-list vue-id="{{('268355c1-3')+','+('268355c1-1')}}" preview-url="{{order_preview}}" submit-url="{{order_submit}}" list="{{goods_list}}" class="data-v-7d25fb87" bind:__l="__l"></app-goods-list></block></block><block wx:if="{{tab===5}}"><block class="data-v-7d25fb87"><block wx:for="{{goods_list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><block wx:if="{{v.goods_list&&v.goods_list.length}}"><view class="data-v-7d25fb87"><view class="cross-center main-center dir-left-nowrap shop-new data-v-7d25fb87"><view class="line data-v-7d25fb87"></view><view class="label data-v-7d25fb87">{{v.label}}</view><view class="line data-v-7d25fb87"></view></view><app-goods-list vue-id="{{('268355c1-4-'+k)+','+('268355c1-1')}}" preview-url="{{order_preview}}" submit-url="{{order_submit}}" list="{{v.goods_list}}" class="data-v-7d25fb87" bind:__l="__l"></app-goods-list></view></block></block></block></block><block wx:if="{{shopKf}}"><view class="data-v-7d25fb87"><view class="act-modal show data-v-7d25fb87"><view data-event-opts="{{[['tap',[['closeKfModal',['$event']]]]]}}" class="act-modal-bg data-v-7d25fb87" bindtap="__e"></view><view class="act-modal-pic main-center cross-center data-v-7d25fb87"><view class="shop-model data-v-7d25fb87"><image src="../../../static/image/icon/close.png" data-event-opts="{{[['tap',[['closeKfModal',['$event']]]]]}}" bindtap="__e" class="data-v-7d25fb87"></image><view class="kf data-v-7d25fb87">联系客服</view><view class="cross-center dir-top-nowrap data-v-7d25fb87"><block wx:if="{{mch_setting.is_web_service}}"><view data-event-opts="{{[['tap',[['navigateCs',['$event']]]]]}}" class="shop-info main-center cross-center dir-left-nowrap data-v-7d25fb87" bindtap="__e"><image src="{{mch_setting.web_service_pic?mch_setting.web_service_pic:'./../image/shop-contact.png'}}" class="data-v-7d25fb87"></image><view class="data-v-7d25fb87">在线沟通</view></view></block><block wx:if="{{detail.store.mobile}}"><view data-event-opts="{{[['tap',[['callPhone',['$event']]]]]}}" class="shop-info main-center cross-center dir-left-nowrap data-v-7d25fb87" bindtap="__e"><image src="./../image/shop-phone.png" class="data-v-7d25fb87"></image><view class="data-v-7d25fb87">致电商家</view></view></block><block wx:if="{{detail.wechat}}"><view data-event-opts="{{[['tap',[['copyInfo',['$event']]]]]}}" class="shop-info main-center cross-center dir-left-nowrap data-v-7d25fb87" bindtap="__e"><image src="./../image/shop-wechat.png" class="data-v-7d25fb87"></image><view class="data-v-7d25fb87">复制微信号</view></view></block></view></view></view></view></view></block></view></app-layout>
|