1 |
- <view class="goodCate"><view class="header acea-row row-center-wrapper"><navigator class="pageIndex" open-type="switchTab" url="/pages/index/index" hover-class="none" data-event-opts="{{[['tap',[['jumpIndex',['$event']]]]]}}" bindtap="__e"><text class="iconfont icon-shouye3"></text></navigator><navigator class="search acea-row row-center-wrapper" url="/pages/goods/goods_search/index" hover-class="none"><text class="iconfont icon-xiazai5"></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-xiala"></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-xiala"></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-list class="vue-ref" vue-id="6faa6aaa-1" tempArr="{{tempArr}}" isLogin="{{isLogin}}" data-ref="d_goodClass" data-event-opts="{{[['^gocartduo',[['goCartDuo']]],['^gocartdan',[['goCartDan']]],['^ChangeCartNumDan',[['ChangeCartNumDan']]],['^detail',[['goDetail']]]]}}" bind:gocartduo="__e" bind:gocartdan="__e" bind:ChangeCartNumDan="__e" bind:detail="__e" bind:__l="__l"></good-list><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"><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-yangshi2"></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-yangshi2"></view></view></block><view class="money acea-row row-middle"><view>{{''+$root.m4+''}}<text class="num">{{totalPrice}}</text></view><view data-event-opts="{{[['tap',[['subOrder',['$event']]]]]}}" class="bnt" bindtap="__e">{{$root.m5}}</view></view></view><cart-list vue-id="6faa6aaa-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="6faa6aaa-3" attr="{{attr}}" isShow="{{1}}" iSplus="{{1}}" iScart="{{1}}" minQty="{{storeInfo.min_qty}}" id="product-window" is_vip="{{is_vip}}" 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></view>
|