|
@@ -1,6 +1,6 @@
|
|
var productDetail = new Vue({
|
|
var productDetail = new Vue({
|
|
el: "#productDetail",
|
|
el: "#productDetail",
|
|
- mixins: [beautyArchiveDetailMixin],
|
|
|
|
|
|
+ mixins: [beautyArchiveDetailMixin,cmSysVitaMixins],
|
|
data: {
|
|
data: {
|
|
showProduct: false,
|
|
showProduct: false,
|
|
productId: 0,
|
|
productId: 0,
|
|
@@ -183,6 +183,7 @@ var productDetail = new Vue({
|
|
_self.recommendType = product.recommendType ? product.recommendType : 0;
|
|
_self.recommendType = product.recommendType ? product.recommendType : 0;
|
|
_self.archiveId = product.archiveId; // 保存资料列表id
|
|
_self.archiveId = product.archiveId; // 保存资料列表id
|
|
_self.productDetailChose = product.productDetailChose; // 同资质机构显示商品详情
|
|
_self.productDetailChose = product.productDetailChose; // 同资质机构显示商品详情
|
|
|
|
+ _self.cmSysParams.pageLabel = `${product.smallTypeName}${product.brandName?product.brandName:''}`;//设置统计数据标签
|
|
if(product.shopType == 2){
|
|
if(product.shopType == 2){
|
|
_self.isShowCaimeiShop = true
|
|
_self.isShowCaimeiShop = true
|
|
}
|
|
}
|
|
@@ -817,6 +818,8 @@ var productDetail = new Vue({
|
|
},
|
|
},
|
|
created: function () {
|
|
created: function () {
|
|
this.productId = this.couponParam.productId = this.listQuery.productId = $("#productId").val();
|
|
this.productId = this.couponParam.productId = this.listQuery.productId = $("#productId").val();
|
|
|
|
+ this.cmSysParams.pageType = '新商品详情';
|
|
|
|
+ this.cmSysParams.productId = this.productId;
|
|
this.typeId = $("#typeId").val();
|
|
this.typeId = $("#typeId").val();
|
|
console.log('typeId', this.typeId)
|
|
console.log('typeId', this.typeId)
|
|
this.userId = this.couponParam.userId = this.listQuery.userId = GLOBAL_USER_ID;
|
|
this.userId = this.couponParam.userId = this.listQuery.userId = GLOBAL_USER_ID;
|