From 40b6de6fe8d9a4629f76cb2c7cca992d9538d0ed Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 1 Apr 2024 17:45:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 + .env.production | 1 + index.html | 2 +- src/api/store.js | 8 ++ src/api/user.js | 28 +++++++ src/layout/myHeader.vue | 103 +++++++++++++++++++----- src/main.ts | 4 +- src/router/index.js | 20 +++++ src/store/user.js | 24 ++++++ src/utils/axios.js | 39 +++++++++ src/views/home/component/order.vue | 86 ++++++++++++++++++-- src/views/home/component/pupop.vue | 122 +++++++++++++++++++++++++++++ src/views/home/component/shop.vue | 93 ++++++++++++---------- src/views/home/index.vue | 54 ++++++++++++- src/views/login/index.vue | 122 +++++++++++++++++++++++++++++ vite.config.ts | 4 + 16 files changed, 643 insertions(+), 69 deletions(-) create mode 100644 .env.development create mode 100644 .env.production create mode 100644 src/api/store.js create mode 100644 src/api/user.js create mode 100644 src/store/user.js create mode 100644 src/utils/axios.js create mode 100644 src/views/home/component/pupop.vue create mode 100644 src/views/login/index.vue diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..a4cdf13 --- /dev/null +++ b/.env.development @@ -0,0 +1,2 @@ +# VITE_BASE_URL = 'http://192.168.1.24:8324' +VITE_BASE_URL = 'https://crmeb-test.shop.lihaink.cn' \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..b3d7815 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_BASE_URL = '' \ No newline at end of file diff --git a/index.html b/index.html index dde16aa..de6b245 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ -