From 85a71296ae1df0a724e31cd369c70561d48a7355 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 23 Mar 2022 17:22:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A0=E6=9D=90=E5=BA=93-=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 2 +- src/assets/styles/adminIndex.scss | 13 +++- src/views/components/upload.vue | 7 +- .../materialContent/materialList/index.vue | 67 +++++++++++++++---- 4 files changed, 68 insertions(+), 21 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e30339f..6ee6959 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -44,7 +44,7 @@ module.exports = { 'curly': [2, 'multi-line'], 'dot-location': [2, 'property'], 'eol-last': 2, - 'eqeqeq': ["error", "always", {"null": "ignore"}], + 'eqeqeq': ["off"], 'generator-star-spacing': [2, { 'before': true, 'after': true diff --git a/src/assets/styles/adminIndex.scss b/src/assets/styles/adminIndex.scss index d05fedc..684c525 100644 --- a/src/assets/styles/adminIndex.scss +++ b/src/assets/styles/adminIndex.scss @@ -475,12 +475,10 @@ position: absolute; left: 0; bottom: 38px; - span { display: block; width: 47px; height: 18px; - // padding: 2px 5px; margin-left: 6px; text-align: center; background: #3a8aeb; @@ -488,6 +486,10 @@ font-size: 12px; line-height: 18px; border-radius: 9px; + &.item_time{ + width: auto; + padding: 0 5px; + } } } // 主题-素材-文件名样式 @@ -502,6 +504,11 @@ -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; + -moz-user-select:none;/*火狐*/ + -webkit-user-select:none;/*webkit浏览器*/ + -ms-user-select:none;/*IE10*/ + -khtml-user-select:none;/*早期浏览器*/ + user-select:none; } // 首页-主题库-按钮 .home_publish_btn { @@ -542,7 +549,7 @@ .multi_handle { display: flex; position: fixed; - bottom: 140px; + bottom: 60px; left: 50%; // width: 1100px; padding: 25px 150px; diff --git a/src/views/components/upload.vue b/src/views/components/upload.vue index 2ecb72a..0ace40c 100644 --- a/src/views/components/upload.vue +++ b/src/views/components/upload.vue @@ -68,7 +68,7 @@