From cc8de44f95d130d2d5184bcaef5207d55638075a Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 1 Sep 2022 15:44:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=88=97=E8=A1=A8=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal.scss | 22 ++-- src/components/PortalHeader.vue | 4 +- src/views/portal/course/Index.vue | 166 +++++++++++++----------------- 3 files changed, 88 insertions(+), 104 deletions(-) diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index 3a52f572..9e3da5b2 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -29,8 +29,8 @@ body { } .xrow-course{ - padding-left: 5px; - padding-right: 5px; + // padding-left: 5px; + // padding-right: 5px; display: inline-block; box-sizing: border-box; } @@ -56,10 +56,12 @@ body { // margin: 0px 87px; } .index-course{ - width: 20%; + // width: 20%; + width: 33.3333%; } .course-index{ - width: 25%; + // width: 25%; + width: 33.3333%; } } @@ -71,10 +73,12 @@ body { // margin: 0px 87px; } .index-course{ - width: 16.6666666667%; + // width: 16.6666666667%; + width: 33.3333%; } .course-index{ - width: 20%; + // width: 20%; + width: 33.3333%; } } @@ -84,10 +88,12 @@ body { // margin: 0px auto; } .index-course{ - width: 16.6666666667%; + // width: 16.6666666667%; + width: 33.3333%; } .course-index{ - width: 20%; + // width: 20%; + width: 33.3333%; } } diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index e0067319..05322f84 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -46,7 +46,9 @@ - + + + diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 225d6fd7..e448ed61 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -9,8 +9,8 @@ -->
-
- +
+