This commit is contained in:
2020-08-11 16:03:12 +08:00
parent 6984ea9374
commit f9fa80665b
2 changed files with 6 additions and 3 deletions

View File

@@ -54,6 +54,8 @@ export default {
this.value = option.value
this.setViewHeight();
this.ShopSearch()
this.setNavSearchInput(this.value);
},
onNavigationBarSearchInputConfirmed(value) {
this.value = value.text
@@ -95,7 +97,6 @@ export default {
// 排序方式 goods_salenum销量 evaluation_count评价 goods_price_asc价格从低到高 goods_price_desc价格从高到低
async ShopSearch({ load = 'reload' } = {}) {
console.log(this.value);
this.setNavSearchInput(this.value);
const sort = this.setOrderSort();
const res = await this.$u.api.ShopSearch({
keyword: this.value,