goods_cate3.wxml 4.7 KB

1
  1. <view class="goodCate"><view class="header acea-row row-center-wrapper"><navigator class="pageIndex acea-row row-center-wrapper" open-type="switchTab" url="/pages/index/index" hover-class="none" data-event-opts="{{[['tap',[['jumpIndex',['$event']]]]]}}" bindtap="__e"><text class="iconfont icon-fanhuishouye"></text></navigator><navigator class="search acea-row row-middle" url="/pages/goods/goods_search/index" hover-class="none"><text class="iconfont icon-sousuo5"></text>{{''+$root.m0+''}}</navigator></view><view class="conter"><view class="aside"><scroll-view style="height:calc(100% - 100rpx);" scroll-y="true" scroll-with-animation="true"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapNav',[index,'$0'],[[['categoryList','',index]]]]]]]}}" class="{{['item','acea-row','row-center-wrapper',index==navActive?'on':'']}}" bindtap="__e"><text>{{item.m1}}</text></view></block></scroll-view></view><view class="wrapper"><block wx:if="{{iSlong}}"><view class="bgcolor"><view class="longTab acea-row row-middle"><scroll-view style="white-space:nowrap;display:flex;height:44rpx;" scroll-x="true" scroll-with-animation="{{true}}" scroll-left="{{tabLeft}}" show-scrollbar="true"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['longClick',[index]]]]]}}" class="{{['longItem',index===tabClick?'click':'']}}" style="{{('width:'+isWidth+'px')}}" bindtap="__e">{{''+item.m2+''}}</view></block></scroll-view></view><view data-event-opts="{{[['tap',[['openTap',['$event']]]]]}}" class="openList" bindtap="__e"><text class="iconfont icon-xiangxia"></text></view></view></block><block wx:else><view><view class="downTab"><view class="title acea-row row-between-wrapper"><view>{{categoryTitle}}</view><view data-event-opts="{{[['tap',[['closeTap',['$event']]]]]}}" class="closeList" bindtap="__e"><text class="iconfont icon-xiangxia"></text></view></view><view class="children"><view class="acea-row row-middle"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['longClick',[index]]]]]}}" class="{{['item','line1',index===tabClick?'click':'']}}" bindtap="__e">{{''+item.m3+''}}</view></block></view></view></view><view data-event-opts="{{[['tap',[['closeTap',['$event']]]]]}}" class="mask" bindtap="__e"></view></view></block><good-class class="vue-ref" vue-id="715f4349-1" tempArr="{{tempArr}}" isLogin="{{isLogin}}" endLocation="{{endLocation}}" data-ref="goodClass" data-event-opts="{{[['^gocartduo',[['goCartDuo']]],['^gocartdan',[['goCartDan']]],['^ChangeCartNumDan',[['ChangeCartNumDan']]],['^detail',[['goDetail']]],['^addCart',[['addCart']]]]}}" bind:gocartduo="__e" bind:gocartdan="__e" bind:ChangeCartNumDan="__e" bind:detail="__e" bind:addCart="__e" bind:__l="__l"></good-class><view class="loadingicon acea-row row-center-wrapper"><text class="loading iconfont icon-jiazai" hidden="{{loading==false}}"></text>{{''+loadTitle+''}}</view></view></view><view class="footer acea-row row-between-wrapper" id="cart"><block wx:if="{{$root.g0}}"><view data-event-opts="{{[['tap',[['getCartList',[0]]]]]}}" class="cartIcon acea-row row-center-wrapper" bindtap="__e"><view class="iconfont icon-gouwuche-yangshi1"></view><view class="num">{{cartCount}}</view></view></block><block wx:else><view class="cartIcon acea-row row-center-wrapper noCart"><view class="iconfont icon-gouwuche-yangshi1"></view></view></block><view class="acea-row row-middle"><view class="money">{{''+$root.m4+''}}<text class="num">{{totalPrice}}</text></view><view data-event-opts="{{[['tap',[['subOrder',['$event']]]]]}}" class="{{['bnt',cartCount?'':'on']}}" bindtap="__e">{{$root.m5}}</view></view></view><cart-list vue-id="715f4349-2" cartData="{{cartData}}" data-event-opts="{{[['^closeList',[['closeList']]],['^ChangeCartNumDan',[['ChangeCartList']]],['^ChangeSubDel',[['ChangeSubDel']]],['^ChangeOneDel',[['ChangeOneDel']]]]}}" bind:closeList="__e" bind:ChangeCartNumDan="__e" bind:ChangeSubDel="__e" bind:ChangeOneDel="__e" bind:__l="__l"></cart-list><product-window vue-id="715f4349-3" attr="{{attr}}" minQty="{{storeInfo.min_qty}}" isShow="{{1}}" iSplus="{{1}}" iScart="{{1}}" is_vip="{{is_vip}}" id="product-window" data-event-opts="{{[['^myevent',[['onMyEvent']]],['^ChangeAttr',[['ChangeAttr']]],['^ChangeCartNum',[['ChangeCartNumDuo']]],['^attrVal',[['attrVal']]],['^iptCartNum',[['iptCartNum']]],['^goCat',[['goCatNum']]]]}}" bind:myevent="__e" bind:ChangeAttr="__e" bind:ChangeCartNum="__e" bind:attrVal="__e" bind:iptCartNum="__e" bind:goCat="__e" bind:__l="__l"></product-window><parabala-ball class="vue-ref" vue-id="715f4349-4" data-ref="Ball" bind:__l="__l"></parabala-ball></view>