diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index 6cb81521..81a6f8ca 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -59,6 +59,50 @@ body { color:#3d3d3d; } } +//门户页面右边 +.xpage-right{ + width: 410px; +} +.portal-right-box{ + width: 410px; + border-radius: 8px; + padding: 30px; +} +.portal-model-btn{// 写文章,发课程等按钮 + width: 100%; + 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; +} + + .portal-ranking-box{ + width: 344px; + // height: 544px; + // overflow-y: auto; + .course-index-list{ + height: 410px; + overflow-y: auto; + } + .case-index-list{ + height: 114px; + overflow-y: auto; + } + .anking-index-list{ + height: 320px; + overflow-y: auto; + } + .qa-index-qa{ + height: 64px; + overflow-y: auto; + } + } @media screen and (max-width: 1366px){ .xcontent{ @@ -71,6 +115,8 @@ body { .course-index{ // width: 33.3333%; } + .portal-model-btn{width: 300px;} + .xpage-right{width: 300px;} } @media screen and (max-width: 1680px) and (min-width:1367px){ @@ -88,6 +134,8 @@ body { // width: 25%; // width: 33.3333%; } + .portal-model-btn{width: 410px;} + .xpage-right{width: 410px;} } @media screen and (max-width: 1920px) and (min-width: 1681px){ @@ -105,6 +153,8 @@ body { // width: 20%; width: 33.3333%; } + .portal-model-btn{width: 410px;} + .xpage-right{width: 410px;} } @media screen and (min-width: 1921px){ @@ -120,5 +170,6 @@ body { // width: 20%; // width: 33.3333%; } + .portal-model-btn{width: 410px;} + .xpage-right{width: 410px;} } - diff --git a/src/views/Loading.vue b/src/views/Loading.vue index 5d59e15f..5242130b 100644 --- a/src/views/Loading.vue +++ b/src/views/Loading.vue @@ -45,7 +45,7 @@ if(this.toUrl){ location.href=this.toUrl; }else{ - this.$router.push({ path: "/study/index" }) + this.$router.push({ path: "/index" }) } //this.$router.push({ path: "/index" }) }else{ diff --git a/src/views/Login.vue b/src/views/Login.vue index 8a77d185..f5bacdfb 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -108,7 +108,7 @@ this.$store.dispatch("portal/SetLoginRememberMe", rememberMeOjb) } //console.log(this.redirect,'this.redirect'); - this.$router.push({ path: this.redirect || "/study/index" }).catch(()=>{ + this.$router.push({ path: this.redirect || "/index" }).catch(()=>{ $this.loading = false; }); }else{ diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index f86c34e4..6ae1191f 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -3,22 +3,17 @@
- -
- +
- - +
授课方式: @@ -33,8 +28,7 @@
- - +
@@ -69,30 +63,30 @@ {{item.name}}
- +
- - +
+
最热 最新 - +
@@ -115,16 +110,14 @@ 没有更多数据了
-
-
+
-
- -
- - 上传课程 +
+
+ + 上传课程 +
-

好评榜

    @@ -265,7 +258,6 @@
-
@@ -428,7 +420,7 @@ export default { this.searchterm(); this.couresreso(); - + }, beforeDestroy() { window.removeEventListener("scroll", this.handleScroll); @@ -438,7 +430,7 @@ export default { let key = 'course'; apiPlace.detail(key).then(res=>{ console.log(res) - let lmj = JSON.parse(res.result.content) + let lmj = JSON.parse(res.result.content) // console.log(lmj) this.resonimg = lmj[0] console.log(this.resonimg.image) @@ -844,7 +836,7 @@ export default { .course-resources{ width: 410px; margin-top: 24px; - + img{ width: 100%; height: 100%; @@ -863,7 +855,7 @@ export default { left: -35px; width: 420px !important; height: 236px !important; - + } .list-active{ @@ -1261,9 +1253,9 @@ export default { height: 50px; } .content-div { - + .quyer-tag { - + // margin-left: 10px; .order-class { margin: 30px 0;