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/Article/collectList.vue b/src/components/Article/collectList.vue index feb4bba4..047ace41 100644 --- a/src/components/Article/collectList.vue +++ b/src/components/Article/collectList.vue @@ -4,16 +4,22 @@