更换图标

This commit is contained in:
weinan2087
2022-11-16 18:35:07 +08:00
parent 174e6cd1de
commit ab9a2f1a5f

View File

@@ -51,7 +51,8 @@
<view class="words-top"> <view class="words-top">
<view class="words-title">热门搜索</view> <view class="words-title">热门搜索</view>
<view class="words-clear" @click="hotSearch()"> <view class="words-clear" @click="hotSearch()">
<image src="../../static/images/icon/eye.png" mode="" style="margin-right: 15px;width: 32upx;height: 24upx;"></image> <image v-if="!showHotSearch" src="../../static/images/icon/eye_close.png" mode="" style="margin-right: 15px;width: 32upx;height: 26upx;"></image>
<image v-if="showHotSearch" src="../../static/images/icon/eye_open.png" mode="" style="margin-right: 15px;width: 32upx;height: 26upx;"></image>
</view> </view>
</view> </view>