Commit c225ec44a9f9ac312cabebc761885e65f3b70659

Authored by vking
1 parent a34ae0f0

taocan

Showing 1 changed file with 12 additions and 10 deletions
<!--components/2.0/taocan/lists.wxml-->
<view class="view padding-lg bg-white padding-bottom-sm">
<view class="view text-bold text-xxl margin-bottom">超值套餐</view>
<block wx:for="{{lists}}" wx:key="lists">
<card detail="{{item}}" wx:if="{{index<rowLimit}}"></card>
</block>
</view>
<view class="view taocan-more {{rowLimit==9999?'opened':''}} solid-top flex align-center justify-center" wx:if="{{lists.length>3}}" bindtap="more">
<view class="view txt-28-h margin-right-sm">{{rowLimit==9999?'收起':'展开更多'}}</view>
<view class="view icon"></view>
</view>
\ No newline at end of file
<block wx:if="{{lists.length>0}}">
<view class="view padding-lg bg-white padding-bottom-sm">
<view class="view text-bold text-xxl margin-bottom">超值套餐</view>
<block wx:for="{{lists}}" wx:key="lists">
<card detail="{{item}}" wx:if="{{index<rowLimit}}"></card>
</block>
</view>
<view class="view taocan-more {{rowLimit==9999?'opened':''}} solid-top flex align-center justify-center" wx:if="{{lists.length>3}}" bindtap="more">
<view class="view txt-28-h margin-right-sm">{{rowLimit==9999?'收起':'展开更多'}}</view>
<view class="view icon"></view>
</view>
</block>
... ...