feat(second): 修改埋点上报 reviewed by tao.huang
Showing
1 changed file
with
10 additions
and
5 deletions
@@ -45,7 +45,12 @@ | @@ -45,7 +45,12 @@ | ||
45 | <p>{{ info.describeInfo }}</p> | 45 | <p>{{ info.describeInfo }}</p> |
46 | </div> | 46 | </div> |
47 | <div class="extra-card" @click="$router.push({name: 'ProductDetail', params: { productId: info.productId } })"> | 47 | <div class="extra-card" @click="$router.push({name: 'ProductDetail', params: { productId: info.productId } })"> |
48 | - <img-size class='image' :src="info.image" :width="70" :height="70" /> | 48 | + <image-format |
49 | + :alt="info.image" | ||
50 | + :src="info.image" | ||
51 | + :width="70" | ||
52 | + :height="70" | ||
53 | + /> | ||
49 | <div class="middle" @click="'productId'"> | 54 | <div class="middle" @click="'productId'"> |
50 | <p class="name ellipsis">{{ info.productName }}</p> | 55 | <p class="name ellipsis">{{ info.productName }}</p> |
51 | <p class="number ellipsis">货号 {{ info.productCode }}</p> | 56 | <p class="number ellipsis">货号 {{ info.productCode }}</p> |
@@ -99,7 +104,7 @@ export default { | @@ -99,7 +104,7 @@ export default { | ||
99 | yasParams: { | 104 | yasParams: { |
100 | TAB_ID: '', | 105 | TAB_ID: '', |
101 | TAB_NAME: '', | 106 | TAB_NAME: '', |
102 | - PRD_ID: '', | 107 | + PRD_ID: '' |
103 | } | 108 | } |
104 | }, | 109 | }, |
105 | // 服务端渲染函数 | 110 | // 服务端渲染函数 |
@@ -118,8 +123,6 @@ export default { | @@ -118,8 +123,6 @@ export default { | ||
118 | created() {}, | 123 | created() {}, |
119 | mounted() {}, | 124 | mounted() {}, |
120 | activated() { | 125 | activated() { |
121 | - console.log(this.info); | ||
122 | - | ||
123 | this.fetchDetailById({ skup: this.skup }) | 126 | this.fetchDetailById({ skup: this.skup }) |
124 | this.refresh(); | 127 | this.refresh(); |
125 | 128 | ||
@@ -134,11 +137,13 @@ export default { | @@ -134,11 +137,13 @@ export default { | ||
134 | */ | 137 | */ |
135 | // let { TAB_ID, TAB_NAME, PRD_ID } = this.yasParams; | 138 | // let { TAB_ID, TAB_NAME, PRD_ID } = this.yasParams; |
136 | 139 | ||
140 | + console.log(this.yasParams); | ||
141 | + | ||
137 | this.$store.dispatch('reportYas', { | 142 | this.$store.dispatch('reportYas', { |
138 | params: { | 143 | params: { |
139 | appop: 'XY_UFO_PRD_DT_INFO', | 144 | appop: 'XY_UFO_PRD_DT_INFO', |
140 | param:{ | 145 | param:{ |
141 | - FP_NAME: `XY_UFO${this.$route.name}`, | 146 | + FP_NAME: `XY_UFO${this.yasParams?.P_NAME}`, |
142 | FP_PARAM: this.skup, | 147 | FP_PARAM: this.skup, |
143 | TAB_ID: this.yasParams?.TAB_ID, | 148 | TAB_ID: this.yasParams?.TAB_ID, |
144 | TAB_NAME: this.yasParams?.TAB_NAME, | 149 | TAB_NAME: this.yasParams?.TAB_NAME, |
-
Please register or login to post a comment