Feat(页面):页面埋点配置

This commit is contained in:
lifizer
2024-06-17 23:13:22 +08:00
parent 19914b5b0d
commit cef0177716
55 changed files with 552 additions and 377 deletions
+7 -1
View File
@@ -225,10 +225,12 @@ import {
cartGoodChangeAttr
} from '@/api/store'
import CheckboxIcon from '@/components/CheckboxIcon.vue'
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
components: {
CheckboxIcon
},
mixins: [pageListenMixins],
data() {
return {
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
@@ -241,7 +243,8 @@ export default {
productAttr: [],
productValueArr: []
},
showAttr: false
showAttr: false,
pageKeyId: Object.freeze('landmarkGoodsIndex')
}
},
computed: {
@@ -274,6 +277,9 @@ export default {
this.closeAttr()
this.getCart()
},
onHide() {
this.pageToHideHandle()
},
methods: {
async getCart() {
const res = await getCartGroup()