| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <view>
- <view style="padding-left: 25rpx; display: flex;">
- <view class="title-class">{{name}}</view>
- <view style="width: 50%; font-size: 12px;text-align: right;padding-right: 25rpx;" data-key="customerFrom" bind:tap="onChangeMore">
- <view wx:if="{{!moreFlag && stowList.length > 0}}" class="more-class">
- 更多
- <van-icon name="arrow-down" />
- </view>
- <view wx:if="{{moreFlag}}" class="more-class">
- 收起
- <van-icon name="arrow-up" />
- </view>
- </view>
- </view>
- <!-- 更多 -->
- <view style="display: flex;margin-top: 25rpx; display: flex; flex-wrap: wrap;align-content: stretch;width: 100%;flex-direction: row; justify-content: flex-start;background: white; align-items: center;">
- <view wx:for="{{moreList}}" data-item="{{item}}">
- <view style="padding-left: 11rpx;margin-top: 5rpx;">
- <van-button wx:if="{{item.infotype === 'default'}}" color="#95A8CB" custom-style="border-radius: 10rpx;" plain data-item="{{item}}" data-typeKey="{{typeName}}" data-index="{{index}}" data-key="more" size="small" bind:click="onClickTag"><text style="font-size: 13px;">{{item.name}}</text></van-button>
- <van-button wx:else color="#606EB2" custom-style="border-radius: 10rpx;" data-item="{{item}}" data-typeKey="{{typeName}}" data-index="{{index}}" data-key="more" size="small" bind:click="onClickTag"><text style="font-size: 13px;">{{item.name}}</text></van-button>
- </view>
- </view>
- </view>
- <!-- 收起 -->
- <view wx:if="{{moreFlag && stowList.length > 0}}">
- <view wx:if="{{stowList.length > 0}}" style="display: flex;margin-top: 20rpx; display: flex; flex-wrap: wrap;align-content: stretch;width: 100%;flex-direction: row; justify-content: flex-start;background: white; align-items: center;">
- <view wx:for="{{stowList}}" data-item="{{item}}">
- <view style="padding-left: 11rpx;margin-top: 5rpx;">
- <van-button wx:if="{{item.infotype === 'default'}}" color="#95A8CB" custom-style="border-radius: 10rpx;" plain type="{{item.infotype}}" data-item="{{item}}" data-index="{{index}}" data-key="stow" size="small" bind:click="onClickTag"><text style="font-size: 13px;">{{item.name}}</text></van-button>
- <van-button wx:else color="#606EB2" custom-style="border-radius: 10rpx;" type="{{item.infotype}}" data-item="{{item}}" data-index="{{index}}" data-key="stow" size="small" bind:click="onClickTag"><text style="font-size: 13px;">{{item.name}}</text></van-button>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view style="margin-top: 25rpx;"></view>
|