|
@@ -250,19 +250,19 @@ var productDetail = new Vue({
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- handleSysPgeLabe(product){// 设置统计标签
|
|
|
- var $pageLabel = '';
|
|
|
- if(product.relatedLabels){
|
|
|
- return product.relatedLabels
|
|
|
+ handleSysPgeLabe(pro){// 设置统计标签
|
|
|
+ var pageLabel = '';
|
|
|
+ if(pro.relatedLabels){
|
|
|
+ return pro.relatedLabels
|
|
|
}else{
|
|
|
- if(product.tinyTypeName){
|
|
|
- $pageLabel = product.tinyTypeName
|
|
|
- }else if(!product.tinyTypeName && product.smallTypeName){
|
|
|
- $pageLabel = product.smallTypeName
|
|
|
+ if(pro.tinyTypeName){
|
|
|
+ pageLabel = pro.tinyTypeName
|
|
|
+ }else if(!pro.tinyTypeName && pro.smallTypeName){
|
|
|
+ pageLabel = pro.smallTypeName
|
|
|
}else{
|
|
|
- $pageLabel = product.bigTypeName
|
|
|
+ pageLabel = pro.bigTypeName
|
|
|
}
|
|
|
- return `${$pageLabel}-${product.brandName?product.brandName:''}`
|
|
|
+ return `${pageLabel}-${pro.brandName?pro.brandName:''}`
|
|
|
}
|
|
|
},
|
|
|
handleShowProductType: function (flag = ''){
|