Browse Source

修改样式问题

zengyicheng 1 year ago
parent
commit
0607c81798

+ 1 - 2
src/components/components/askStatic.vue

@@ -172,7 +172,6 @@ export default {
 
 <style scoped>
 .sjBox {
-  margin-top: 25px;
   /* max-height: 420px; */
   overflow: auto;
 }
@@ -360,7 +359,7 @@ export default {
   overflow: hidden;
   padding: 5px;
   text-overflow: ellipsis;
-  font-size: 16px;
+  font-size: 14px;
   margin-bottom: 10px;
 }
 

+ 31 - 8
src/components/courseDetail.vue

@@ -100,7 +100,7 @@
                   @click="TnameCheck = !TnameCheck"
                   style="color: #717c8d; font-weight: 400"
                 >
-                  协同员:<span
+                  协同员:<span
                     v-for="(tname, tIndex) in TnameCheck
                       ? Tname
                       : Tname.slice(0, 6)"
@@ -231,7 +231,7 @@
                     {{ item.dyName }}
                   </div>
                 </div>
-                <div style="font-size: 14px; font-weight: 400;color:3681FC">
+                <div style="font-size: 14px; font-weight: 400; color: 3681FC">
                   {{ item.chapterInfo[0].taskJson.length }}个任务
                 </div>
               </div>
@@ -684,7 +684,13 @@
               <div class="detail_box">
                 <div class="title"><span class="timeIcon">实施时间</span></div>
                 <div class="box">
-                  <div style="font-size: 22px; margin: 15px 0 45px">
+                  <div
+                    style="
+                      font-size: 22px;
+                      margin: 15px 0 45px;
+                      font-weight: 700;
+                    "
+                  >
                     {{ courseDetail.title }}
                   </div>
                   <div class="chapter_time_box" style="margin-left: 170px">
@@ -1198,7 +1204,6 @@ export default {
       if (this.isFollow == 2 && this.tType == 2 && this.followC != i) {
         return;
       }
-
       let params = {
         uid: this.userid,
         cid: this.id,
@@ -1267,7 +1272,25 @@ export default {
               );
             }
           } else if (this.tType == 2) {
-            this.gotoCourse(this.classId);
+            this.goTo(
+              "/studyStudent?type=" +
+                i +
+                "&courseId=" +
+                this.id +
+                "&userid=" +
+                this.userid +
+                "&oid=" +
+                this.oid +
+                "&org=" +
+                this.org +
+                "&cid=" +
+                this.classId +
+                "&tType=" +
+                this.tType +
+                "&screenType=" +
+                this.screenType
+            );
+            // this.gotoCourse(this.classId);
           } else {
             this.goTo(
               "/study?type=" +
@@ -1978,7 +2001,7 @@ export default {
 .courseItem {
   width: 299px;
   height: 70px;
-  background: #DDEBF8;
+  background: #ddebf8;
   border-radius: 8px;
   margin-right: 16px;
   margin-bottom: 16px;
@@ -2322,7 +2345,7 @@ export default {
 }
 
 .blueBtn {
-  background: rgb(79, 140, 223);
+  background: #61a0f5;
   color: #fff;
   display: flex;
   padding: 10px 15px;
@@ -2577,7 +2600,7 @@ export default {
 }
 
 .c_box .stage_box .stage {
-  background: linear-gradient(90deg, #477cd7, #65b9fc);
+  background: linear-gradient(90deg, #478bff, #65b9fc);
   border-radius: 5px;
   height: 50px;
   line-height: 50px;

+ 4 - 4
src/components/easy2/studyStudent.vue

@@ -3735,7 +3735,7 @@
               </div>
               <div
                 class="xuan_right_box"
-                style="background: unset"
+                style="background: unset;padding: 0 10px;"
                 v-if="
                   tType &&
                   ((tType == 2 && sIsOpen == true) ||
@@ -3791,7 +3791,7 @@
               </div>
               <div
                 class="xuan_right_box"
-                style="background: unset"
+                style="background: unset;padding: 0 10px;"
                 v-if="
                   tType &&
                   ((tType == 2 && sIsOpen == true) ||
@@ -18645,7 +18645,7 @@ export default {
 }
 
 .courseTitle .ctitle {
-  font-size: 24px;
+  font-size: 22px;
   font-weight: bold;
   color: #0e1e33;
   white-space: nowrap;
@@ -20571,7 +20571,7 @@ export default {
 .xuan_right_box {
   padding: 10px;
   background: rgb(247, 247, 247);
-  margin: 10px 12px;
+  margin: 0 12px;
   border-radius: 5px;
 }
 

+ 4 - 23
src/components/easy3/studyStudent.vue

@@ -3722,7 +3722,7 @@
               </div>
               <div
                 class="xuan_right_box"
-                style="background: unset"
+                style="background: unset;padding: 0 10px;"
                 v-if="
                   tType &&
                   ((tType == 2 && sIsOpen == true) ||
@@ -3778,7 +3778,7 @@
               </div>
               <div
                 class="xuan_right_box"
-                style="background: unset"
+                style="background: unset;padding: 0 10px;"
                 v-if="
                   tType &&
                   ((tType == 2 && sIsOpen == true) ||
@@ -18507,7 +18507,7 @@ export default {
 }
 
 .courseTitle .ctitle {
-  font-size: 24px;
+  font-size: 22px;
   font-weight: bold;
   color: #0e1e33;
   white-space: nowrap;
@@ -20428,7 +20428,7 @@ export default {
 .xuan_right_box {
   padding: 10px;
   background: rgb(247, 247, 247);
-  margin: 10px 12px;
+  margin: 0 12px;
   border-radius: 5px;
 }
 
@@ -21691,25 +21691,6 @@ ol {
   cursor: pointer;
 }
 
-.stageItemTitle {
-  display: flex;
-  flex-direction: row;
-  flex-wrap: nowrap;
-  align-items: center;
-  margin-left: 6px;
-}
-.stageItemTitle > div:first-child {
-  color: #0e1e33;
-  font-size: 16px;
-  font-weight: bold;
-}
-.stageItemTitle > div:last-child {
-  margin-left: 10px;
-  font-size: 14px;
-  font-weight: 400;
-  color: #acb4bf;
-}
-
 .stageChild {
   height: 0;
   overflow: hidden;

+ 5 - 5
src/components/studyStudent.vue

@@ -3872,7 +3872,7 @@
                   </div>
                   <div
                     class="xuan_right_box"
-                    style="background: unset"
+                    style="background: unset;padding: 0 10px;"
                     v-if="
                       tType &&
                       ((tType == 2 && sIsOpen == true) ||
@@ -4034,7 +4034,7 @@
                   </div>
                   <div
                     class="xuan_right_box"
-                    style="background: unset"
+                    style="background: unset;padding: 0 10px;"
                     v-if="
                       tType &&
                       ((tType == 2 && sIsOpen == true) ||
@@ -17571,7 +17571,7 @@ export default {
 }
 
 .courseTitle .ctitle {
-  font-size: 24px;
+  font-size: 22px;
   font-weight: bold;
   color: #0e1e33;
   white-space: nowrap;
@@ -19457,7 +19457,7 @@ export default {
 .xuan_right_box {
   padding: 10px;
   background: rgb(247, 247, 247);
-  margin: 10px 15px 10px 30px;
+  margin: 0 15px 0 30px;
   border-radius: 5px;
   width: 90%;
 }
@@ -20653,7 +20653,7 @@ ol {
 .stageItemTitle > div:last-child {
   margin-left: 10px;
   font-size: 15px;
-  font-weight: 400;
+  font-weight: 600;
   color: #474747;
   max-width: 190px;
   white-space: nowrap;