You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
clothesProject/pages/navigation/index/recommand/recommand.wxml

28 lines
1.2 KiB

<!--pages/navigation/index/recommand/recommand.wxml-->
<van-toast id="van-toast" />
<view >
<image class="beijing2" src="../../../img/背景.png"></image>
<view style="padding:40rpx;">
<view style=" display: -webkit-flex;display: flex;border-radius: 30rpx;background-color:white;">
<van-icon custom-style="margin-left:50rpx;"name="search" />
<van-field custom-style="min-width:500rpx;"clearable model:value="{{ user }}" placeholder="请输入关键字" border="{{ false }}" bind:change="onChange"/>
</view>
</view>
<view wx:if="{{show_recommend.length >=1}}">
<view style="margin-left:50rpx;color:green;font-size:40rpx;">推 荐</view>
<view style="display: flex;justify-content:center;flex-wrap:wrap;gap:20rpx;" >
<van-image round width="10rem" height="10rem" wx:for="{{show_recommend}}" wx:for-index="index" wx:for-item="item" wx:key="index" src="{{item}}" />
</view>
<view style="margin-left:50rpx;color:orange;font-size:40rpx;">搭 配</view>
<view style="display: flex;justify-content:center;flex-wrap:wrap;gap:20rpx;" >
<van-image round width="10rem" height="10rem" wx:for="{{show_match_clothes}}" wx:for-index="index" wx:for-item="item" wx:key="index" src="{{item}}" />
</view>
</view>
</view>