From 06c85a31bc78f3a27859fd618a583a99d9605ed1 Mon Sep 17 00:00:00 2001 From: ylj20011123 Date: Mon, 9 Feb 2026 19:34:32 +0800 Subject: [PATCH] update --- App.vue | 4 +++ pages/index/index.vue | 26 +++++++++++++++++-- pages/nationalPage/merchantRevenue.vue | 12 ++++----- pages/nationalPage/rankPage.vue | 5 ++-- pages/nationalPage/springTravel.vue | 35 +++++++++++++++++++++++--- pages/operatingStatements/index.vue | 2 +- 6 files changed, 70 insertions(+), 14 deletions(-) diff --git a/App.vue b/App.vue index b1beaa4..eedd4c1 100644 --- a/App.vue +++ b/App.vue @@ -6,6 +6,9 @@ export default { computed: { ...mapGetters({ user: "getUser" }), }, + globalData: { + isSkip: "",// 判断是否跳转过 + }, methods: { ...mapActions(["memberLogin", "getLoginCode"]), ...mapMutations(["setVisitChannels"]), @@ -29,6 +32,7 @@ export default { }, }, onLaunch: function (options) { + uni.setStorageSync('isSkip', '') uni.getSystemInfo({ success: function (e) { // #ifndef MP diff --git a/pages/index/index.vue b/pages/index/index.vue index 63e2b57..6904526 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -4378,8 +4378,18 @@ export default { } if (!this.isShowFestival) { this.isShowFestival = "other"; + uni.setStorageSync("festival", this.isShowFestival); + } else { + let isSkip = uni.getStorageSync('isSkip') + if (!isSkip) { + this.$util.toNextRoute( + "navigateTo", + `/pages/nationalPage/springTravel?selectType=2` + ); + uni.setStorageSync('isSkip', true) + } + uni.setStorageSync("festival", this.isShowFestival); } - uni.setStorageSync("festival", this.isShowFestival); await this.getData(this.option); } @@ -4448,10 +4458,22 @@ export default { this.currentFestivalObj = obj } } + if (!this.isShowFestival) { this.isShowFestival = "other"; + uni.setStorageSync("festival", this.isShowFestival); + } else { + let isSkip = uni.getStorageSync('isSkip') + if (!isSkip) { + this.$util.toNextRoute( + "navigateTo", + `/pages/nationalPage/springTravel?selectType=2` + ); + uni.setStorageSync('isSkip', true) + } + uni.setStorageSync("festival", this.isShowFestival); } - uni.setStorageSync("festival", this.isShowFestival); + // 顶部显示的时间 this.single = timestampToTimeMonth(new Date(this.lastDay).getTime()); diff --git a/pages/nationalPage/merchantRevenue.vue b/pages/nationalPage/merchantRevenue.vue index 6410d5a..b82db38 100644 --- a/pages/nationalPage/merchantRevenue.vue +++ b/pages/nationalPage/merchantRevenue.vue @@ -43,7 +43,7 @@ {{ springService.SERVERPART_NAME - }} + }}

{{ springService.SPREGIONTYPE_NAME }}

@@ -59,8 +59,8 @@ 请输入想看的服务区 - + @@ -161,7 +161,7 @@ {{ `${curYear.toString().slice(2, 4)}年` - }} + }} {{ `23年${type === 1 ? '销售' : type === 2 ? '营收' : type === 3 ? '车流' : ''}` }}--> {{ `${compareYear.toString().slice(2, 4)}年` - }} + }}
{{ item.ServerpartShopName || "-" - }}
+ }}
{{ diff --git a/pages/nationalPage/rankPage.vue b/pages/nationalPage/rankPage.vue index 60db332..fb7db56 100644 --- a/pages/nationalPage/rankPage.vue +++ b/pages/nationalPage/rankPage.vue @@ -34,9 +34,9 @@ " :style="{ height: menu.height + menu.top + 'px', top: 0 + 'px' }"> - + src="https://eshangtech.com/ShopICO/ahyd-BID/examine/customerSales.svg" /> -->
@@ -838,6 +838,7 @@ export default { let m = time.getMonth() + 1; let d = time.getDate(); this.allDateDay = `${m < 10 ? "0" + m : m}月${d < 10 ? "0" + d : d}日`; + } else { this.currentScroll = "item" + date; const time = new Date(date); diff --git a/pages/nationalPage/springTravel.vue b/pages/nationalPage/springTravel.vue index 037e218..55cd788 100644 --- a/pages/nationalPage/springTravel.vue +++ b/pages/nationalPage/springTravel.vue @@ -70,6 +70,10 @@ }} + + + 数智助手 + + /共统计节日数据{{ currentDayNumber }}天