Feat(页面):页面埋点配置
This commit is contained in:
@@ -37,14 +37,17 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getLogs, takePrize} from "@/api/lottery";
|
||||
import {getLogs, takePrize} from '@/api/lottery'
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
export default {
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL,
|
||||
loading: false,
|
||||
page: 1,
|
||||
list: []
|
||||
list: [],
|
||||
pageKeyId: Object.freeze('lotteryRecords')
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
@@ -98,15 +101,15 @@ export default {
|
||||
confirmText: '查看订单',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
console.log('用户点击确定');
|
||||
console.log('用户点击确定')
|
||||
uni.navigateTo({
|
||||
url: '/pages/order/MyOrder/index'
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
console.log('用户点击取消');
|
||||
console.log('用户点击取消')
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,9 +82,11 @@
|
||||
<script>
|
||||
import { getDetail, getPrize, takePrize, getLotteryShareInfo } from '@/api/lottery'
|
||||
import gbroMarquee from '../components/gbro-marquee/marquee.vue'
|
||||
import { pageListenMixins } from '@/mixins/pageListenMixins'
|
||||
|
||||
export default {
|
||||
components: { gbroMarquee },
|
||||
mixins: [pageListenMixins],
|
||||
data() {
|
||||
return {
|
||||
ready: false,
|
||||
@@ -114,7 +116,8 @@ export default {
|
||||
back_color: "red", //背景色
|
||||
},
|
||||
imgData: [],
|
||||
shareAppImg: ''
|
||||
shareAppImg: '',
|
||||
pageKeyId: Object.freeze('lotteryIndex')
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user