From e07b984728e0a97473b2954d097afac4a5c8b80a Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 27 Jun 2024 15:31:53 +0800 Subject: [PATCH] fix: 限期天数修改 --- pages/index/index.vue | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 603ec4c..07d33a8 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -27,29 +27,36 @@ myInfor, tabBar }, - onLoad(option) {}, + async onLoad() { + await this.$onLaunched + this.getData() + }, onReady() {}, onShow() { this.currIndex = '0' this.showTabBar = true }, - async mounted() { + onReachBottom() { + //������������������������������������������ + this.$refs.agencyPage.onBottom() + }, + mounted() { //������������������ - await this.$onLaunched this.token = uni.getStorageSync('tonken') + console.log('������������index���������', this.token) this.loading = false - this.getData() uni.$on('currIndex', data => { console.log('currIndexOn', data) this.currIndex = data.data.index this.showTabBar = data.data.showTabBar - this.$refs.agencyPage.getContaminateList() + this.$refs.agencyPage.setData() }) this.share.title = this.title }, methods: { getData() { - this.$refs.agencyPage.getContaminateList() + console.log('������������') + this.$refs.agencyPage.setData() }, handleChangeTabe(index) { if (index === 2) { @@ -75,4 +82,8 @@ } } </script> -<style></style> \ No newline at end of file +<style> + .newIndex { + width: calc(100vw); + } +</style> \ No newline at end of file -- Gitblit v1.8.0