Browse Source

no message

feature/v2.3
xpz2018 4 years ago
parent
commit
40fc27b0ad
1 changed files with 3 additions and 3 deletions
  1. 6
      pages/setting/paper-select/index.wxml

6
pages/setting/paper-select/index.wxml

@ -9,20 +9,20 @@
<scroll-view scroll-y="true" style="height:580rpx;padding: 12rpx 0rpx" wx:if="{{singleList.length}}"> <scroll-view scroll-y="true" style="height:580rpx;padding: 12rpx 0rpx" wx:if="{{singleList.length}}">
<van-grid column-num="3" border="{{fasle}}"> <van-grid column-num="3" border="{{fasle}}">
<van-grid-item use-slot wx:for="{{ singleList }}" wx:key="index" content-style="padding:12rpx"> <van-grid-item use-slot wx:for="{{ singleList }}" wx:key="index" content-style="padding:12rpx">
<van-button plain type="{{index == cIndex ? 'info' : 'default'}}" custom-style="height:88rpx;width:208rpx;padding: 0rpx" data-index="{{index}}" bind:click="onConfirm">{{item.categoryName}}</van-button>
<van-button plain type="{{index == cIndex ? 'info' : 'default'}}" custom-style="height:88rpx;width:208rpx;padding: 0rpx" data-index="{{index}}" bind:click="onConfirm">{{item.name || item.categoryName}}</van-button>
</van-grid-item> </van-grid-item>
</van-grid> </van-grid>
</scroll-view> </scroll-view>
<view class="flex" style="height:580rpx;" wx:else> <view class="flex" style="height:580rpx;" wx:else>
<scroll-view scroll-y style="height:100%;width: 200rpx;background-color: #F7F8FA;border-right: 1rpx solid #f3f3f3"> <scroll-view scroll-y style="height:100%;width: 200rpx;background-color: #F7F8FA;border-right: 1rpx solid #f3f3f3">
<van-sidebar active-key="{{ activeIndex }}" bind:change="onClickNav" custom-class="van-tree-select__nav__inner"> <van-sidebar active-key="{{ activeIndex }}" bind:change="onClickNav" custom-class="van-tree-select__nav__inner">
<van-sidebar-item wx:for="{{ paperList }}" wx:key="index" title="{{ item.name }}" />
<van-sidebar-item wx:for="{{ paperList }}" wx:key="index" title="{{ item.name || item.bigProductName }}" />
</van-sidebar> </van-sidebar>
</scroll-view> </scroll-view>
<scroll-view scroll-y="true" style="height:100%;flex: 1;padding: 12rpx 0rpx"> <scroll-view scroll-y="true" style="height:100%;flex: 1;padding: 12rpx 0rpx">
<van-grid column-num="2" border="{{fasle}}"> <van-grid column-num="2" border="{{fasle}}">
<van-grid-item use-slot wx:for="{{ paperList[activeIndex].smallProductCategoryInfoList }}" wx:key="index" content-style="padding:12rpx"> <van-grid-item use-slot wx:for="{{ paperList[activeIndex].smallProductCategoryInfoList }}" wx:key="index" content-style="padding:12rpx">
<van-button plain type="{{index == cIndex ? 'info' : 'default'}}" custom-style="height:88rpx;width:228rpx;padding: 0rpx" data-index="{{index}}" bind:click="onConfirm">{{item.categoryName}}</van-button>
<van-button plain type="{{index == cIndex ? 'info' : 'default'}}" custom-style="height:88rpx;width:228rpx;padding: 0rpx" data-index="{{index}}" bind:click="onConfirm">{{item.name || item.categoryName}}</van-button>
</van-grid-item> </van-grid-item>
</van-grid> </van-grid>
</scroll-view> </scroll-view>

Loading…
Cancel
Save