index.wxml 4.9 KB

1
  1. <block wx:if="{{pageShow}}"><view class="{{['page',bgTabVal==2?'fullsize noRepeat':bgTabVal==1?'repeat ysize':'noRepeat ysize']}}" style="{{('background-color:'+bgColor+';background-image: url('+bgPic+');min-height:'+windowHeight+'px;')}}"><view style="{{'margin-top:'+(sortMpTop+'px')+';'}}"><block wx:for="{{styleConfig}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.name=='activeParty'}}"><active-party vue-id="{{'1d16b024-1-'+index}}" dataConfig="{{item}}" bind:__l="__l"></active-party></block><block wx:if="{{item.name=='articleList'}}"><article-list vue-id="{{'1d16b024-2-'+index}}" dataConfig="{{item}}" bind:__l="__l"></article-list></block><block wx:if="{{item.name=='bargain'}}"><bargain vue-id="{{'1d16b024-3-'+index}}" dataConfig="{{item}}" data-event-opts="{{[['^changeBarg',[['changeBarg']]]]}}" bind:changeBarg="__e" bind:__l="__l"></bargain></block><block wx:if="{{item.name=='blankPage'}}"><blank-page vue-id="{{'1d16b024-4-'+index}}" dataConfig="{{item}}" bind:__l="__l"></blank-page></block><block wx:if="{{item.name=='combination'}}"><combination vue-id="{{'1d16b024-5-'+index}}" dataConfig="{{item}}" bind:__l="__l"></combination></block><block wx:if="{{item.name=='coupon'}}"><coupon vue-id="{{'1d16b024-6-'+index}}" dataConfig="{{item}}" bind:__l="__l"></coupon></block><block wx:if="{{item.name=='customerService'}}"><customer-service vue-id="{{'1d16b024-7-'+index}}" dataConfig="{{item}}" bind:__l="__l"></customer-service></block><block wx:if="{{item.name=='goodList'}}"><good-list vue-id="{{'1d16b024-8-'+index}}" dataConfig="{{item}}" data-event-opts="{{[['^detail',[['goDetail']]]]}}" bind:detail="__e" bind:__l="__l"></good-list></block><block wx:if="{{item.name=='guide'}}"><guide vue-id="{{'1d16b024-9-'+index}}" dataConfig="{{item}}" bind:__l="__l"></guide></block><block wx:if="{{item.name=='headerSerch'}}"><header-serch vue-id="{{'1d16b024-10-'+index}}" dataConfig="{{item}}" special="{{1}}" bind:__l="__l"></header-serch></block><block wx:if="{{item.name=='liveBroadcast'}}"><live-broadcast vue-id="{{'1d16b024-11-'+index}}" dataConfig="{{item}}" bind:__l="__l"></live-broadcast></block><block wx:if="{{item.name=='menus'}}"><menus vue-id="{{'1d16b024-12-'+index}}" dataConfig="{{item}}" bind:__l="__l"></menus></block><block wx:if="{{item.name=='news'}}"><news vue-id="{{'1d16b024-13-'+index}}" dataConfig="{{item}}" bind:__l="__l"></news></block><block wx:if="{{item.name=='pictureCube'}}"><picture-cube vue-id="{{'1d16b024-14-'+index}}" dataConfig="{{item}}" isSortType="{{isSortType}}" bind:__l="__l"></picture-cube></block><block wx:if="{{item.name=='promotionList'}}"><promotion-list vue-id="{{'1d16b024-15-'+index}}" dataConfig="{{item}}" tempArr="{{tempArr}}" iSshowH="{{iSshowH}}" data-event-opts="{{[['^changeTab',[['changeTab']]],['^detail',[['goDetail']]]]}}" bind:changeTab="__e" bind:detail="__e" bind:__l="__l"></promotion-list></block><block wx:if="{{item.name=='richText'}}"><rich-text dataConfig="{{item}}"></rich-text></block><block wx:if="{{item.name=='seckill'}}"><seckill vue-id="{{'1d16b024-16-'+index}}" dataConfig="{{item}}" bind:__l="__l"></seckill></block><block wx:if="{{item.name=='swiperBg'}}"><swiper-bg vue-id="{{'1d16b024-17-'+index}}" dataConfig="{{item}}" bind:__l="__l"></swiper-bg></block><block wx:if="{{item.name=='swipers'}}"><swipers vue-id="{{'1d16b024-18-'+index}}" dataConfig="{{item}}" bind:__l="__l"></swipers></block><block wx:if="{{item.name=='tabNav'}}"><tab-nav vue-id="{{'1d16b024-19-'+index}}" dataConfig="{{item}}" bind:__l="__l"></tab-nav></block><block wx:if="{{item.name=='titles'}}"><titles vue-id="{{'1d16b024-20-'+index}}" dataConfig="{{item}}" bind:__l="__l"></titles></block></block></block><block wx:if="{{$root.g0}}"><view class="loadingicon acea-row row-center-wrapper"><text class="loading iconfont icon-jiazai" hidden="{{loading==false}}"></text>{{''+loadTitle+''}}</view></block><block wx:if="{{newData.menuList&&newData.status.status}}"><view class="foot"><view class="page-footer" style="{{'background-color:'+(newData.bgColor.color[0].item)+';'}}" id="target"><block wx:for="{{newData.menuList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goRouter',['$0'],[[['newData.menuList','',index]]]]]]]}}" class="foot-item" bindtap="__e"><block wx:if="{{item.link==activeRouter}}"><block><image src="{{item.imgList[0]}}"></image><view class="txt" style="{{'color:'+(newData.activeTxtColor.color[0].item)+';'}}">{{item.name}}</view></block></block><block wx:else><block><image src="{{item.imgList[1]}}"></image><view class="txt" style="{{'color:'+(newData.txtColor.color[0].item)+';'}}">{{item.name}}</view></block></block><block wx:if="{{item.link==='/pages/order_addcart/order_addcart'&&$store.state.indexData.cartNum&&$store.state.indexData.cartNum>0}}"><view class="count-num _div">{{''+$store.state.indexData.cartNum+''}}</view></block></view></block></view></view></block></view></view></block>