|
|
|
|
|
|
|
|
import queryString from '../vendors/query-string';
|
|
|
import jumpMiniApp from '../router/jump-to-miniapp';
|
|
|
|
|
|
const GO_LIST = 'go.list';
|
|
|
const GO_PRODUCTPOOL = 'go.poollist';
|
...
|
...
|
@@ -59,7 +58,20 @@ function jumpByUrl(jumpUrl,pageName){ |
|
|
} else if (GO_SHOP === action) {
|
|
|
path = "../goodsList/brandStore";
|
|
|
} else if (GO_DETAIL === action) {
|
|
|
path = "../goodsDetail/goodsDetail";
|
|
|
let actionType = '';
|
|
|
if (json.params && json.params.activity_type){
|
|
|
actionType = json.params.activity_type;
|
|
|
}
|
|
|
if (actionType && actionType === 'groupPurchase'){
|
|
|
return jumpMiniApp({
|
|
|
app: 'groupBuy',
|
|
|
page: 'detail',
|
|
|
data: {
|
|
|
activityId: json.params.activity_id,
|
|
|
productSkn: json.params.product_skn
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
} else if (GO_COUPON === action) {
|
|
|
path = "../page/subPackage/pages/couponList/couponList";
|
|
|
}else if (GO_NEW === action) {
|
...
|
...
|
|