1 line
1.9 KiB
Plaintext
1 line
1.9 KiB
Plaintext
<view><status-nav vue-id="637e050a-1" ifReturn="{{true}}" 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="widthFix"></image></view><view data-event-opts="{{[['tap',[['openCate']]]]}}" class="shop-cate flex" catchtap="__e"><text>{{cateList[cateIndex].title}}</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.title}}</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.imgsrc}}" mode="widthFix"></image></view><view class="txt clips2">{{item.title}}</view></view></block></view></scroll-view><block wx:if="{{totalAll==total}}"><view class="more-txt" style="padding-bottom:40rpx;">暂无更多内容</view></block></view> |