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

This commit is contained in:
lifizer
2024-06-26 14:40:45 +08:00
parent ef2443dc58
commit f9b8ca6bf2
6 changed files with 184 additions and 83 deletions
+8 -2
View File
@@ -59,9 +59,12 @@
</template>
<script>
// 特产-城市商品列表
import { fetchNormal, getCategory } from "@/api/store"
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: 'NativeListPage',
mixins: [pageListenMixins],
data() {
return {
webUrl: this.$VUE_APP_RESOURCES_URL,
@@ -71,11 +74,14 @@ export default {
cityName: '',
page: 1,
listHeight: 'auto',
loading: false
loading: false,
pageKeyId: ''
}
},
onLoad(option) {
this.cityId = option.cityId
const cityId = option.cityId
this.cityId = cityId
this.pageKeyId = `goodsProductList_cityId_${cityId}`
this.init()
},
methods: {