Authored by TaoHuang

fix yas error

... ... @@ -573,7 +573,7 @@ const yoho = {
},
// 跳商品详情页
goProductDetail({skn, name}) {
goProductDetail({skn, name, articleId}) {
var url = window.location.protocol + '//m.yohobuy.com/';
if (this.isYohoBuy && window.yohoInterface) {
... ... @@ -581,7 +581,8 @@ const yoho = {
action: 'go.productDetail',
params: {
product_skn: skn,
from_page_name: name
from_page_name: name,
from_page_param: articleId
}
});
... ... @@ -596,7 +597,7 @@ const yoho = {
},
// 跳UFO商品详情页
goUfoProductDetail(skn) {
goUfoProductDetail(skn, name, articleId) {
var url = window.location.protocol + '//m.yohobuy.com/';
if (this.isYohoBuy && window.yohoInterface) {
... ... @@ -604,7 +605,9 @@ const yoho = {
action: 'go.ufo',
params: {
pagename: 'productDetail',
productId: skn
productId: skn,
from_page_name: name,
from_page_param: articleId
}
});
... ...
... ... @@ -125,9 +125,9 @@ export default {
let name = this.$yoho.isiOS ? 'iFP_ArticleList' : 'aFP_ArticleList';
if (this.product.productType === 1) {
this.$yoho.goProductDetail({skn, name});
this.$yoho.goProductDetail({skn, name, articleId: this.articleId});
} else if (this.product.productType === 2) {
this.$yoho.goUfoProductDetail({skn, name});
this.$yoho.goUfoProductDetail({skn, name, articleId: this.articleId});
}
this.reportProduct(skn);
... ...
... ... @@ -246,7 +246,7 @@ export default {
param: {
DATA: [{
P_NAME: name,
P_PARAM: this.$route.params.id,
P_PARAM: preview,
I_INDEX: index,
ARTICLE_ID: preview,
POS_ID: this.posId
... ...