From 6493ff3125538eaa05e500f8957920c70d116bf2 Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Sun, 19 Jan 2025 00:34:29 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=AC=AC=E4=BA=8C=E4=B8=AA?=
=?UTF-8?q?=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
service-uniapp-client/.env | 8 +-
service-uniapp-client/App.vue | 2 +
service-uniapp-client/components/selectArea.vue | 93 ++++++++++++++----------
service-uniapp-client/main.js | 8 ++
service-uniapp-client/manifest.json | 2 +-
service-uniapp-client/mixins/configList.js | 14 ++++
service-uniapp-client/pages.json | 2 +-
service-uniapp-client/pages/index/index.vue | 10 +--
service-uniapp-client/pages/login/login.vue | 2 +-
service-uniapp-client/plugins/upload.js | 28 +++++--
service-uniapp-client/static/login/logo.png | Bin 157279 -> 33303 bytes
service-uniapp-client/store/store.js | 70 ++++++++++++++++++
service-uniapp-client/utils/Share.js | 17 ++++-
service-uniapp-technician/.env | 6 +-
service-uniapp-technician/manifest.json | 2 +-
service-uniapp-technician/pages.json | 2 +-
service-uniapp-technician/plugins/upload.js | 29 ++++++--
17 files changed, 222 insertions(+), 73 deletions(-)
create mode 100644 service-uniapp-client/mixins/configList.js
create mode 100644 service-uniapp-client/store/store.js
diff --git a/service-uniapp-client/.env b/service-uniapp-client/.env
index c089c55..6b3e2f9 100644
--- a/service-uniapp-client/.env
+++ b/service-uniapp-client/.env
@@ -1,13 +1,13 @@
# 开发环境
-#VITE_GLOB_API=http://h5.xzaiyp.top/massage-api
+#VITE_GLOB_API=http://h5.xzaiyp.top/massage-api-tiandu
#VITE_REDIRECT_URI=http://tairoudj.natapp1.cc
# 生产环境
-VITE_GLOB_API=https://tai-testapi.sanhemovie.com/massage-api
-VITE_REDIRECT_URI=https://tai-testh5.sanhemovie.com
+VITE_GLOB_API=https://admin.tiandufuwu.com/massage-api-tiandu
+VITE_REDIRECT_URI=https://h5.tiandufuwu.com
-VITE_APPID=wxe934cebcbc89d869
+VITE_APPID=wx2cc6f138b02196e3
VITE_MAP_KEY=V5RBZ-QRK63-JAO3B-RLSOB-FLWJF-DVFGH
\ No newline at end of file
diff --git a/service-uniapp-client/App.vue b/service-uniapp-client/App.vue
index 143d0ea..7326bee 100644
--- a/service-uniapp-client/App.vue
+++ b/service-uniapp-client/App.vue
@@ -5,6 +5,8 @@
export default {
onLaunch: function() {
this.$.appContext.app.use(plugins)
+ this.$store.commit('initConfig')
+ this.$store.commit('getArea')
},
onShow: function() {
share()
diff --git a/service-uniapp-client/components/selectArea.vue b/service-uniapp-client/components/selectArea.vue
index eaa9f95..eb07b9d 100644
--- a/service-uniapp-client/components/selectArea.vue
+++ b/service-uniapp-client/components/selectArea.vue
@@ -1,66 +1,83 @@
-
-
-
+