Commit 5fd8c4f3 authored by 黄奎's avatar 黄奎
parents 0d4eef78 9600f1a8
......@@ -845,6 +845,17 @@ var tripUtils = {
}
return url;
},
// b2c首页系列url
GetB2CHomeSeriesUrl(B2BDomain, ConfigId, tcid) {
var url = "";
if (B2BDomain) {
url = "http://" + B2BDomain + "/#/detailsProduct/" +
tcid +
"/" +
ConfigId;
}
return url;
},
//跳转到B2C页面
GotoB2CPage(B2BDomain, ConfigId, tcid) {
if (B2BDomain) {
......
......@@ -354,7 +354,8 @@
this.dataList.forEach((item) => {
if (item.Checked) {
obj.MenuName = item.Title;
obj.MenuUrl = this.$tripUtils.GetB2BUrl(domainUrl, item.ConfigId, item.TCID);
// obj.MenuUrl = this.$tripUtils.GetB2BUrl(domainUrl, item.ConfigId, item.TCID);
obj.MenuUrl = this.$tripUtils.GetB2CHomeSeriesUrl(domainUrl, item.ID, item.TCIDEnStr);
if (item.ImgCover && item.ImgCover.length > 0) {
obj.ImgUrl = item.ImgCover[0].Url;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment