jufubao-mall 2.0.87 → 2.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/get.package.path.js
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
const getPackagePath = (threePackagePath, packname = 'gxd-commands-bussiness')=>{
|
|
10
10
|
if(packname === 'gxd-commands-bussiness') {
|
|
11
|
-
return `/Users/shiyonggao/
|
|
11
|
+
return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-commands-bussiness/${threePackagePath}`;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
if (packname === 'gxd-uni-library-editx') {
|
|
15
|
-
return `/Users/shiyonggao/
|
|
15
|
+
return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-uni-library-editx/${threePackagePath}`;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -510,6 +510,9 @@
|
|
|
510
510
|
if(options.startPrice) this.startPrice = options.startPrice;
|
|
511
511
|
if( options.endPrice) this.endPrice = options.endPrice;
|
|
512
512
|
if( options.keyword) this.keyword = options.keyword;
|
|
513
|
+
// #ifdef H5
|
|
514
|
+
if( options.keyword) this.keyword = decodeURIComponent(options.keyword);
|
|
515
|
+
// #endif
|
|
513
516
|
if( options.pid) this.pid = Number(options.pid);
|
|
514
517
|
if( options.cateId || options.cateid) this.cateId = Number(options.cateId||options.cateid);
|
|
515
518
|
if( options.brand_id) {
|
|
@@ -302,8 +302,12 @@
|
|
|
302
302
|
console.log(err);
|
|
303
303
|
})
|
|
304
304
|
}else{
|
|
305
|
+
let uKey = this.keyword;
|
|
306
|
+
// #ifdef H5
|
|
307
|
+
uKey = encodeURIComponent(this.keyword);
|
|
308
|
+
// #endif
|
|
305
309
|
this.$xdUniHelper.navigateTo({
|
|
306
|
-
url: this.productListPath + `?keyword=${
|
|
310
|
+
url: this.productListPath + `?keyword=${uKey}&search_focus_back=Y`
|
|
307
311
|
})
|
|
308
312
|
}
|
|
309
313
|
},
|