|
|
@@ -27,7 +27,7 @@
|
|
|
<view class="search-box" id="my-element">
|
|
|
<view class="search-input">
|
|
|
<swiper vertical="true" circular="true" autoplay="true" interval="3000" class="search-swiper" bindtap="toSearchPage" bindchange="swiperChange">
|
|
|
- <swiper-item wx:for="{{hotList}}" wx:key="index">{{item.name}}</swiper-item>
|
|
|
+ <swiper-item wx:for="{{hotList}}" wx:key="index">{{item.searchName}}</swiper-item>
|
|
|
</swiper>
|
|
|
<!-- <view class="search-line">|</view> -->
|
|
|
<view class="search-text" bindtap="inputSearch">搜索</view>
|
|
|
@@ -38,13 +38,13 @@
|
|
|
<button class="share-btn" open-type="share"></button>
|
|
|
</view> -->
|
|
|
</view>
|
|
|
- <!-- <view class="recommended-box">
|
|
|
+ <view class="recommended-box">
|
|
|
<scroll-view class="recommended-swiper" enhanced="true" show-scrollbar="false" scroll-x="true">
|
|
|
- <view class="recommended-text" wx:for="{{recommendedList}}" bindtap="recommendedSearch" data-name="{{item.name}}">
|
|
|
- {{item.name}}
|
|
|
+ <view class="recommended-text" wx:for="{{recommendedList}}" bindtap="recommendedSearch" data-name="{{item.searchName}}">
|
|
|
+ {{item.searchName}}
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
- </view> -->
|
|
|
+ </view>
|
|
|
<!-- 搜索框end -->
|
|
|
<view class="bg-box">
|
|
|
<image class="bg" src="{{imgUrl+swiperList[swiperCurrent].advertBack}}" mode=""/>
|