Authored by huzhiming

feat(second): 修改埋点上报 reviewed by tao.huang

... ... @@ -45,7 +45,12 @@
<p>{{ info.describeInfo }}</p>
</div>
<div class="extra-card" @click="$router.push({name: 'ProductDetail', params: { productId: info.productId } })">
<img-size class='image' :src="info.image" :width="70" :height="70" />
<image-format
:alt="info.image"
:src="info.image"
:width="70"
:height="70"
/>
<div class="middle" @click="'productId'">
<p class="name ellipsis">{{ info.productName }}</p>
<p class="number ellipsis">货号 {{ info.productCode }}</p>
... ... @@ -99,7 +104,7 @@ export default {
yasParams: {
TAB_ID: '',
TAB_NAME: '',
PRD_ID: '',
PRD_ID: ''
}
},
// 服务端渲染函数
... ... @@ -118,8 +123,6 @@ export default {
created() {},
mounted() {},
activated() {
console.log(this.info);
this.fetchDetailById({ skup: this.skup })
this.refresh();
... ... @@ -134,11 +137,13 @@ export default {
*/
// let { TAB_ID, TAB_NAME, PRD_ID } = this.yasParams;
console.log(this.yasParams);
this.$store.dispatch('reportYas', {
params: {
appop: 'XY_UFO_PRD_DT_INFO',
param:{
FP_NAME: `XY_UFO${this.$route.name}`,
FP_NAME: `XY_UFO${this.yasParams?.P_NAME}`,
FP_PARAM: this.skup,
TAB_ID: this.yasParams?.TAB_ID,
TAB_NAME: this.yasParams?.TAB_NAME,
... ...