From 8b682bf546c2b9a7cacd465318ca7dbdb5e616ca Mon Sep 17 00:00:00 2001 From: mixtan <424491071@qq.com> Date: Fri, 16 May 2025 21:18:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=95=86=E5=AE=B6?= =?UTF-8?q?=E5=85=A5=E9=A9=BB=E9=9A=90=E7=A7=81=E5=8D=8F=E8=AE=AE=E9=A1=B5?= =?UTF-8?q?=EF=BC=8C=E6=BA=90=E7=A0=81=E7=9B=B8=E5=85=B3=E7=9A=84api/utils?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E8=A7=84=E8=8C=83=E5=8C=96=E5=88=B0src?= =?UTF-8?q?=EF=BC=8C=E9=85=8D=E7=BD=AEvite=E4=BB=A3=E7=90=86api=EF=BC=8Cax?= =?UTF-8?q?ios=E6=8E=A5=E5=8F=A3=E6=8B=A6=E6=88=AA=E5=87=8F=E5=B0=91?= =?UTF-8?q?=E4=B8=80=E5=B1=82=EF=BC=8C=E6=B7=BB=E5=8A=A0env.local=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.local | 1 + .gitignore | 2 ++ components.d.ts | 10 --------- src/App.vue | 23 ++++++++++++++++++-- {api => src/api}/audit.js | 0 src/api/content.ts | 13 ++++++++++++ {api => src/api}/login.js | 0 {api => src/api}/upload.js | 0 src/components/login.vue | 2 +- src/components/register.vue | 4 ++-- src/router/index.ts | 8 +++++++ {utils => src/utils}/http.js | 8 +++---- {utils => src/utils}/vue-cookies.js | 0 src/views/HeadMenu.vue | 2 +- src/views/business/agreement/privacy.vue | 27 ++++++++++++++++++++++++ src/views/feedback/FeedBack.vue | 2 +- src/views/index/slider.vue | 1 - src/views/start/check.vue | 4 ++-- src/views/start/start.vue | 2 +- tsconfig.app.json | 2 +- vite.config.ts | 10 +++++++++ 21 files changed, 95 insertions(+), 26 deletions(-) create mode 100644 .env.local rename {api => src/api}/audit.js (100%) create mode 100644 src/api/content.ts rename {api => src/api}/login.js (100%) rename {api => src/api}/upload.js (100%) rename {utils => src/utils}/http.js (84%) rename {utils => src/utils}/vue-cookies.js (100%) create mode 100644 src/views/business/agreement/privacy.vue diff --git a/.env.local b/.env.local new file mode 100644 index 0000000..d780846 --- /dev/null +++ b/.env.local @@ -0,0 +1 @@ +VUE_APP_BASE_URL = https://mall.gpxscs.cn \ No newline at end of file diff --git a/.gitignore b/.gitignore index a19f004..6383ca8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ docs/_book # TODO: where does this rule come from? test/ +node_modules/ +.history \ No newline at end of file diff --git a/components.d.ts b/components.d.ts index f8fcdde..d02f5e8 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,25 +8,15 @@ export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { - ElAutocomplete: typeof import('element-plus/es')['ElAutocomplete'] ElButton: typeof import('element-plus/es')['ElButton'] ElCarousel: typeof import('element-plus/es')['ElCarousel'] ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem'] - ElCascader: typeof import('element-plus/es')['ElCascader'] ElCol: typeof import('element-plus/es')['ElCol'] ElForm: typeof import('element-plus/es')['ElForm'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] - ElIcon: typeof import('element-plus/es')['ElIcon'] ElInput: typeof import('element-plus/es')['ElInput'] - ElOption: typeof import('element-plus/es')['ElOption'] - ElRadio: typeof import('element-plus/es')['ElRadio'] - ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElRow: typeof import('element-plus/es')['ElRow'] - ElSelect: typeof import('element-plus/es')['ElSelect'] ElStatistic: typeof import('element-plus/es')['ElStatistic'] - ElStep: typeof import('element-plus/es')['ElStep'] - ElSteps: typeof import('element-plus/es')['ElSteps'] - ElUpload: typeof import('element-plus/es')['ElUpload'] FloatingMenu: typeof import('./src/components/floatingMenu.vue')['default'] Login: typeof import('./src/components/login.vue')['default'] Register: typeof import('./src/components/register.vue')['default'] diff --git a/src/App.vue b/src/App.vue index 8768c12..0cd0727 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,6 @@ \ No newline at end of file diff --git a/src/views/feedback/FeedBack.vue b/src/views/feedback/FeedBack.vue index 23caf79..f1e1dd0 100644 --- a/src/views/feedback/FeedBack.vue +++ b/src/views/feedback/FeedBack.vue @@ -26,7 +26,7 @@