From 7372eed3e26d29ea274eb6c490abb50877d09486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Wed, 8 Oct 2025 12:09:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(pages):=20=E6=B7=BB=E5=8A=A0=E5=B0=8F?= =?UTF-8?q?=E5=8C=BA=E6=A6=82=E8=A7=88=E9=A1=B5=E9=9D=A2=E5=B9=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE-=20=E5=9C=A8=20cu?= =?UTF-8?q?stomTabbar.vue=20=E4=B8=AD=E6=96=B0=E5=A2=9E=E5=B0=8F=E5=8C=BA?= =?UTF-8?q?=20tab=20=E9=A1=B9=E5=B9=B6=E8=B0=83=E6=95=B4=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=80=BB=E8=BE=91-=20=E5=9C=A8=20pages.json=20=E4=B8=AD?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E5=B0=8F=E5=8C=BA=E6=A6=82=E8=A7=88=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B7=AF=E5=BE=84=E5=92=8C=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E6=A0=87=E9=A2=98=20-=20=E6=9B=B4=E6=96=B0=20manifest.json=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=B0=8F=E7=A8=8B=E5=BA=8F=20appid=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE-=20=E5=8D=87=E7=BA=A7=20sass=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=89=88=E6=9C=AC=E4=BB=8E=201.89.2=20=E5=88=B0=201.9?= =?UTF-8?q?0.0=20-=20=E6=B7=BB=E5=8A=A0=20dayjs=20=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E7=89=88=E6=9C=AC1.11.13=20-=20=E5=9C=A8=20api/bill.js=20?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E5=B0=8F=E5=8C=BA=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/bill.js | 2 ++ components/customTabbar.vue | 8 +++++++- manifest.json | 1 - package-lock.json | 14 ++++++++++++++ package.json | 2 +- pages.json | 13 +++++++++++++ pnpm-lock.yaml | 2 +- 7 files changed, 38 insertions(+), 4 deletions(-) diff --git a/api/bill.js b/api/bill.js index 93ccef1..730a8a6 100644 --- a/api/bill.js +++ b/api/bill.js @@ -3,3 +3,5 @@ import post, {get} from "@/api/request"; export const listBillReq = (params, getTask) => get('/zhsq/zhsq-tollcenter-record-bill-estate/userList', {params, getTask}) export const makePayReq = data => post('/union-pay/make-pay', data) + +// https://xq-api.ggsxiangan.com/api/zhsq/zhsq-base-village?withFeeItem=true&withPopulation=true \ No newline at end of file diff --git a/components/customTabbar.vue b/components/customTabbar.vue index 792a951..8d3a454 100644 --- a/components/customTabbar.vue +++ b/components/customTabbar.vue @@ -46,6 +46,12 @@ export default { "selectedIconPath": "static/tabbar/service-active.png", "text": "服务" }, + { + "pagePath": "pages/community/index", + "iconPath": "static/tabbar/xiaoqu.png", + "selectedIconPath": "static/tabbar/xiaoqu-active.png", + "text": "小区" + }, { "pagePath": "pages/index/index", "iconPath": "static/tabbar/store.png", @@ -67,7 +73,7 @@ export default { tabClick(val) { console.log('val', val) if (val === 0 && this.current === 0) this.$jump('/pages/index/index') - if (val === 2) { + if (val === 3) { uni.navigateToMiniProgram({ appId: 'wxad2376fd45fb7eca', complete() { diff --git a/manifest.json b/manifest.json index 1d88628..ebfb542 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,6 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - // "appid" : "wxd1adb2bb3c51298c", "appid" : "wx9a7a82430d0bdd6c", "setting" : { "urlCheck" : false, diff --git a/package-lock.json b/package-lock.json index 3f0baf7..47e5601 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,9 @@ "requires": true, "packages": { "": { + "dependencies": { + "dayjs": "^1.11.13" + }, "devDependencies": { "sass": "^1.89.2", "sass-loader": "^16.0.5" @@ -333,6 +336,12 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/dayjs": { + "version": "1.11.18", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.18.tgz", + "integrity": "sha512-zFBQ7WFRvVRhKcWoUh+ZA1g2HVgUbsZm9sbddh8EC5iv93sui8DVVz1Npvz+r6meo9VKfa8NyLWBsQK1VvIKPA==", + "license": "MIT" + }, "node_modules/detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-1.0.3.tgz", @@ -671,6 +680,11 @@ "readdirp": "^4.0.1" } }, + "dayjs": { + "version": "1.11.18", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.18.tgz", + "integrity": "sha512-zFBQ7WFRvVRhKcWoUh+ZA1g2HVgUbsZm9sbddh8EC5iv93sui8DVVz1Npvz+r6meo9VKfa8NyLWBsQK1VvIKPA==" + }, "detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-1.0.3.tgz", diff --git a/package.json b/package.json index 4f7956c..08d0760 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "sass": "^1.89.2", + "sass": "^1.90.0", "sass-loader": "^16.0.5" }, "dependencies": { diff --git a/pages.json b/pages.json index ad6e050..6927c69 100644 --- a/pages.json +++ b/pages.json @@ -92,6 +92,13 @@ "style": { "navigationBarTitleText": "我的房产" } + }, + { + "path" : "pages/community/index", + "style" : + { + "navigationBarTitleText" : "小区概览" + } } ], "subPackages": [ @@ -272,6 +279,12 @@ "iconPath": "static/service.png", "selectedIconPath": "static/service-active.png" }, + { + "pagePath": "pages/community/index", + "text": "小区", + "iconPath": "static/xiaoqu.png", + "selectedIconPath": "static/xiaoqu-active.png" + }, { "pagePath": "pages/store/index", "text": "商城", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cd0638c..ee3fd63 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.11.13 devDependencies: sass: - specifier: ^1.89.2 + specifier: ^1.90.0 version: 1.90.0 sass-loader: specifier: ^16.0.5