From 96a40c0a1c70ba8b31c73a9b23dbd45055557681 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Tue, 11 Oct 2022 19:28:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 3 +++ src/assets/styles/portal-index.scss | 12 ++++++++++++ src/components/PortalHeader.vue | 5 ++++- src/layout/components/TopNav/Index.vue | 10 +++++++--- src/views/study/PortalIndex.vue | 3 +++ src/views/study/coursenew.vue | 3 +++ src/views/user/Mynotes.vue | 3 +++ 7 files changed, 35 insertions(+), 4 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 806391fe..fb3c6e96 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -351,6 +351,9 @@ li{ width: 68px !important; height: 68px !important; border-radius: 0px; + img{ + width: 100% !important; + } } .teacher-text{ width: 68px; diff --git a/src/assets/styles/portal-index.scss b/src/assets/styles/portal-index.scss index d2e73b66..4341f6f1 100644 --- a/src/assets/styles/portal-index.scss +++ b/src/assets/styles/portal-index.scss @@ -624,6 +624,9 @@ .el-avatar{ width: 26px !important; height: 26px !important; + img{ + width: 100% !important; + } } } .article-card-right{ @@ -666,6 +669,9 @@ .el-avatar{ width: 26px; height: 26px; + img{ + width: 100% !important; + } } } .article-info-time{ @@ -888,6 +894,9 @@ .el-avatar{ width: 34px; height: 34px; + img{ + width: 100% !important; + } } } } @@ -1067,6 +1076,9 @@ .el-avatar{ width: 32px !important; height: 32px !important; + img{ + width: 100% !important; + } } } .article-card-right{ diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index 8be888c9..289f8486 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -399,8 +399,11 @@ export default { // right: 48px; // } } - .el-avatar{ + ::v-deep.el-avatar{ margin-right: 8px; + img{ + width: 100% !important; + } } .el-button{ margin-left: 15px; diff --git a/src/layout/components/TopNav/Index.vue b/src/layout/components/TopNav/Index.vue index 800f09a0..fe1e379c 100644 --- a/src/layout/components/TopNav/Index.vue +++ b/src/layout/components/TopNav/Index.vue @@ -251,6 +251,12 @@ export default {