zengyicheng 2 年之前
父節點
當前提交
4c905a62fa
共有 3 個文件被更改,包括 333 次插入264 次删除
  1. 8 4
      src/components/courseDetail.vue
  2. 3 1
      src/components/index.vue
  3. 322 259
      src/components/study.vue

+ 8 - 4
src/components/courseDetail.vue

@@ -376,7 +376,7 @@ export default {
   width: 150px;
   height: 35px;
   color: #fff;
-  background: #41cda6;
+  background: #4a9eed;
   text-align: center;
   line-height: 35px;
   border-radius: 5px;
@@ -396,8 +396,8 @@ export default {
   margin-left: 35px;
 }
 .choose {
-  border-bottom: 5px solid #3ec6a0;
-  color: #57cdac;
+  border-bottom: 5px solid #4a9eed;
+  color: #4a9eed;
 }
 .student_body {
   display: flex;
@@ -498,7 +498,7 @@ export default {
   height: 100px;
   text-align: center;
   color: #fff;
-  background-image: linear-gradient(to right, #30c499, #75ceba);
+  background-image: linear-gradient(90deg, #477cd7, #65b9fc);
   border-radius: 7px;
   margin: 10px;
   cursor: pointer;
@@ -510,6 +510,7 @@ export default {
   flex-direction: row;
   justify-content: flex-start;
   align-items: center;
+  background-image: linear-gradient(90deg, #477cd7, #65b9fc);
 }
 .blue_box > div:nth-child(1),
 .blue_box_one > div:nth-child(1) {
@@ -518,6 +519,9 @@ export default {
 .blue_box_one > div:nth-child(1) {
   margin: 0 5px;
   width: 40%;
+  line-height: 30px !important;
+  border-radius: 4px;
+  background: #4e7ac6;
 }
 .blue_box > div:nth-child(2) {
   /* line-height: 0px; */

+ 3 - 1
src/components/index.vue

@@ -133,6 +133,7 @@ export default {
       bannerList: [],
       userid: this.$route.query.userid,
       oid: this.$route.query.oid,
+      classId:this.$route.query.cid,
       tType: this.$route.query.tType,
     };
   },
@@ -182,10 +183,11 @@ export default {
       const loading = this.openLoading(document.querySelector(".main_box"));
       let params = {
         oid: this.oid,
+        cid:this.classId,
         page: this.page,
       };
       this.ajax
-        .get(this.$store.state.api + "selectAllCourse", params)
+        .get(this.$store.state.api + "selectAllCourseByCid", params)
         .then((res) => {
           loading.close();
           this.isListAjax = false;

文件差異過大導致無法顯示
+ 322 - 259
src/components/study.vue


部分文件因文件數量過多而無法顯示