From 007de8591ae2914229497a353da4b74060817540 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Sat, 8 Oct 2022 13:59:59 +0800 Subject: [PATCH 1/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/views/portal/article/Detail.vue | 2 +- src/views/portal/article/Index.vue | 2 +- src/views/portal/course/Index.vue | 2 +- src/views/portal/qa/Answer.vue | 2 +- src/views/portal/qa/Detail.vue | 2 +- src/views/portal/qa/Index.vue | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/portal/article/Detail.vue b/src/views/portal/article/Detail.vue index 0eec6a81..170ef8d0 100644 --- a/src/views/portal/article/Detail.vue +++ b/src/views/portal/article/Detail.vue @@ -3,7 +3,7 @@
-
+
diff --git a/src/views/portal/article/Index.vue b/src/views/portal/article/Index.vue index c5f45dc4..b725e48e 100644 --- a/src/views/portal/article/Index.vue +++ b/src/views/portal/article/Index.vue @@ -4,7 +4,7 @@
-
+
diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 4681bbf7..e5e8c7ad 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -3,7 +3,7 @@
-
+
diff --git a/src/views/portal/qa/Answer.vue b/src/views/portal/qa/Answer.vue index 986a2ca4..1a3e26db 100644 --- a/src/views/portal/qa/Answer.vue +++ b/src/views/portal/qa/Answer.vue @@ -3,7 +3,7 @@
-
+
diff --git a/src/views/portal/qa/Detail.vue b/src/views/portal/qa/Detail.vue index 154544f0..280e3384 100644 --- a/src/views/portal/qa/Detail.vue +++ b/src/views/portal/qa/Detail.vue @@ -3,7 +3,7 @@
-
+
diff --git a/src/views/portal/qa/Index.vue b/src/views/portal/qa/Index.vue index 7d845f30..0e9287be 100644 --- a/src/views/portal/qa/Index.vue +++ b/src/views/portal/qa/Index.vue @@ -4,7 +4,7 @@
-
+
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 @@ 上传课程
-
+
好评榜
  • @@ -166,7 +166,7 @@
-
+
人气榜
  • @@ -211,7 +211,7 @@
-
+
热度榜