zhaojs
2023-04-25 f38ca22088b7a0de7e7db316c564b4bf7526f105
1
<view style="background-color:#f5f5f5"><view class="mainWrap" style="border-bottom:none"><view class="search"><input placeholder-style="font-size:12px;" style="width:100%" value="{{a}}" bindinput="{{b}}" bindfocus="{{c}}" placeholder="女装" confirm-type="search" bindconfirm="{{d}}"/><view class="searchBtn" bindtap="{{e}}">搜索</view></view></view><view wx:if="{{f}}" class="showAssociate"><block wx:if="{{g}}"><view wx:for="{{h}}" wx:for-item="item" wx:key="c" class="showAssociaterow" bindtap="{{item.b}}"><text wx:for="{{item.a}}" wx:for-item="item2" wx:key="d"><text wx:if="{{item2.a}}">{{item2.b}}</text><text wx:else style="color:gray">{{item2.c}}</text></text></view></block></view><view wx:else><view><scroll-view id="tab-bar" class="scroll-h" scroll-x="true" show-scrollbar="false" scroll-into-view="{{j}}"><text wx:for="{{i}}" wx:for-item="item" wx:key="c" id="{{item.b}}" data-current="{{item.d}}" class="{{['uni-tab-item', item.e]}}" data-index="{{item.f}}" bindtap="{{item.g}}">{{item.a}}</text></scroll-view></view><view wx:if="{{k}}" class="messageTip"><view style="font-size:16px;font-weight:bold;margin-bottom:12px;color:black">三步轻松获得优惠券</view><view style="display:flex;font-size:12px;line-height:20px"><image style="width:20px;height:20px;border-radius:50%" src="{{l}}" alt=""></image>  <text>1.进入{{m}}  </text><image style="width:20px;height:20px;border-radius:50%" src="https://img.alicdn.com/imgextra/i2/751308485/O1CN01AvtYnH2CYBRw0b7IS_!!751308485.png" alt=""></image>  <text>2.复制商品标题  </text><image style="width:20px;height:20px;border-radius:50%" src="https://img.alicdn.com/imgextra/i1/751308485/O1CN01SuHx8T2CYBRt6WFiu_!!751308485.png" alt=""></image>  <text>3.点击搜索查询</text></view></view><view wx:if="{{n}}" class="hotsearch"><view class="hotsearch_title"> 买家热搜榜 </view><view style="margin-top:10px"><view wx:for="{{o}}" wx:for-item="itemm" class="hotsearch_row" bindtap="{{itemm.d}}"><text class="{{itemm.b}}">{{itemm.a}}</text> {{itemm.c}}</view></view><view bindtap="{{q}}" style="text-align:center;color:#00aaff">{{p}}</view></view><view wx:if="{{r}}" class="searchType"><text style="cursor:pointer" class="{{s}}" bindtap="{{t}}">人气</text><text style="cursor:pointer" class="{{v}}" bindtap="{{w}}">销量</text><view wx:if="{{x}}" bindtap="{{A}}" class="{{B}}" style="display:flex;flex-direction:row;cursor:pointer">价格 <view class="tblist_icon"><view class="{{['triangle_up', y]}}"></view><view class="{{['triangle_down', z]}}"></view></view></view></view><scroll-view wx:if="{{C}}" class="scroll-v list" lower-threshold="180" enableBackToTop="true" scroll-y="true" bindscrolltolower="{{I}}"><view class="goodCards"><view wx:for="{{D}}" wx:for-item="item" wx:key="m"><view class="goodCard" bindtap="{{item.l}}"><view class="goodCardImg"><image src="{{item.a}}" alt="" style="width:180rpx;height:180rpx"></image></view><view class="goodCardDesc"><view class="goodCardDesc_title" style="display:flex"><view wx:if="{{item.b}}" style="padding-top:2px;margin-right:6px"><image style="width:16px;height:16px" src="{{item.c}}" alt=""></image></view> {{item.d}}</view><view class="goodCardDesc_bottom"><view wx:if="{{item.e}}" class="goodCardDesc_bottomLeft"><text style="color:gray;font-size:24rpx">券后</text><text style="color:#ff5351;font-size:40rpx;font-weight:600">¥{{item.f}}</text></view><view wx:else class="goodCardDesc_bottomLeft"><text style="color:#ff5351;font-size:40rpx;font-weight:600">¥{{item.g}}</text></view><view class="goodCardDesc_bottomRight"><view wx:if="{{item.h}}" class="topcard_coupon"><text style="color:white;margin-right:12rpx;padding:0 8rpx;border-right:1px dashed">券</text> {{item.i}}元 </view><view class="{{item.k}}"> 月售{{item.j}}</view></view></view></view></view></view></view><view wx:if="{{E}}" class="loading-more"><text wx:if="{{F}}" class="loading-more-text">已经到底啦~</text><text wx:elif="{{G}}" class="loading-more-text">加载更多...</text><text wx:elif="{{H}}" class="loading-more-text">加载中...</text></view></scroll-view></view></view>