暂存code
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
'width': '590rpx',
|
||||
}"
|
||||
v-model="form.keyword"
|
||||
clearable
|
||||
>
|
||||
<template #prefix>
|
||||
<up-image src="/static/common/search.png" width="20" height="20" bgColor="#f1f6ff00" @click="jumpHome"></up-image>
|
||||
@@ -26,7 +27,7 @@
|
||||
<!-- 历史搜索 -->
|
||||
<view class="search_history" v-if="!poductList || poductList.length === 0">
|
||||
<view class="search_history_title">
|
||||
<view>历史搜索</view>
|
||||
<view>猜你喜欢</view>
|
||||
<up-image src="/static/common/delete.png" width="20" height="20" bgColor="#f1f6ff00" @click="isShowSearch = true;"></up-image>
|
||||
</view>
|
||||
<view class="search_history_cotent" v-if="searchList && searchList.length !==0">
|
||||
@@ -62,7 +63,7 @@
|
||||
<text>¥</text>
|
||||
<text style="font-size: 36rpx;">{{item.adPrice}}</text>
|
||||
</view>
|
||||
<view>已售{{item.price}}件</view>
|
||||
<view>已售9999件</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -78,7 +79,7 @@
|
||||
<text>¥</text>
|
||||
<text style="font-size: 36rpx;">{{item.adPrice}}</text>
|
||||
</view>
|
||||
<view>已售{{item.price}}件</view>
|
||||
<view>已售9999件</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -136,9 +137,9 @@
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
const id = option.categoryId;
|
||||
if(id && id !==0){
|
||||
this.form.categoryId = id;
|
||||
const keyword = option.keyword;
|
||||
if(keyword && keyword !==0 && keyword !== "undefined"){
|
||||
this.form.keyword = keyword;
|
||||
this.searchClickFun();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user