From 2f7e887a73f4791980cffb130153e65bcf320ab8 Mon Sep 17 00:00:00 2001 From: xiaogang <825201136@qq.com> Date: Tue, 20 Aug 2024 17:57:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- custom.page.js | 4 +- env/.env.production | 8 +- index.html | 36 +++++---- src/pages.json | 4 +- src/pages/jlgh/api.ts | 17 ++++ src/pages/jlgh/coupon.vue | 1 + src/pages/jlgh/index.vue | 2 +- src/pages/jlgh/login.vue | 21 ++--- src/pages/jlgh/redeem.vue | 165 +++++++++++++++++++++++++++++++++++--- src/types/uni-pages.d.ts | 2 +- src/utils/index.ts | 35 ++++++++ 12 files changed, 247 insertions(+), 50 deletions(-) diff --git a/.gitignore b/.gitignore index 91c18bc..3197009 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ lerna-debug.log* node_modules .DS_Store -# dist +dist *.local # Editor directories and files diff --git a/custom.page.js b/custom.page.js index d31406f..085935b 100644 --- a/custom.page.js +++ b/custom.page.js @@ -8,8 +8,8 @@ const config = { pages: './src/pages', // pagesInclude: ['jlgh/coupon.vue', 'jlgh/redeem.vue'], // pagesInclude: ['jlgh/index.vue'], - // pagesInclude: ['jlgh/login.vue'], - pagesInclude: ['index'], + pagesInclude: ['jlgh/login.vue'], + // pagesInclude: ['jlgh'], } const { pages, pagesInclude } = config diff --git a/env/.env.production b/env/.env.production index 1196dbc..18f4087 100644 --- a/env/.env.production +++ b/env/.env.production @@ -7,12 +7,12 @@ VITE_SHOW_SOURCEMAP = false # VITE_APP_PUBLIC_BASE = ./ # 测试线上 -# VITE_SERVER_BASEURL = 'https://gateway.dev.cdlsxd.cn' +VITE_SERVER_BASEURL = 'https://gateway.dev.cdlsxd.cn' # 正式环境 -VITE_SERVER_BASEURL = 'https://scens.h5.86698.cn' +# VITE_SERVER_BASEURL = 'https://scens.h5.86698.cn' # VITE_APP_PROXY = true # 测试线上 -# VITE_APP_PROXY_PREFIX = 'https://gateway.dev.cdlsxd.cn' +VITE_APP_PROXY_PREFIX = 'https://gateway.dev.cdlsxd.cn' # 正式环境 -VITE_APP_PROXY_PREFIX = 'https://scens.h5.86698.cn' +# VITE_APP_PROXY_PREFIX = 'https://scens.h5.86698.cn' diff --git a/index.html b/index.html index 78f000e..8e3c747 100644 --- a/index.html +++ b/index.html @@ -22,23 +22,27 @@
+ +