From cd00a55fa2f91841c680e266eb615f1a13cb6019 Mon Sep 17 00:00:00 2001
From: dute7liang <383200134@qq.com>
Date: Mon, 1 Jan 2024 20:33:47 +0800
Subject: [PATCH] init
---
.env.development | 2 +
.env.production | 2 +-
src/components/ImagePreview/index.vue | 17 +-
src/components/ImageUpload2/index.vue | 138 ++++++++++-------
src/components/ImageUpload3/index.vue | 215 ++++++++++++++++++++++++++
src/views/cai/userGift/index.vue | 6 +-
6 files changed, 316 insertions(+), 64 deletions(-)
create mode 100644 src/components/ImageUpload3/index.vue
diff --git a/.env.development b/.env.development
index 0baaec9..aa21513 100644
--- a/.env.development
+++ b/.env.development
@@ -18,3 +18,5 @@ VUE_APP_XXL_JOB_ADMIN = 'http://localhost:9100/xxl-job-admin'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
+
+VUE_APP_COS_BASE_URL = 'https://nono-1257812345.cos.ap-shanghai.myqcloud.com/'
diff --git a/.env.production b/.env.production
index 68c0e48..d20bb2f 100644
--- a/.env.production
+++ b/.env.production
@@ -16,4 +16,4 @@ VUE_APP_MONITRO_ADMIN = '/admin/applications'
# xxl-job 控制台地址
VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
-
+VUE_APP_COS_BASE_URL = 'https://nono-1257812345.cos.ap-shanghai.myqcloud.com/'
diff --git a/src/components/ImagePreview/index.vue b/src/components/ImagePreview/index.vue
index cd99626..8f9af42 100644
--- a/src/components/ImagePreview/index.vue
+++ b/src/components/ImagePreview/index.vue
@@ -13,6 +13,8 @@
+
+
diff --git a/src/views/cai/userGift/index.vue b/src/views/cai/userGift/index.vue
index 79796fc..bf57210 100644
--- a/src/views/cai/userGift/index.vue
+++ b/src/views/cai/userGift/index.vue
@@ -55,7 +55,11 @@
-
+
+
+
+
+