diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index c85400f1..ef8a48c9 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -205,6 +205,12 @@ aside { background: #d0d0d0; } } +ul{ + padding: 0; +} +li{ + list-style: none; +} .link-type, .link-type:focus { diff --git a/src/assets/styles/portal-index.scss b/src/assets/styles/portal-index.scss new file mode 100644 index 00000000..77b9423b --- /dev/null +++ b/src/assets/styles/portal-index.scss @@ -0,0 +1,69 @@ +.portal-right-box{ + width: 410px; + border-radius: 8px; + padding: 30px; +} +.portal-right-text{ + font-size: 24px; + font-family: JCHEadA; + color: #D9D9D9; +} +.portal-title-one{ + font-size: 24px; + font-family: FZLTCHJW--GB1-0, FZLTCHJW--GB1; + font-weight: 500; + color: #000000; + line-height: 28px; +} +.portal-title-desc{ + font-size: 18px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 500; + color: #677D86; +} +.portal-title-tow{ // 问答标题 + font-size: 16px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 600; + color: #333333; + line-height: 22px; +} +.portal-summary-text{ // 问答详情 + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #666666; +} +.portal-time{ // 问答详情 + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + color: #999999; +} +.portal-model-btn{// 写文章,发课程等按钮 + width: 410px; + height: 67px; + background: #DDEDFF; + border-radius: 8px; + font-size: 18px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 500; + color: #387DF7; + line-height: 67px; + text-align: center; + margin-bottom: 22px; +} +.orange-one{ + color: #EB5D00; +} +.orange-tow{ + color: #FE9100; +} +.orange-three{ + color: #FEC200; +} +.content-div{ + width: 100% +} + + + diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index 2d2d81ca..c21d40b5 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -4,11 +4,12 @@ body { } .xcontent{ - width: 1000px; - margin: 0px auto; + // width: 1000px; + // margin: 0px auto; + margin: 0px 5%; } .index-course{ - width: 25%; + // width: 25%; } .course-index{ @@ -22,8 +23,7 @@ body { } .xcol{ - padding-left: 5px; - padding-right: 5px; + margin-right: 26px; display: inline-block; box-sizing: border-box; } @@ -37,8 +37,8 @@ body { @media screen and (max-width: 1366px){ .xcontent{ - width: 1000px; - margin: 0px auto; + // width: 1000px; + // margin: 0px auto; } .index-course{ width: 25%; @@ -50,8 +50,10 @@ body { @media screen and (max-width: 1680px) and (min-width:1367px){ .xcontent{ - width: 1260px; - margin: 0px auto; + // width: 1260px; + // margin: 0px auto; + // width: 100%; + // margin: 0px 87px; } .index-course{ width: 20%; @@ -63,8 +65,10 @@ body { @media screen and (max-width: 1920px) and (min-width: 1681px){ .xcontent{ - width: 1520px; - margin: 0px auto; + // width: 1520px; + // margin: 0px auto; + // width: 100%; + // margin: 0px 87px; } .index-course{ width: 16.6666666667%; @@ -76,8 +80,8 @@ body { @media screen and (min-width: 1921px){ .xcontent{ - width: 1520px; - margin: 0px auto; + // width: 1520px; + // margin: 0px auto; } .index-course{ width: 16.6666666667%; @@ -88,7 +92,8 @@ body { } .portal-content { - margin-top: 30px; + margin: 30px 87px 0px 87px; + // width: 100%; .breadcrumb-nav { margin-bottom: 15px; font-size: 14px; diff --git a/src/views/portal/qa/Index.vue b/src/views/portal/qa/Index.vue index 051d5788..5816fa61 100644 --- a/src/views/portal/qa/Index.vue +++ b/src/views/portal/qa/Index.vue @@ -1,23 +1,16 @@