...
|
...
|
@@ -26,7 +26,7 @@ |
|
|
|
|
|
<div class="info-basic">
|
|
|
<div class="info-price">
|
|
|
<template v-if="productDetail.least_price == null">{{'\u200E'}}</template>
|
|
|
<template v-if="price == null">{{'\u200E'}}</template>
|
|
|
<template v-else><i>¥</i>{{price}}</template>
|
|
|
</div>
|
|
|
<div class="info-name"><div>{{productDetail.product_name}}</div></div>
|
...
|
...
|
@@ -187,7 +187,6 @@ export default { |
|
|
...mapState(['resourceContentCode']),
|
|
|
productDec() {
|
|
|
const goods = get(this.productDetail, 'goods_list[0]', {});
|
|
|
|
|
|
const descList = [
|
|
|
{
|
|
|
text: '颜色',
|
...
|
...
|
@@ -207,7 +206,8 @@ export default { |
|
|
value: this.productDetail.product_code
|
|
|
}
|
|
|
];
|
|
|
if(this.productDetail.offer_price) {
|
|
|
|
|
|
if (this.productDetail.offer_price) {
|
|
|
descList.splice(-1, 0, {
|
|
|
text: '发售价格',
|
|
|
value: this.productDetail.offer_price
|
...
|
...
|
@@ -232,6 +232,10 @@ export default { |
|
|
price.push(this.productDetail.second_hand_least_price);
|
|
|
}
|
|
|
|
|
|
if (price.length === 0) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
return Math.min(...price);
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -718,7 +722,7 @@ export default { |
|
|
params: {
|
|
|
skup: tradeProduct.skup,
|
|
|
yasParams: {
|
|
|
P_NAME: 'productDetail',
|
|
|
P_NAME: 'XY_UFO' + this.$route.name,
|
|
|
PRD_ID: tradeProduct.productId
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -806,6 +810,7 @@ export default { |
|
|
});
|
|
|
this.$xianyu.goXianyuNewPage({ url });
|
|
|
},
|
|
|
|
|
|
/*
|
|
|
* @ description: 配置打开闲鱼导航栏右上角分享按钮 && 配置分享信息 && 上报数据埋点
|
|
|
* @ author: huzhiming
|
...
|
...
|
@@ -819,7 +824,7 @@ export default { |
|
|
* @ date: 2019-11-13 20:36:00
|
|
|
* @ version: v1.0.0
|
|
|
*/
|
|
|
if (get(this.$route, 'query.shareUserId', '') != '') {
|
|
|
if (get(this.$route, 'query.shareUserId', '') !== '') {
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
appop: 'XY_SHARE_SUCCESS_L',
|
...
|
...
|
@@ -845,6 +850,7 @@ export default { |
|
|
}
|
|
|
});
|
|
|
},
|
|
|
|
|
|
// [数据上报]@hooks: 点击对应分享平台触发
|
|
|
XY_SHARE_TYPE: (data) => {
|
|
|
this.$store.dispatch('reportYas', {
|
...
|
...
|
|