diff --git a/src/views/grateful/TeacherOpinion.vue b/src/views/grateful/TeacherOpinion.vue index 6e03d6e7..6c728db0 100644 --- a/src/views/grateful/TeacherOpinion.vue +++ b/src/views/grateful/TeacherOpinion.vue @@ -105,10 +105,10 @@ export default { .opinionBanner { width: 100%; - height: 240px; + height: 180px; position: relative; - background: url('../../assets/images/grateful/opinionBanner.png'); - // background-size: 100% 100%; + background: url('../../assets/images/grateful/opinionBanner.png') center center no-repeat; + background-size: cover; &::before { content: url(../../assets/images//grateful/logo.png); @@ -118,13 +118,13 @@ export default { } &::after { - content: '认证讲师库(2023)'; + content: '认证讲师库(2023)'; position: absolute; bottom: 25px; left: 180px; color: #ffffff; font-weight: 600; - font-size: 64px; + font-size: 40px; } img {