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
+8 -5
View File
@@ -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('用户点击取消')
}
}
});
})
}
}
}