Commit d10786c0 authored by ly's avatar ly

pv

parent 84d291ed
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
} }
}, },
onLoad() { onLoad() {
this.buryingPoint('app:Ineed_pageView')
this.init() this.init()
}, },
methods: { methods: {
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
}, },
onLoad() { onLoad() {
this.init() this.init()
this.buryingPoint('app:application_pageView')
}, },
methods: { methods: {
init(){ init(){
......
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
}, },
onLoad() { onLoad() {
this.init() this.init()
this.buryingPoint('app:category_pageView')
}, },
methods: { methods: {
init(){ init(){
......
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
} }
}, },
onLoad() {
this.buryingPoint('app:detailResult_pageView')
},
methods: { methods: {
goBtn(){ goBtn(){
this.Go('uni:/pages/index/index','tab') this.Go('uni:/pages/index/index','tab')
......
...@@ -145,7 +145,8 @@ export default { ...@@ -145,7 +145,8 @@ export default {
async onShow() { async onShow() {
// 首页流量埋点 // 首页流量埋点
this.buryingPoint('app:index_page_view') this.buryingPoint('app:index_page_view')
this.buryingPoint('app:index_pageView')
await this.initAjax(); await this.initAjax();
initSettings() initSettings()
......
...@@ -50,6 +50,7 @@ export default { ...@@ -50,6 +50,7 @@ export default {
}, },
onLoad() { onLoad() {
this.init() this.init()
this.buryingPoint('app:login_pageView')
}, },
methods: { methods: {
init() { init() {
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
this.titleText=options.loanStatus this.titleText=options.loanStatus
this.goodType=2 this.goodType=2
} }
this.buryingPoint('app:lookGoods_pageView')
this.init() this.init()
}, },
methods: { methods: {
......
...@@ -72,6 +72,7 @@ export default { ...@@ -72,6 +72,7 @@ export default {
this.initPawn() this.initPawn()
}, },
onShow() { onShow() {
this.buryingPoint('app:my_pageView')
this.init(); this.init();
this.initPawn() this.initPawn()
}, },
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
} }
}, },
onLoad() { onLoad() {
this.buryingPoint('app:myneed_pageView')
}, },
methods: { methods: {
needSubmit(){ needSubmit(){
......
...@@ -91,6 +91,7 @@ ...@@ -91,6 +91,7 @@
}, },
onLoad(options) { onLoad(options) {
const token=uni.getStorageSync('token') const token=uni.getStorageSync('token')
this.buryingPoint('app:productDetails_pageView')
this.token=token this.token=token
if(options){ if(options){
const { goodId, }=JSON.parse(options.mydata) const { goodId, }=JSON.parse(options.mydata)
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
if(options){ if(options){
this.proList=JSON.parse(options.mydata) this.proList=JSON.parse(options.mydata)
} }
this.buryingPoint('app:prolist_pageView')
}, },
methods: { methods: {
......
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
} }
}, },
onLoad() { onLoad() {
console.log('onLoad')
this.buryingPoint('app:recruit_pageView')
}, },
methods: { methods: {
goSubmit(){ goSubmit(){
...@@ -99,6 +100,7 @@ ...@@ -99,6 +100,7 @@
} }
}, },
onShow() { onShow() {
console.log('onshow')
} }
} }
......
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
} }
}, },
onLoad(){
this.buryingPoint('app:recruitResult_pageView')
},
methods: { methods: {
goBtn(){ goBtn(){
this.Go('uni:/pages/index/index','tab') this.Go('uni:/pages/index/index','tab')
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
onLoad() { onLoad() {
let self = this; let self = this;
self.init() self.init()
self.buryingPoint('app:setting_pageView')
self.token=uni.getStorageSync('token') self.token=uni.getStorageSync('token')
plus.cache.calculate(size => { plus.cache.calculate(size => {
if (size < 1024) { if (size < 1024) {
......
...@@ -139,6 +139,7 @@ ...@@ -139,6 +139,7 @@
} }
}, },
onShow() { onShow() {
this.buryingPoint('app:sort_pageView')
this.init() this.init()
this.initSearch() this.initSearch()
initSettings() initSettings()
......
...@@ -27,6 +27,9 @@ export default { ...@@ -27,6 +27,9 @@ export default {
desQuest: '' desQuest: ''
} }
}, },
onLoad() {
this.buryingPoint('app:useFeed_pageView')
},
methods: { methods: {
needSubmit() { needSubmit() {
const content = this.desQuest; const content = this.desQuest;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment