From 8ad2b0296ee508df2d527689e076a0db5d3cf46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Wed, 23 Oct 2024 09:48:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5,?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/env.ts | 5 +- src/manifest.json | 4 +- src/pages/appointment-form/index.vue | 479 +++++++++++++++++---------- src/pages/appointment-quan/index.vue | 2 +- src/pages/appointment-time/index.vue | 134 ++++++-- src/pages/index/index.vue | 73 ++-- src/pages/user-info/index.vue | 60 +++- src/service/api/user/index.ts | 21 ++ src/service/request/index.ts | 2 +- src/service/request/request.ts | 10 +- src/static/home/quan.png | Bin 1614314 -> 0 bytes src/utils/common/index.ts | 2 + src/utils/common/updataImg.ts | 139 ++++++++ src/utils/common/validate.js | 69 ++++ vite.config.ts | 17 + 15 files changed, 756 insertions(+), 261 deletions(-) delete mode 100644 src/static/home/quan.png create mode 100644 src/utils/common/updataImg.ts create mode 100644 src/utils/common/validate.js diff --git a/src/config/env.ts b/src/config/env.ts index c1ee71a..06bab30 100644 --- a/src/config/env.ts +++ b/src/config/env.ts @@ -3,7 +3,8 @@ type ServiceEnv = Record const serviceEnv: ServiceEnv = { dev: { - url: 'http://192.168.0.100:8787', + // url: 'https://hex.jipinq.cn', + url: '/api', json: 'http://localhost:8080', }, test: { @@ -11,7 +12,7 @@ const serviceEnv: ServiceEnv = { json: 'http://localhost:8080', }, prod: { - url: 'http://localhost:8080', + url: 'https://hex.jipinq.cn', json: 'http://localhost:8080', }, } diff --git a/src/manifest.json b/src/manifest.json index ce4d4c1..3c35fa2 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,5 +1,5 @@ { - "name" : "452", + "name" : "旅游度假预约出行系统", "appid" : "__UNI__FAB99D9", "description" : "", "versionName" : "1.0.0", @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx56a1f8716a60996d", + "appid" : "wx2e8b2af5ed5b28b4", "setting" : { "urlCheck" : false }, diff --git a/src/pages/appointment-form/index.vue b/src/pages/appointment-form/index.vue index 9734159..8b3ab22 100644 --- a/src/pages/appointment-form/index.vue +++ b/src/pages/appointment-form/index.vue @@ -1,21 +1,28 @@