Browse Source

addcourse

lsc 2 years ago
parent
commit
8059128744
1 changed files with 40 additions and 16 deletions
  1. 40 16
      src/components/pages/addCourse.vue

+ 40 - 16
src/components/pages/addCourse.vue

@@ -218,7 +218,7 @@
                         v-if="this.checkboxList.length == 0"
                       >添加成员</div>
                       <div class="addPeople" @click="addPP" v-else>已添加,点击查看</div>
-                    </div> -->
+                    </div>-->
                     <div style="flex: 0.5 1 0%; margin: 30px 80px 0">
                       <div class="bInfo_title">协同编辑</div>
                       <div class="addPeople" @click="isNoFinsh" style="background: #6b92c9">添加协同成员</div>
@@ -232,7 +232,7 @@
               <div style="width: 55%; padding: 10px 0 10px 80px">
                 <!-- <div class="bInfo_title">
                   <span style="color: red">*</span>简要描述
-                </div> -->
+                </div>-->
                 <div>
                   <textarea rows="8" class="binfo_input" cols v-model="courseText"></textarea>
                 </div>
@@ -427,7 +427,8 @@
                         <div
                           style="
                             font-weight: unset;
-                            font-size: 1.3rem;
+                            font-size: 1.5em;
+                            font-weight:700;
                             width: 110px;
                           "
                         >任务名称</div>
@@ -451,7 +452,29 @@
                           style="position: absolute; right: 55px"
                         ></div>
                       </div>
-                      <div style="margin: 30px 0 10px; font-size: 16px">任务描述</div>
+                      <!-- <div style="margin: 30px 0 10px; font-size: 16px">任务描述</div> -->
+                      <div
+                        style="
+                        display: flex;
+                        margin: 0 0 20px 0;
+                        flex-direction: row;
+                        justify-content: flex-start;
+                        align-items: center;
+                        width: 70.5% !important;
+                        padding-top: 30px;
+                      "
+                      >
+                        <div
+                          style="
+                          font-size: 1.5em;
+                          font-weight: bold;
+                          margin-top: 15px;
+                          width: 110px;
+                          min-width: 110px;
+                        "
+                        >任务描述</div>
+                        <div class="line"></div>
+                      </div>
                       <div>
                         <textarea
                           rows="6"
@@ -494,7 +517,7 @@
                           width: 110px;
                           min-width: 110px;
                         "
-                      >学习资源</div>
+                      >学习内容</div>
                       <div class="line"></div>
                     </div>
                     <div>
@@ -699,7 +722,7 @@
                           font-weight: bold;
                           margin-top: 15px;
                         "
-                      >任务实施</div>
+                      >练习内容</div>
                       <div class="line" style="width: 90%"></div>
                     </div>
                   </div>
@@ -1702,7 +1725,7 @@ export default {
     nextSteps() {
       if (this.cidType == 1) {
         if (this.steps == 1) {
-          if (this.courseName != "" || this.courseText != "") {
+          if (this.courseName != "") {// || this.courseText != ""
             this.steps = 3;
           } else {
             this.$message.error("请将信息填写完整");
@@ -1710,7 +1733,7 @@ export default {
           }
         } else if (this.steps == 3) {
           if (this.cid == "" || this.cid == undefined) {
-            if (this.courseName == "" || this.courseText == "") {
+            if (this.courseName == "") {// || this.courseText == ""
               this.$message.error("请将信息填写完整");
               return;
             } else {
@@ -1719,10 +1742,8 @@ export default {
             }
           } else {
             if (
-              this.courseName == "" ||
-              this.courseText == "" ||
-              this.cover.length == 0
-            ) {
+              this.courseName == ""
+            ) {// || this.courseText == "" || this.cover.length == 0
               this.$message.error("请将信息填写完整");
               return;
             } else {
@@ -1733,7 +1754,7 @@ export default {
         }
       } else {
         if (this.steps == 1) {
-          if (this.courseName != "" || this.courseText != "") {
+          if (this.courseName != "" ) {//|| this.courseText != ""
             this.steps++;
           } else {
             this.$message.error("请将信息填写完整");
@@ -1750,7 +1771,7 @@ export default {
           this.steps++;
         } else if (this.steps == 3) {
           if (this.cid == "" || this.cid == undefined) {
-            if (this.courseName == "" || this.courseText == "") {
+            if (this.courseName == "" ) {//|| this.courseText == ""
               this.$message.error("请将信息填写完整");
               return;
             } else {
@@ -1758,7 +1779,7 @@ export default {
               this.steps++;
             }
           } else {
-            if (this.courseName == "" || this.courseText == "") {
+            if (this.courseName == "") {// || this.courseText == ""
               this.$message.error("请将信息填写完整");
               return;
             } else {
@@ -3129,10 +3150,11 @@ export default {
 }
 
 .bInfo_title {
-  font-size: 16px;
+  font-size: 20px;
   text-align: left;
   margin-top: 20px;
   margin-bottom: 10px;
+  font-weight: 700;
 }
 
 .small_title {
@@ -3545,6 +3567,8 @@ export default {
   height: 30px;
   padding: 20px 0 10px 30px;
   border-bottom: 1px solid #f2f2f2;
+  font-size: 1.5em;
+  font-weight: bold;
 }
 .people {
   border: 1px solid rgb(229 229 229);