|
@@ -3,7 +3,7 @@
|
|
|
<view class='container2'>
|
|
|
<view class='search_input'>
|
|
|
<icon type="search" size="15" class='search_icon' />
|
|
|
- <input placeholder='请输入板块代码' placeholder-class="search_placeholder" value="{{inputValue}}" bindinput="blur"></input>
|
|
|
+ <input placeholder='请输入板块代码或板块名称' placeholder-class="search_placeholder" value="{{inputValue}}" bindinput="blur"></input>
|
|
|
<!-- <image src='../images/del.png' class='cancle_btn' wx:if="{{inputValue}}" bindtap='clean'></image> -->
|
|
|
<image src='./images/del.png' class='cancle_btn' wx:if="{{inputValue}}" bindtap='clean'></image>
|
|
|
</view>
|
|
@@ -23,12 +23,13 @@
|
|
|
<view class='search_result' wx:if="{{inputValue}}">
|
|
|
<view wx:for="{{resultList}}" class="swiper-box-view" wx:key="key" bindtap='detail' data-row='{{item}}'>
|
|
|
<view class="swiper-box-left">
|
|
|
- <view>{{item.Name}}</view>
|
|
|
+ <view>{{item.industryName}}</view>
|
|
|
<!-- <view class="swiper-box-subtitle">{{item.Name}}</view> -->
|
|
|
</view>
|
|
|
<view class="swiper-box-right">
|
|
|
<view class="swiper-box-button">
|
|
|
- <button class="mini-btn" type="warn" size="mini" >+{{commom.Intercept(item.Value)}}%</button>
|
|
|
+ <button size="mini" wx:if="{{item.industryTag==true}}">+{{commom.Intercept(item.industryValue)}}%</button>
|
|
|
+ <button style="background: #07c160;" size="mini" wx:if="{{item.industryTag==false}}">-{{commom.Intercept(item.industryValue)}}%</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -39,8 +40,8 @@
|
|
|
热门搜索
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class='list' wx:for="{{hotList}}" wx:key="key" bindtap='searchName' data-index="{{index}}">
|
|
|
- <view class="key">{{item.Name}}</view>
|
|
|
+ <view class='list' wx:for="{{hotList}}" wx:key="key" bindtap='hotName' data-value="{{item}}">
|
|
|
+ <view class="key">{{item.plateName}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|