|
|
<!-- 搜索输入框的遮罩层 -->
|
|
|
<view class="searchregister" wx:if="{{searchshow}}">
|
|
|
<view class="searchitem">
|
|
|
<view class="searchitemleft">
|
|
|
<view class="searchitem" wx:for="{{searchlist}}" wx:key='' bindtap="searchlist">
|
|
|
<view class="searchitemleft" >
|
|
|
<view class="searimg">
|
|
|
<image src="{{url}}aicon_04@2x.png"></image>
|
|
|
</view>
|
|
|
|
|
|
<view class="searchtitle">泸州老窖</view>
|
|
|
<view class="searchtitle">{{item.name}}</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="iconfont icon-jiantou listrow "></view>
|
|
|
|
|
|
</view>
|
|
|
<view class="searchitem">
|
|
|
<view class="searchitemleft">
|
|
|
<view class="searimg">
|
|
|
<image src="{{url}}aicon_04@2x.png"></image>
|
|
|
</view>
|
|
|
|
|
|
<view class="searchtitle">泸州老窖</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="iconfont icon-jiantou listrow "></view>
|
|
|
|
|
|
</view>
|
|
|
<view class="searchitem">
|
|
|
<view class="searchitemleft">
|
|
|
<view class="searimg">
|
|
|
<image src="{{url}}aicon_04@2x.png"></image>
|
|
|
</view>
|
|
|
|
|
|
<view class="searchtitle">泸州老窖</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="iconfont icon-jiantou listrow "></view>
|
|
|
|
|
|
</view>
|
|
|
<view class="searchitem">
|
|
|
<view class="searchitemleft">
|
|
|
<view class="searimg">
|
|
|
<image src="{{url}}aicon_04@2x.png"></image>
|
|
|
</view>
|
|
|
|
|
|
<view class="searchtitle">泸州老窖</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="iconfont icon-jiantou listrow "></view>
|
|
|
|
|
|
</view>
|
|
|
<view class="searchitem">
|
|
|
<view class="searchitemleft">
|
|
|
<view class="searimg">
|
|
|
<image src="{{url}}aicon_04@2x.png"></image>
|
|
|
</view>
|
|
|
|
|
|
<view class="searchtitle">泸州老窖</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="iconfont icon-jiantou listrow "></view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="searchhead">
|
...
|
...
|
@@ -75,10 +28,10 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="searcontent">
|
|
|
<input placeholder='搜索酒品/品牌/酒企' placeholder-class='searcontent' />
|
|
|
<input placeholder='搜索酒品/品牌/酒企' placeholder-class='searcontent' bindinput="enterword" value="{{keyword}}" />
|
|
|
</view>
|
|
|
|
|
|
<view class="closeimg">
|
|
|
<view class="closeimg" bindtap="clear">
|
|
|
<image src="{{url}}aicon_07x.png"></image>
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
@@ -92,13 +45,9 @@ |
|
|
|
|
|
<view class="textbox">
|
|
|
|
|
|
<view class="seahead">
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="seahead" >
|
|
|
<view class="searword" wx:for="{{list}}" wx:key="">{{item.name}}</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="historyrecord">
|
...
|
...
|
@@ -109,13 +58,9 @@ |
|
|
<view class="hisword">历史记录</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="seahead">
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="seahead" wx:if="{{history.length!=0}}">
|
|
|
<view class="searword" wx:for="{{history}}" wx:key='' bindtap="searchhistory" data-keyword="{{item.keyword}}">{{item.keyword}}</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="historyrecord">
|
|
|
<view class="hisimg">
|
...
|
...
|
@@ -127,46 +72,42 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="seahead">
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword">茅台</view>
|
|
|
<view class="searword" wx:for="{{favorite}}" wx:key=''>{{item.name}}</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="searchresult" wx:else>
|
|
|
<view class="searchresult" wx:if="{{searchlist}}">
|
|
|
|
|
|
<view class="jiupin" wx:if="{{select==1}}">
|
|
|
|
|
|
<view class="searchitem">
|
|
|
<view class="searchitem" wx:for="{{searchlistarr}}" wx:key=''>
|
|
|
<view class="searchitemleft">
|
|
|
<view class="itemleftimg">
|
|
|
<image src="{{url}}aicon_11@2x.png"></image>
|
|
|
<image src="{{item.logo}}"></image>
|
|
|
</view>
|
|
|
|
|
|
<view class="itemiddle">
|
|
|
<view class="itemidelename">泸州迎宾酒</view>
|
|
|
<view class="itemidelename">{{item.name}}</view>
|
|
|
<view class="nambottom">
|
|
|
<text class="namebottomitem">53°</text>
|
|
|
<text class="namebottomitem">浓香型</text>
|
|
|
<text class="namebottomitem">53°</text>
|
|
|
<text class="namebottomitem">53°</text>
|
|
|
<text class="namebottomitem">{{item.degree_name}}</text>
|
|
|
<text class="namebottomitem">{{item.odor_name}}</text>
|
|
|
<text class="namebottomitem">{{item.price}}</text>
|
|
|
<text class="namebottomitem">{{item.ml}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="starimg">
|
|
|
<!-- aicon_010x.png -->
|
|
|
<view class="starimg" catchtap="collect" data-id="{{item.id}}">
|
|
|
<image src="{{url}}aicon_10x.png" wx:if="{{item.sel}}"></image>
|
|
|
<image src="{{url}}aicon_09x.png" wx:else></image>
|
|
|
|
|
|
<image src="{{url}}aicon_09x.png"></image>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="searchitem">
|
|
|
<!-- <view class="searchitem">
|
|
|
<view class="searchitemleft">
|
|
|
<view class="itemleftimg">
|
|
|
<image src="{{url}}aicon_11@2x.png"></image>
|
...
|
...
|
@@ -184,7 +125,7 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="starimg">
|
|
|
<!-- aicon_010x.png -->
|
|
|
|
|
|
|
|
|
<image src="{{url}}aicon_09x.png"></image>
|
|
|
</view>
|
...
|
...
|
@@ -208,7 +149,7 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="starimg">
|
|
|
<!-- aicon_010x.png -->
|
|
|
|
|
|
|
|
|
<image src="{{url}}aicon_09x.png"></image>
|
|
|
</view>
|
...
|
...
|
@@ -232,7 +173,7 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="starimg">
|
|
|
<!-- aicon_010x.png -->
|
|
|
|
|
|
|
|
|
<image src="{{url}}aicon_09x.png"></image>
|
|
|
</view>
|
...
|
...
|
@@ -256,12 +197,11 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="starimg">
|
|
|
<!-- aicon_010x.png -->
|
|
|
|
|
|
<image src="{{url}}aicon_09x.png"></image>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
</view> -->
|
|
|
</view>
|
|
|
|
|
|
<view class="brand" wx:if="{{select==2}}">
|
...
|
...
|
|