xbx #156

Merged
theluyuan merged 3 commits from xbx into master 2020-08-11 10:28:09 +00:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit f9fa80665b - Show all commits

View File

@ -21,7 +21,8 @@ export default {
// type: 2 1:
onLoad(option) {
this.type = option.type;
this.getWordList();
this.getWordList();
this.curent = option.curent || 0
},
//
onNavigationBarButtonTap(e) {
@ -51,7 +52,8 @@ export default {
}
let params = {
value: value,
type: this.type,
type: this.type,
curent:this.curent
}
if(this.type == 2) {
this.$u.route({

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,