Feat(页面):页面埋点配置
This commit is contained in:
@@ -125,9 +125,10 @@ import {
|
||||
getUserPointInfo,
|
||||
getUserPointBill
|
||||
} from '@/api/user'
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
export default {
|
||||
name: 'UserPoints',
|
||||
props: {},
|
||||
mixins: [pageListenMixins],
|
||||
data: function() {
|
||||
return {
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL,
|
||||
@@ -145,7 +146,8 @@ export default {
|
||||
totalUsedPoints: 0, // 累计使用积分
|
||||
pointsRule: ''
|
||||
},
|
||||
show: false
|
||||
show: false,
|
||||
pageKeyId: Object.freeze('userPointsBill')
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
@@ -251,8 +251,10 @@ import {
|
||||
} from "@/api/user"
|
||||
import {isWeixin} from "@/utils"
|
||||
import cookie from "@/utils/store/cookie"
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
export default {
|
||||
name: 'UserPage',
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
|
||||
@@ -330,7 +332,8 @@ export default {
|
||||
}
|
||||
],
|
||||
bannerBgUrl: '',
|
||||
userCenterBannerUrl: ''
|
||||
userCenterBannerUrl: '',
|
||||
pageKeyId: Object.freeze('userIndex')
|
||||
}
|
||||
},
|
||||
computed: mapGetters(['userInfo']),
|
||||
|
||||
@@ -30,12 +30,13 @@
|
||||
<script>
|
||||
import { getCommissionInfo } from "@/api/user";
|
||||
import Loading from "@/components/Loading";
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
export default {
|
||||
name: "UserBill",
|
||||
components: {
|
||||
Loading
|
||||
},
|
||||
props: {},
|
||||
mixins: [pageListenMixins],
|
||||
data: function() {
|
||||
return {
|
||||
types: 0,
|
||||
@@ -45,7 +46,8 @@ export default {
|
||||
},
|
||||
list: [],
|
||||
loaded: false,
|
||||
loading: false
|
||||
loading: false,
|
||||
pageKeyId: Object.freeze('userBalanceBill')
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
||||
@@ -55,13 +55,14 @@ import attrs, {chs_extphone, required} from "@/utils/validate";
|
||||
import {validatorDefaultCatch} from "@/utils/dialog";
|
||||
// import { openAddress } from "@/libs/wechat";
|
||||
import {isWeixin} from "@/utils";
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
|
||||
export default {
|
||||
name: "AddAddress",
|
||||
components: {
|
||||
CitySelect
|
||||
},
|
||||
computed: {},
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
district: [],
|
||||
@@ -69,7 +70,8 @@ export default {
|
||||
userAddress: {isDefault: 0},
|
||||
address: {},
|
||||
isWechat: isWeixin(),
|
||||
addressText: ""
|
||||
addressText: "",
|
||||
pageKeyId: Object.freeze('userAddressEdit')
|
||||
};
|
||||
},
|
||||
mounted: function () {
|
||||
|
||||
@@ -81,11 +81,13 @@
|
||||
import {getAddressDefaultSet, getAddressList, getAddressRemove} from "@/api/user";
|
||||
import Loading from "@/components/Loading";
|
||||
import {isWeixin} from "@/utils";
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Loading
|
||||
},
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL,
|
||||
@@ -96,7 +98,8 @@ export default {
|
||||
loadTitle: "",
|
||||
loading: false,
|
||||
loadend: false,
|
||||
isWechat: isWeixin()
|
||||
isWechat: isWeixin(),
|
||||
pageKeyId: Object.freeze('userAddressIndex')
|
||||
};
|
||||
},
|
||||
mounted: function () {
|
||||
|
||||
@@ -41,13 +41,14 @@
|
||||
<script>
|
||||
import { getCommissionInfo, getSpreadInfo } from "@/api/user";
|
||||
import Loading from "@/components/Loading";
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
|
||||
export default {
|
||||
name: "CommissionDetails",
|
||||
components: {
|
||||
Loading
|
||||
},
|
||||
props: {},
|
||||
mixins: [pageListenMixins],
|
||||
data: function() {
|
||||
return {
|
||||
info: [],
|
||||
@@ -58,7 +59,8 @@ export default {
|
||||
},
|
||||
types: 9,//3,
|
||||
loaded: false,
|
||||
loading: false
|
||||
loading: false,
|
||||
pageKeyId: Object.freeze('userSpreadBill')
|
||||
};
|
||||
},
|
||||
mounted: function() {
|
||||
|
||||
@@ -126,13 +126,14 @@
|
||||
<script>
|
||||
import {getSpreadUser} from "@/api/user";
|
||||
import Loading from "@/components/Loading";
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
|
||||
export default {
|
||||
name: "PromoterList",
|
||||
components: {
|
||||
Loading
|
||||
},
|
||||
props: {},
|
||||
mixins: [pageListenMixins],
|
||||
data: function () {
|
||||
return {
|
||||
fixedState: false,
|
||||
@@ -153,7 +154,8 @@ export default {
|
||||
loadTitle: "",
|
||||
first: "",
|
||||
second: "",
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL,
|
||||
pageKeyId: Object.freeze('userSpreadStat')
|
||||
};
|
||||
},
|
||||
mounted: function () {
|
||||
|
||||
@@ -62,12 +62,13 @@
|
||||
<script>
|
||||
import { getSpreadOrder, getUserSpreadRule } from "@/api/user";
|
||||
import Loading from "@/components/Loading";
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
export default {
|
||||
name: "PromoterOrder",
|
||||
components: {
|
||||
Loading
|
||||
},
|
||||
props: {},
|
||||
mixins: [pageListenMixins],
|
||||
data: function() {
|
||||
return {
|
||||
list: [],
|
||||
@@ -79,7 +80,8 @@ export default {
|
||||
loading: false,
|
||||
loadTitle: '',
|
||||
count: '',
|
||||
ruleText: ''
|
||||
ruleText: '',
|
||||
pageKeyId: Object.freeze('userSpreadOrder')
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -100,11 +100,11 @@
|
||||
|
||||
|
||||
import { getSpreadInfo } from "@/api/user";
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
|
||||
export default {
|
||||
name: "UserPromotion",
|
||||
components: {},
|
||||
props: {},
|
||||
mixins: [pageListenMixins],
|
||||
data: function() {
|
||||
return {
|
||||
Info: {
|
||||
@@ -112,7 +112,8 @@ export default {
|
||||
extractCount: 0,
|
||||
commissionCount: 0
|
||||
},
|
||||
webUrl:this.$VUE_APP_RESOURCES_URL
|
||||
webUrl:this.$VUE_APP_RESOURCES_URL,
|
||||
pageKeyId: Object.freeze('userSpreadIndex')
|
||||
};
|
||||
},
|
||||
mounted: function() {
|
||||
|
||||
Reference in New Issue
Block a user