From 168dd7fc22ed26f6de6519ac5b91e83e77bac5ef Mon Sep 17 00:00:00 2001
From: lmj <3407000732@qq.com>
Date: Sat, 8 Oct 2022 14:46:16 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/styles/portal.scss | 38 +++++++++++++++++++++++++++----
src/views/portal/course/Index.vue | 6 ++---
2 files changed, 36 insertions(+), 8 deletions(-)
diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss
index c97eb218..163ff1ea 100644
--- a/src/assets/styles/portal.scss
+++ b/src/assets/styles/portal.scss
@@ -56,9 +56,33 @@ body {margin: 0px;padding: 0px;}
.ranking-data{
min-height: 246px;
margin: 0px;
- // overflow-y: auto;
+ overflow-y: auto;
}
}
+
+.portal-ranking-list{
+ border-radius: 8px;
+ padding: 30px;
+ // height: 544px;
+ // overflow-y: auto;
+ .ranking-title{
+ font-size: 24px;
+ font-family: FZLTCHJW--GB1-0, FZLTCHJW--GB1;
+ font-weight: 600;
+ color: #000000;
+ line-height: 28px;
+ padding-bottom:12px
+ }
+ .ranking-data{
+ min-height: 246px;
+ margin: 0px;
+ // overflow-y: auto;
+ }
+}
+
+
+
+
//排行块的背景
.ranking-bg{
background: url('/images/qa-box.png') no-repeat top left;
@@ -252,9 +276,10 @@ body {margin: 0px;padding: 0px;}
@media screen and (max-width: 1366px){
.xcontent2{
width: 1100px;
+ padding: 20px 5px;
}
.xcontent2-minor{
- width: 260px;
+ width: 234px;
}
.portal-ranking{
padding: 30px 15px;
@@ -272,9 +297,10 @@ body {margin: 0px;padding: 0px;}
@media screen and (max-width: 1680px) and (min-width:1367px){
.xcontent2{
width: 1366px;
+ padding: 30px 20px;
}
.xcontent2-minor{
- width: 320px;
+ width: 300px;
}
.portal-ranking{
padding: 30px 20px;
@@ -291,7 +317,8 @@ body {margin: 0px;padding: 0px;}
@media screen and (max-width: 1920px) and (min-width: 1681px){
.xcontent2{
- width: 1690px;
+ width: 1640px;
+ padding: 30px 26px;
}
.xcontent2-minor{
width: 400px;
@@ -312,7 +339,8 @@ body {margin: 0px;padding: 0px;}
@media screen and (min-width: 1921px){
.xcontent2{
- width: 1900px;
+ width: 1880px;
+ padding: 30px 26px;
}
.xcontent2-minor{
width: 400px;
diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue
index e5e8c7ad..cbefcd5e 100644
--- a/src/views/portal/course/Index.vue
+++ b/src/views/portal/course/Index.vue
@@ -121,7 +121,7 @@
上传课程