|
@@ -117,6 +117,7 @@ Component({
|
|
|
},
|
|
|
/* 获取产品 */
|
|
|
getList(init = false) {
|
|
|
+ wx.hideLoading()
|
|
|
if (init.detail != undefined) init = init.detail;
|
|
|
if (init) content.pageNumber = 1;
|
|
|
if (content.pageNumber > content.pageTotal) return;
|
|
@@ -144,8 +145,16 @@ Component({
|
|
|
detail
|
|
|
}) {
|
|
|
content.where.condition = detail;
|
|
|
+ wx.showLoading({
|
|
|
+ title: '搜索中...',
|
|
|
+ })
|
|
|
this.getList(true)
|
|
|
},
|
|
|
+ onChange({
|
|
|
+ detail
|
|
|
+ }) {
|
|
|
+ content.where.condition = detail;
|
|
|
+ },
|
|
|
/* 获取领域 */
|
|
|
getTradefie() {
|
|
|
_Http.basic({
|