From 26f93ef2e0e7c046983aa0ae163cfc0da4997335 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 17 Apr 2023 15:31:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=95=BF=E9=A1=B5=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=8F=AF=E4=BB=A5=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/modules/module.vue | 72 +++++++++++++------------- src/const/modules.js | 2 +- src/pages/column/page/talentCenter.vue | 4 +- src/styles/page/page.scss | 10 +++- 4 files changed, 49 insertions(+), 39 deletions(-) diff --git a/src/components/modules/module.vue b/src/components/modules/module.vue index a05dab1..c9eb4ce 100644 --- a/src/components/modules/module.vue +++ b/src/components/modules/module.vue @@ -80,41 +80,43 @@ - - -
- -

上传图片

-
-
-

只支持.jpg,.png格式

-
-
- - 上传视频 - - - - 上传资源 - +
+ + +
+ +

上传图片

+
+
+

只支持.jpg,.png格式

+
+
+ + 上传视频 + + + + 上传资源 + + +
设置链接 diff --git a/src/const/modules.js b/src/const/modules.js index 405c1ee..4e07e62 100644 --- a/src/const/modules.js +++ b/src/const/modules.js @@ -5562,7 +5562,7 @@ export default { type: 'upload', prop: 'pic', label: '图片', - required: true + required: false }, ], form: { diff --git a/src/pages/column/page/talentCenter.vue b/src/pages/column/page/talentCenter.vue index e1dc928..ca4e84b 100644 --- a/src/pages/column/page/talentCenter.vue +++ b/src/pages/column/page/talentCenter.vue @@ -40,7 +40,7 @@
{{ modules[3].form.title }}
查看更多 >
-

+
点击更换标题、链接与描述

热门岗位

@@ -61,7 +61,7 @@
{{ modules[6].form.title }}
查看更多 >
-

+
点击更换标题、链接与描述

热门岗位

diff --git a/src/styles/page/page.scss b/src/styles/page/page.scss index bc888f3..b5b018c 100644 --- a/src/styles/page/page.scss +++ b/src/styles/page/page.scss @@ -149,7 +149,15 @@ $avatar-height: 80px; color: #8c939d; } } -/deep/ .uploader { +/deep/.uploader-wrap { + display: flex; + .del { + margin-left: 5px; + font-size: 18px; + cursor: pointer; + } +} +/deep/.uploader { .el-upload { position: relative; width: $avatar-width; From 0d2eeac8233a950cc763e14f2c09c8cf5cf20705 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 18 Apr 2023 10:00:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=87=BA=E7=89=88=E7=A4=BE=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/article/add/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/article/add/index.vue b/src/pages/article/add/index.vue index ffe2fc4..0b5626e 100644 --- a/src/pages/article/add/index.vue +++ b/src/pages/article/add/index.vue @@ -2,7 +2,7 @@

文章详情

- + - + + +