2021-12-12 17:15:24 +08:00

48 lines
1.5 KiB
Plaintext

<!--page_package/menu-product/menu-product.wxml-->
<!--<custom bgColor="bg-gradual-main" isBack="{{true}}">-->
<!-- <view slot="backText">返回</view>-->
<!-- <view slot="content" class="font-w600">{{title}}</view>-->
<!--</custom>-->
<view class="cu-custom" style="height:48px;"
wx:if="{{tabs.length > 0}}">
<view class="cu-bar fixed">
<scroll-view scroll-x class="bg-white nav"
style="width:{{windowWidth}}px;width: {{windowWidth}}px">
<view class="flex text-center" style="width: {{windowWidth}}px">
<view class="cu-item flex-sub {{index==TabCur?'color-main font32 font-w600 cur':'color3'}}"
wx:for="{{tabs}}" wx:key="index" bindtap="tabSelect" data-id="{{index}}" data-item="{{item}}">
{{item.name}}
</view>
</view>
</scroll-view>
</view>
</view>
<bc-scroll id="scroll"
requesting="{{requesting}}"
empty-show="{{emptyShow}}"
end="{{end}}"
listCount="0"
has-top="{{hasTop}}"
enable-back-to-top="{{enableBackToTop}}"
refresh-size="{{refreshSize}}"
bottom-size="{{bottomSize}}"
scrollTop="{{scrollTop}}"
color="{{color}}"
bind:refresh="refresh"
bind:more="more">
<view>
<view wx:for="{{productList}}" wx:key="*this">
<product-item bindtap="itemCLick" productItem="{{item}}" data-item="{{item}}"/>
</view>
</view>
</bc-scroll>