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 @@
- -好评榜