
Some checks are pending
Actions / Litemall-all (11) (push) Waiting to run
Actions / Litemall-all (11.0.3) (push) Waiting to run
Actions / Litemall-all (8) (push) Waiting to run
Actions / Litemall-all (8.0.192) (push) Waiting to run
Actions / Litemall-admin (10.x) (push) Waiting to run
Actions / Litemall-admin (12.x) (push) Waiting to run
Actions / Litemall-admin (14.x) (push) Waiting to run
Actions / Litemall-vue (10.x) (push) Waiting to run
Actions / Litemall-vue (12.x) (push) Waiting to run
Actions / Litemall-vue (14.x) (push) Waiting to run
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
<view class="container">
|
|
<view class="cate-nav">
|
|
<scroll-view scroll-x="true" class="cate-nav-body" style="width: 750rpx;" scroll-left="{{scrollLeft}}">
|
|
<view wx:for="{{navList}}" class="item {{ id == item.id ? 'active' : ''}}" wx:key="id" data-id="{{item.id}}" data-index="{{index}}" bindtap="switchCate">
|
|
<view class="name">{{item.name}}</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
<scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height:{{scrollHeight}}px;">
|
|
|
|
<view class="cate-item">
|
|
<view class="h">
|
|
<text class="name">{{currentCategory.name}}</text>
|
|
<text class="desc">{{currentCategory.desc}}</text>
|
|
</view>
|
|
<view class="b">
|
|
<navigator class="item {{(iindex + 1) % 2 == 0 ? 'item-b' : ''}}" url="/pages/goods/goods?id={{iitem.id}}" wx:for="{{goodsList}}" wx:key="id" wx:for-item="iitem" wx:for-index="iindex">
|
|
<image class="img" src="{{iitem.picUrl}}" background-size="cover"></image>
|
|
<text class="name">{{iitem.name}}</text>
|
|
<text class="price">¥{{iitem.retailPrice}}</text>
|
|
</navigator>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|