From 7c1801cc0b69d0ef5dd57a59c5cdf1766f95cd23 Mon Sep 17 00:00:00 2001
From: sws <1141121512@qq.com>
Date: Tue, 27 Aug 2024 19:06:23 +0800
Subject: [PATCH 1/2] =?UTF-8?q?1.=E5=95=86=E5=93=81=E9=A3=8E=E6=A0=BC?=
=?UTF-8?q?=E5=88=87=E6=8D=A2=E5=9B=BE=E7=89=87=E5=9C=86=E8=A7=92=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=20sws=202024-08-27?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/common/upload/index.scss | 1 -
src/components/common/upload/index.vue | 4 ++--
src/layout/components/main/default/footer-nav.ts | 3 +--
src/utils/index.ts | 2 +-
vite.config.ts | 1 +
5 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/components/common/upload/index.scss b/src/components/common/upload/index.scss
index 20d12d50..84e88afb 100644
--- a/src/components/common/upload/index.scss
+++ b/src/components/common/upload/index.scss
@@ -1,6 +1,5 @@
.upload-content {
height: 57.4rem;
- gap: 4.5rem;
.left-content {
width: 22.5rem;
.el-tree {
diff --git a/src/components/common/upload/index.vue b/src/components/common/upload/index.vue
index 1dcb345a..a4894aef 100644
--- a/src/components/common/upload/index.vue
+++ b/src/components/common/upload/index.vue
@@ -13,7 +13,7 @@
-
+
@@ -297,7 +297,7 @@ watch(
get_tree();
// 获取附件列表
get_attachment_list();
-
+
icon_index.value = -1;
}
}
diff --git a/src/layout/components/main/default/footer-nav.ts b/src/layout/components/main/default/footer-nav.ts
index 9c5a9e13..19c71b95 100644
--- a/src/layout/components/main/default/footer-nav.ts
+++ b/src/layout/components/main/default/footer-nav.ts
@@ -1,8 +1,7 @@
import defaultCommon from './index';
import { online_url } from '@/utils';
-const new_url = online_url();
-
+const new_url = await online_url();
interface DefaultFooterNav {
content: {
nav_style: string;
diff --git a/src/utils/index.ts b/src/utils/index.ts
index cfe94a5c..2d5c7ee9 100644
--- a/src/utils/index.ts
+++ b/src/utils/index.ts
@@ -329,6 +329,6 @@ export const online_url = async () => {
let temp_data = await import(import.meta.env.VITE_APP_BASE_API == '/dev-api' ? '../../temp.d' : '../../temp_pro.d');
return temp_data.default.temp_attachment_host + '/static/app/tabbar/';
} else {
- return (await get_cookie('temp_attachment_host')) + '/static/app/tabbar/';
+ return get_cookie('attachment_host') + '/static/app/tabbar/';
}
};
diff --git a/vite.config.ts b/vite.config.ts
index 1c3dc6fe..6d61d4b2 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -79,6 +79,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
// 构建配置
build: {
+ target: 'esnext',
// 打包不压缩图片为base64
assetsInlineLimit: 0,
// 混淆器设置
From 205429e50685b55bd5b11db883d3377eff96119b Mon Sep 17 00:00:00 2001
From: sws <1141121512@qq.com>
Date: Tue, 27 Aug 2024 19:27:13 +0800
Subject: [PATCH 2/2] =?UTF-8?q?1.=E5=95=86=E5=93=81=E9=A3=8E=E6=A0=BC?=
=?UTF-8?q?=E5=88=87=E6=8D=A2=E5=9B=BE=E7=89=87=E5=9C=86=E8=A7=92=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=20sws=202024-08-27?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/footer-nav/index.vue | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/components/footer-nav/index.vue b/src/components/footer-nav/index.vue
index c42d5903..e4c9a38f 100644
--- a/src/components/footer-nav/index.vue
+++ b/src/components/footer-nav/index.vue
@@ -4,8 +4,12 @@
-
-
![]()
-
![]()
+
+
+
+
+
+
{{ item.name }}
@@ -69,6 +73,8 @@ const footer_nav_event = () => {
width: 2rem;
height: 2rem;
.img-item {
+ width: 2.2rem;
+ height: 2.2rem;
opacity: 0;
&.active {
opacity: 1;