|
|
|
@ -6,8 +6,15 @@ |
|
|
|
<van-icon name="cross" size="24" color="#999999" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="flex" style="height:580rpx;"> |
|
|
|
<scroll-view scroll-y class="van-tree-select__nav" style="height:100%;width: 200rpx;background-color: #F7F8FA;border-right: 1rpx solid #f3f3f3"> |
|
|
|
<scroll-view scroll-y="true" style="height:580rpx;padding: 12rpx 0rpx" wx:if="{{singleList.length}}"> |
|
|
|
<van-grid column-num="3" border="{{fasle}}"> |
|
|
|
<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-grid-item> |
|
|
|
</van-grid> |
|
|
|
</scroll-view> |
|
|
|
<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"> |
|
|
|
<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> |
|
|
|
|