...
|
...
|
@@ -60,7 +60,6 @@ const xianyu = { |
|
|
},
|
|
|
|
|
|
goXianyuNewPage(args) {
|
|
|
console.log(args);
|
|
|
if (!args.url) {
|
|
|
return;
|
|
|
}
|
...
|
...
|
@@ -73,7 +72,14 @@ const xianyu = { |
|
|
|
|
|
try {
|
|
|
pageParams = queryString.parse(urlSplit[1]);
|
|
|
|
|
|
let arr = [];
|
|
|
if (Object.keys(pageParams)[0] === 'openby:yohobuy') {
|
|
|
for (let key in pageParams) {
|
|
|
arr.push(pageParams[key]);
|
|
|
}
|
|
|
}
|
|
|
pageParams = JSON.parse(arr[0]).params;
|
|
|
console.log(JSON.parse(arr[0]).params);
|
|
|
if (pageParams.pagename) {
|
|
|
switch (pageParams.pagename) {
|
|
|
case 'productList':
|
...
|
...
|
@@ -82,10 +88,16 @@ const xianyu = { |
|
|
case 'productDetail':
|
|
|
pageName = 'ProductDetail';
|
|
|
break;
|
|
|
case 'logisticsInfo':
|
|
|
pageName = 'orderLogisticsInfo';
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
delete pageParams.pagename;
|
|
|
pageParams.owner = pageParams.logisticsType;
|
|
|
pageParams.code = pageParams.ordercode;
|
|
|
console.log(pageParams);
|
|
|
}
|
|
|
} catch (error) {
|
|
|
console.log(error);
|
...
|
...
|
|