From a54e26eff6ea9fda9d7eac8df62497eeba6ff56a Mon Sep 17 00:00:00 2001 From: guofei Date: Wed, 23 Oct 2024 19:53:45 +0800 Subject: [PATCH] fix: add bg img --- src/pages/SystemCharter/index.vue | 48 ++++++++++++++++++++++++++++--- src/utils/oss.ts | 10 +++++++ 2 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 src/utils/oss.ts diff --git a/src/pages/SystemCharter/index.vue b/src/pages/SystemCharter/index.vue index 4632982..84cfd29 100644 --- a/src/pages/SystemCharter/index.vue +++ b/src/pages/SystemCharter/index.vue @@ -4,7 +4,11 @@
- + @@ -39,7 +43,23 @@ 返回
- 待开发... + + +
+ + + +
点击或拖拽上图片 (图片建议1920x1920)
+
+
+
+ +
+
@@ -91,8 +111,9 @@ diff --git a/src/utils/oss.ts b/src/utils/oss.ts new file mode 100644 index 0000000..729bf56 --- /dev/null +++ b/src/utils/oss.ts @@ -0,0 +1,10 @@ +import aliOss from 'ali-oss' + +const Oss = new aliOss({ + region: "oss-cn-shanghai", + accessKeyId: "LTAI5tEday8PJNaMTz5mp8g4", + accessKeySecret: "ck84eTxx4aSTjornlYrCy8RkurCHfc", + bucket: "stayby-static", + secure: true, +}); +export default Oss \ No newline at end of file