...
|
...
|
@@ -13,7 +13,7 @@ import {transToMiniappPath} from 'js/common/miniapp-path-rules'; |
|
|
*/
|
|
|
const jumpAction = ['go.productDetail', 'go.list', 'go.h5', 'go.shop', 'go.poollist',
|
|
|
'go.activitytemplate', 'go.collagehome', 'go.bargainlist', 'go.limitpurchase',
|
|
|
'go.groupProductDetail'];
|
|
|
'go.groupProductDetail', 'go.yoluckHome', 'go.yoluckDetail'];
|
|
|
|
|
|
class LinkHandle {
|
|
|
constructor() {
|
...
|
...
|
@@ -32,6 +32,8 @@ class LinkHandle { |
|
|
|
|
|
let transData = transToMiniappPath(href);
|
|
|
|
|
|
console.log(transData);
|
|
|
|
|
|
if (jumpAction.indexOf(transData.action) >= 0) {
|
|
|
// 跳转至小程序公共处理页
|
|
|
this.goMiniProgram(`/pages/common/webback?url=${encodeURIComponent(href)}`);
|
...
|
...
|
|