wxml:
<view class="top">
<view class="topsearch">
<view class="frame">
<input value="{ {shoopingtext}}" bindinput="shoppinginput"></input>
</view>
<text bindtap="search">搜索</text>
</view>
</view>
<view class="history" wx:if="{ {history}}">
<view class="history_title">
<text>历史搜索</text>
<image src="/image/30.png" mode="widthFix" style="width:5%;" bindtap="cleanhistory"></image>
</view>
<view class="history_text">
<view wx:for="{ {newArray}}" wx:key="key" class="d1" data-text="{ {item}}" bindtap="textfz">
{ {item}}
<text bindtap="wee" style="float: right;margin-right: 10px;font-size: 20px;">×</text>
</view>
</view>
</view>
<view class="none" wx:if="{ {noneview}}">
<image src="/image/2.png" mode="widthFix" style="width:20%"></image>
<text style="margin-top: 100px;">抱歉,没有相关商品</text>
</view>
<view class='swiper_con' wx:if="{ {shoppinglist}}">
<view class='swiper_con_view' wx:for="{ {shoopingarray}}" wx:key="id" wx:if='{ {item.status=="1"?true:false}}'>
<image src="/image/{ {item.images}}" mode=