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
+16 -6
View File
@@ -430,12 +430,14 @@ import {
uploadImage,
chooseVideoToUpload
} from "@/utils"
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: "pkgJoinSupplier",
name: "PkgJoinSupplier",
components: {
CitySelect
},
mixins: [pageListenMixins],
data() {
return {
partnerId: "",
@@ -614,15 +616,23 @@ export default {
reviewStatus: null,
stateTitle: "",
stateType: "primary",
isPass: false
isPass: false,
pageKeyId: ''
}
},
onLoad(options) {
this.partnerId = options.partnerId || "";
this.formSupplier.subType = options.type;
this.infoTitle = options.type === "goods_supplier" ? "特产" : "文玩";
this.partnerId = options.partnerId || ''
const type = options.type
this.formSupplier.subType = type
if (type === 'goods_supplier') {
this.infoTitle = '特产'
this.pageKeyId = 'merchantApplyGoodsSupplier'
} else {
this.infoTitle = '文玩'
this.pageKeyId = 'merchantApplyWenwanSupplier'
}
uni.setNavigationBarTitle({
title: this.infoTitle + "供应商入驻"
title: this.infoTitle + '供应商入驻'
})
this.init();
},