luban-mall/unpackage/dist/dev/mp-weixin/pagesB/ucenter/edit.wxml

1 line
1.9 KiB
Plaintext

<view><status-nav vue-id="149f43f8-1" ifReturn="{{false}}" navBarTitle="商品列表" marginBottom="{{0}}" bind:__l="__l"></status-nav><block wx:if="{{sortShow||cateShow}}"><view data-event-opts="{{[['tap',[['closePullBg',['$event']]]]]}}" class="pull-all-bg" bindtap="__e"></view></block><view class="shop-nav flex" style="{{'top:'+(topHieght+'px')+';'}}"><view data-event-opts="{{[['tap',[['openSort']]]]}}" class="shop-sort flex" catchtap="__e"><text>{{sortList[sortIndex].name}}</text><image src="/static/public/icon-shop.png" mode></image></view><view data-event-opts="{{[['tap',[['openCate']]]]}}" class="shop-cate flex" catchtap="__e"><text>{{cateList[cateIndex].name}}</text><image src="/static/public/icon-shop.png" mode></image></view><block wx:if="{{sortShow}}"><view class="shop-sort-list flex"><block wx:for="{{sortList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkSort',[index]]]]]}}" class="{{['shop-sort-item',sortIndex==index?'cur':'']}}" catchtap="__e">{{item.name}}</view></block></view></block><block wx:if="{{cateShow}}"><view class="shop-cate-list flex"><block wx:for="{{cateList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkCate',[index]]]]]}}" class="{{['shop-cate-item',cateIndex==index?'cur':'']}}" catchtap="__e">{{item.name}}</view></block></view></block></view><scroll-view class="shop-bg" scroll-y="{{true}}"><view class="shop-ul flex"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['shopList','',index,'id']]]]]]]}}" class="shop-li" bindtap="__e"><view class="img"><image src="{{item.src}}" mode="widthFix"></image></view><view class="txt clips2">{{item.title}}</view></view></block></view></scroll-view><block wx:if="{{total==0}}"><view class="more-txt" style="padding-bottom:40rpx;">暂无更多内容</view></block></view>