From d2c9edfbd4ea92f497788f0116febdcad692fe09 Mon Sep 17 00:00:00 2001 From: xiaogang <825201136@qq.com> Date: Tue, 23 Jul 2024 10:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom.page.js | 6 ++-- src/pages.json | 13 ++------- src/pages/jlgh/index.vue | 59 +++++++++++++++++++++++++++++----------- src/pages/jlgh/login.vue | 26 +++++++++--------- src/types/uni-pages.d.ts | 3 +- vite.config.ts | 7 ----- vite.plugin.js | 2 +- 7 files changed, 64 insertions(+), 52 deletions(-) diff --git a/custom.page.js b/custom.page.js index 3a3be64..985cc49 100644 --- a/custom.page.js +++ b/custom.page.js @@ -3,10 +3,10 @@ import path from 'path' const config = { pages: './src/pages', - pagesInclude: ['jlgh/coupon.vue', 'jlgh/redeem.vue'], - // pagesInclude: ['jlgh/index.vue'], + // pagesInclude: ['jlgh/coupon.vue', 'jlgh/redeem.vue'], + pagesInclude: ['jlgh/index.vue'], // pagesInclude: ['jlgh/login.vue'], - // pagesInclude: ['index'], + // pagesInclude: ['jlgh'], } const { pages, pagesInclude } = config diff --git a/src/pages.json b/src/pages.json index c94603a..29209eb 100644 --- a/src/pages.json +++ b/src/pages.json @@ -15,19 +15,12 @@ }, "pages": [ { - "path": "pages/jlgh/coupon", + "path": "pages/jlgh/index", "type": "page", + "layout": "default", "style": { "navigationStyle": "custom", - "navigationBarTitleText": "我的奖品" - } - }, - { - "path": "pages/jlgh/redeem", - "type": "page", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "奖品兑换" + "navigationBarTitleText": "工行长春消费季" } } ], diff --git a/src/pages/jlgh/index.vue b/src/pages/jlgh/index.vue index 561a761..670239d 100644 --- a/src/pages/jlgh/index.vue +++ b/src/pages/jlgh/index.vue @@ -168,7 +168,7 @@