You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
5.9 KiB

<scroll-view class="wanlshop-page-container" style="{{'height:'+(windowHeight+'px')+';'}}" scroll-y="{{true}}" enable-back-to-top="{{true}}" enable-flex="true" data-event-opts="{{[['scrolltoupper',[['handleUpper',['$event']]]],['scrolltolower',[['handleLower',['$event']]]]]}}" bindscrolltoupper="__e" bindscrolltolower="__e"><block wx:if="{{shopData}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="wanlshop-shop-container__shop padding-sm radius-bock" bindtap="__e"><view class="info"><view class="name text-cut text-bold"><block wx:if="{{shopData.isself===1}}"><block><view class="cu-tag radius sm bg-red">自营</view></block></block><block wx:else><block><block wx:if="{{shopData.state==0}}"><view class="cu-tag radius sm wanl-bg-pink">个人</view></block><block wx:else><block wx:if="{{shopData.state==1}}"><view class="cu-tag radius sm wanl-bg-blue">企业</view></block><block wx:else><block wx:if="{{shopData.state==2}}"><view class="cu-tag radius sm wanl-bg-orange">旗舰</view></block></block></block></block></block><text class="margin-left-xs">{{''+shopData.shopname+''}}</text></view><view class="exponent text-min wanl-gray-dark"><view><text class="margin-right-xs">店铺粉丝</text>{{''+shopData.find_user.fans+''}}</view></view></view><view class="menu"><block wx:if="{{shopData.isLive}}"><button data-event-opts="{{[['tap',[['onLive',['$0'],['shopData.isLive.id']]]]]}}" class="cu-btn wlIcon wanl-bg-pink margin-right-sm" catchtap="__e"><text class="wlIcon-icon_zhibo-mian text-bold"></text></button></block><block wx:if="{{shopData.isFollow===0}}"><button data-event-opts="{{[['tap',[['handleFollow',['$event']]]]]}}" class="cu-btn radius-bock text-sm bg-white" catchtap="__e"><text class="wlIcon-31xuanze text-bold margin-right-xs"></text>关注</button></block><block wx:else><button data-event-opts="{{[['tap',[['handleFollow',['$event']]]]]}}" class="cu-btn radius-bock text-sm bg-white" catchtap="__e"><text class="wlIcon-31guanbi text-bold margin-right-xs"></text>取关</button></block></view></view></block><block wx:if="{{pageModules}}"><view style="{{'background-size:100% auto;'+('padding-top:'+(headHeight+'px')+';')+('background-color:'+(pageModules.page?pageModules.page.style.pageBackgroundColor:'')+';')+('background-image:'+('url('+$root.g0+')')+';')+('background-repeat:'+(pageModules.page?pageModules.page.style.pageBackgroundRepeat:'repeat')+';')+('background-position:'+('0 '+headTop+'px')+';')}}"><block wx:for="{{pageModules.item}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:if="{{item.type=='banner'}}"><wanl-page-banner vue-id="{{'3b5fdfc8-1-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-banner></block><block wx:if="{{item.type=='image'}}"><wanl-page-image vue-id="{{'3b5fdfc8-2-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-image></block><block wx:if="{{item.type=='advertBanner'}}"><wanl-page-advert-banner vue-id="{{'3b5fdfc8-3-'+index}}" pageData="{{item}}" advertData="{{adData.pageAdverts}}" bind:__l="__l"></wanl-page-advert-banner></block><block wx:if="{{item.type=='advertImage'}}"><wanl-page-advert-image vue-id="{{'3b5fdfc8-4-'+index}}" pageData="{{item}}" advertData="{{adData.pageAdverts}}" bind:__l="__l"></wanl-page-advert-image></block><block wx:if="{{item.type=='video'}}"><wanl-page-video vue-id="{{'3b5fdfc8-5-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-video></block><block wx:if="{{item.type=='menu'}}"><wanl-page-menu vue-id="{{'3b5fdfc8-6-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-menu></block><block wx:if="{{item.type=='notice'}}"><wanl-page-notice vue-id="{{'3b5fdfc8-7-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-notice></block><block wx:if="{{item.type=='article'}}"><wanl-page-article vue-id="{{'3b5fdfc8-8-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-article></block><block wx:if="{{item.type=='headlines'}}"><wanl-page-headlines vue-id="{{'3b5fdfc8-9-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-headlines></block><block wx:if="{{item.type=='search'}}"><wanl-page-search vue-id="{{'3b5fdfc8-10-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-search></block><block wx:if="{{item.type=='activity'}}"><wanl-page-activity vue-id="{{'3b5fdfc8-11-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-activity></block><block wx:if="{{item.type=='categoryTitle'}}"><wanl-page-category-title vue-id="{{'3b5fdfc8-12-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-category-title></block><block wx:if="{{item.type=='classify'}}"><wanl-page-classify vue-id="{{'3b5fdfc8-13-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-classify></block><block wx:if="{{item.type=='likes'}}"><wanl-page-likes vue-id="{{'3b5fdfc8-14-'+index}}" pageData="{{item}}" lower="{{likesLower}}" bind:__l="__l"></wanl-page-likes></block><block wx:if="{{item.type=='goods'}}"><wanl-page-goods vue-id="{{'3b5fdfc8-15-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-goods></block><block wx:if="{{item.type=='groups'}}"><wanl-page-groups vue-id="{{'3b5fdfc8-16-'+index}}" pageData="{{item}}" isShop="{{shopData}}" bind:__l="__l"></wanl-page-groups></block><block wx:if="{{item.type=='bargain'}}"><wanl-page-bargain vue-id="{{'3b5fdfc8-17-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-bargain></block><block wx:if="{{item.type=='seckill'}}"><wanl-page-seckill vue-id="{{'3b5fdfc8-18-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-seckill></block><block wx:if="{{item.type=='empty'}}"><wanl-page-empty vue-id="{{'3b5fdfc8-19-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-empty></block><block wx:if="{{item.type=='division'}}"><wanl-page-division vue-id="{{'3b5fdfc8-20-'+index}}" pageData="{{item}}" bind:__l="__l"></wanl-page-division></block></view></block><block wx:if="{{shopData}}"><view class="safeAreaBottom"></view></block></view></block><block wx:else><wanl-empty vue-id="3b5fdfc8-21" src="find_default3x" text="正在配置首页中..." bind:__l="__l"></wanl-empty></block></scroll-view>