lsc 1 年之前
父節點
當前提交
d5a632a1f2
共有 42 個文件被更改,包括 202 次插入121 次删除
  1. 1 1
      dist/index.html
  2. 0 0
      dist/static/css/app.01e75460b42f466b24c79c5aabe314f7.css
  3. 0 0
      dist/static/css/app.01e75460b42f466b24c79c5aabe314f7.css.map
  4. 0 0
      dist/static/css/app.edb800e879b818698adf08747e371d88.css
  5. 0 0
      dist/static/css/app.edb800e879b818698adf08747e371d88.css.map
  6. 二進制
      dist/static/img/icon_last.834d3b3.png
  7. 0 0
      dist/static/img/icon_return2.cf697fa.png
  8. 0 0
      dist/static/js/app.54bd660ce82ab892f98c.js
  9. 0 0
      dist/static/js/app.c0a3a8c5d39ba112b062.js
  10. 0 0
      dist/static/js/app.c0a3a8c5d39ba112b062.js.map
  11. 0 0
      dist/static/js/manifest.3512a67a6213c2df4180.js.map
  12. 25 13
      src/assets/css/button.css
  13. 二進制
      src/assets/icon/new/addStage.png
  14. 二進制
      src/assets/icon/new/addStage2.png
  15. 二進制
      src/assets/icon/new/aiPaste.png
  16. 二進制
      src/assets/icon/new/c_none.png
  17. 二進制
      src/assets/icon/new/c_none2.png
  18. 二進制
      src/assets/icon/new/eva_none.png
  19. 二進制
      src/assets/icon/new/icon_addTask.png
  20. 二進制
      src/assets/icon/new/icon_finish.png
  21. 0 0
      src/assets/icon/new/icon_finish2.png
  22. 二進制
      src/assets/icon/new/icon_last.png
  23. 0 0
      src/assets/icon/new/icon_last2.png
  24. 二進制
      src/assets/icon/new/icon_return.png
  25. 二進制
      src/assets/icon/new/icon_return2.png
  26. 二進制
      src/assets/icon/new/u_img.png
  27. 二進制
      src/assets/icon/new/u_img2.png
  28. 二進制
      src/assets/icon/new/u_picture.png
  29. 二進制
      src/assets/icon/new/u_picture2.png
  30. 二進制
      src/assets/icon/new/u_source.png
  31. 二進制
      src/assets/icon/new/u_source2.png
  32. 二進制
      src/assets/icon/new/u_up.png
  33. 二進制
      src/assets/icon/new/u_url.png
  34. 二進制
      src/assets/icon/new/u_url2.png
  35. 二進制
      src/assets/icon/new/u_video.png
  36. 二進制
      src/assets/icon/new/u_video2.png
  37. 二進制
      src/assets/icon/new/u_word.png
  38. 二進制
      src/assets/icon/new/u_word2.png
  39. 78 42
      src/components/pages/addCourse.vue
  40. 47 28
      src/components/pages/easy/addCourse.vue
  41. 49 35
      src/components/pages/task/addCourse.vue
  42. 2 2
      src/components/tools/jsmind2.vue

+ 1 - 1
dist/index.html

@@ -25,7 +25,7 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.edb800e879b818698adf08747e371d88.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.1b8e037bd3fbbd358d74.js></script><script type=text/javascript src=./static/js/app.54bd660ce82ab892f98c.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.01e75460b42f466b24c79c5aabe314f7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.1b8e037bd3fbbd358d74.js></script><script type=text/javascript src=./static/js/app.c0a3a8c5d39ba112b062.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.01e75460b42f466b24c79c5aabe314f7.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.01e75460b42f466b24c79c5aabe314f7.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.edb800e879b818698adf08747e371d88.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.edb800e879b818698adf08747e371d88.css.map


二進制
dist/static/img/course_icon2.10e064b.png → dist/static/img/icon_last.834d3b3.png


+ 0 - 0
dist/static/img/icon_return.cf697fa.png → dist/static/img/icon_return2.cf697fa.png


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.54bd660ce82ab892f98c.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.c0a3a8c5d39ba112b062.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.c0a3a8c5d39ba112b062.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3512a67a6213c2df4180.js.map


+ 25 - 13
src/assets/css/button.css

@@ -1,6 +1,6 @@
 .c_pub_button_confirm {
   color: #fff;
-  background-color: #3681fc;
+  background-color: #0061FF;
   padding: 0 24px;
   font-size: 14px;
   min-width: 64px;
@@ -18,7 +18,7 @@
 }
 
 .c_pub_button_confirm:hover {
-  background-color: #4f7cd5 !important;
+  background-color: #3681FC !important;
 }
 
 .c_pub_button_confirm + .c_pub_button_confirm {
@@ -26,9 +26,9 @@
 }
 
 .c_pub_button_add {
-  color: #3681fc;
+  color: #0061FF;
   background-color: #fff;
-  border: 2px solid #86b3fd;
+  border: 1.5px solid #0061FF;
   padding: 0 24px;
   font-size: 14px;
   min-width: 64px;
@@ -45,7 +45,8 @@
 }
 
 .c_pub_button_add:hover {
-  background-color: #f0f4fa !important;
+  background: #E0EAFB !important;
+  /* background-color: #f0f4fa !important; */
 }
 
 .c_pub_button_add + .c_pub_button_add {
@@ -53,15 +54,15 @@
 }
 
 .c_pub_button_return {
-  color: #3681fc;
-  background-color: #e7ebf1;
+  color: #060E17;
+  background-color: #F0F4FA;
+  border: 1.5px solid #CAD1DC;
   padding: 0 24px;
   font-size: 14px;
   min-width: 64px;
   font-weight: 500;
   border-radius: 4px;
   box-sizing: border-box;
-  border: none;
   cursor: pointer;
   transition: all 0.2s ease-in-out;
   height: 36px;
@@ -73,7 +74,8 @@
 
 .c_pub_button_return:hover {
   /* background-color: #e1e5ea !important; */
-  background-color: #dbdbdb !important;
+  /* background-color: #dbdbdb !important; */
+  background: #CAD1DC !important;
 }
 
 .c_pub_button_return + .c_pub_button_return {
@@ -81,7 +83,7 @@
 }
 
 .c_pub_button_return + .c_pub_button_confirm {
-  margin-left: 40px;
+  margin-left: 20px;
 }
 
 .c_pub_button_delete {
@@ -116,6 +118,7 @@
 }
 
 .pub_btn_add_img2::before,
+.pub_btn_add_task_img::before,
 .pub_btn_finish_img::before,
 .pub_btn_last_img::before,
 .pub_btn_next_img::before,
@@ -134,6 +137,8 @@
 }
 
 .pub_btn_add_img::before {
+  width: 20px;
+  height: 20px;
   background-image: url(../icon/new/addStage.png);
 }
 
@@ -142,7 +147,8 @@
 }
 
 .pub_btn_paste_img::before {
-  background-image: url(../icon/new/icon_paste.png);
+  /* background-image: url(../icon/new/icon_paste.png); */
+  background-image: url(../icon/new/aiPaste.png);
 }
 
 .pub_btn_finish_img::before {
@@ -150,7 +156,9 @@
 }
 
 .pub_btn_last_img::before {
+  transform: rotate(180deg);
   background-image: url(../icon/new/icon_last.png);
+  /* background-image: url(../icon/new/icon_last.png); */
 }
 
 .pub_btn_next_img::before {
@@ -165,8 +173,12 @@
   background-image: url(../icon/new/delete_u.png);
 }
 
+.pub_btn_add_task_img::before {
+  background-image: url(../icon/new/icon_addTask.png);
+}
+
 .r_pub_button_retrun {
-  color: #3681fc;
+  color: #0061FF;
   font-size: 14px;
   cursor: pointer;
   display: flex;
@@ -183,7 +195,7 @@
   background-size: 100% 100%;
   display: block;
   margin-right: 7px;
-  background-image: url(../icon/new/icon_return.png);
+  background-image: url(../icon/new/icon_return2.png);
 }
 
 .r_pub_button_course {

二進制
src/assets/icon/new/addStage.png


二進制
src/assets/icon/new/addStage2.png


二進制
src/assets/icon/new/aiPaste.png


二進制
src/assets/icon/new/c_none.png


二進制
src/assets/icon/new/c_none2.png


二進制
src/assets/icon/new/eva_none.png


二進制
src/assets/icon/new/icon_addTask.png


二進制
src/assets/icon/new/icon_finish.png


+ 0 - 0
dist/static/img/icon_finish.d36cdce.png → src/assets/icon/new/icon_finish2.png


二進制
src/assets/icon/new/icon_last.png


+ 0 - 0
dist/static/img/icon_last.6997540.png → src/assets/icon/new/icon_last2.png


二進制
src/assets/icon/new/icon_return.png


二進制
src/assets/icon/new/icon_return2.png


二進制
src/assets/icon/new/u_img.png


二進制
src/assets/icon/new/u_img2.png


二進制
src/assets/icon/new/u_picture.png


二進制
src/assets/icon/new/u_picture2.png


二進制
src/assets/icon/new/u_source.png


二進制
src/assets/icon/new/u_source2.png


二進制
src/assets/icon/new/u_up.png


二進制
src/assets/icon/new/u_url.png


二進制
src/assets/icon/new/u_url2.png


二進制
src/assets/icon/new/u_video.png


二進制
src/assets/icon/new/u_video2.png


二進制
src/assets/icon/new/u_word.png


二進制
src/assets/icon/new/u_word2.png


+ 78 - 42
src/components/pages/addCourse.vue

@@ -94,7 +94,7 @@
                   <div class="course_input_box">
                     <div class="bb_courseIcon"><img src="../../assets/icon/new/course_icon.png" /></div>
                     <input type="text" placeholder="请输入课程名称" class="binfo_input" v-model="courseName"
-                      style="border: 1px solid #CAD1DC;background: #f6f6f6;" />
+                      style="border: 1.5px solid #CAD1DC;background: #f6f6f6;" />
                     <el-switch v-model="isTeacherSee" active-text="是否公开此课程"></el-switch>
                   </div>
                 </div>
@@ -202,7 +202,7 @@
               <div style="margin: 0 auto;padding:0 20px">
                 <div style="
                         width: 95%;
-                        min-height: 600px;
+                        min-height: 200px;
                         border: 1px solid #CAD1DC;
                         border-radius: 4px;
                         position: relative;
@@ -249,7 +249,8 @@
                   </div>
                   <div v-if="evalua == ''">
                     <div class="noneBox">
-                      <img src="../../assets/icon/isNoMessage.png" />
+                      <img src="../../assets/icon/new/eva_none.png" />
+                      <span>请添加目标管理</span>
                     </div>
                   </div>
                   <div class="e_add_content" v-else>
@@ -555,7 +556,8 @@
                     <div class="taskBorder" :style="{ minHeight: unitJson[unitIndex].easy && 'unset' }"
                       :class="{ smallTaskBorder: itemTask.isFold === 1 }"
                       v-for="(itemTask, itemTaskIndex) in item.taskJson" :key="itemTaskIndex">
-                      <div style="background: #fff;padding: 20px;border-radius: 5px;">
+                      <div style="background: #fff;border-radius: 5px;">
+                        <!-- padding: 20px; -->
                         <div v-if="unitJson[unitIndex].easy != 1">
                           <div :style="{
                             marginBottom:
@@ -640,8 +642,8 @@
                           </div>
                           <div v-if="!itemTask.isFoldchapter">
                             <div class="add_chapters_box add_c_none" v-if="itemTask.chapterData &&
-                              itemTask.chapterData.length == 0
-                              "><img src="../../assets/icon/new/c_none.png" alt /></div>
+                            itemTask.chapterData.length == 0
+                            "><img src="../../assets/icon/new/c_none.png" alt /><span>请添加学习内容</span></div>
                             <div v-else class="add_chapters_box" style="display: flex; flex-direction: column">
                               <div class="chapter_upload" v-for="(item1, index1) in itemTask.chapterData" :key="item1.id"
                                 @click="
@@ -1126,7 +1128,8 @@
                           </div>
                         </div>
                       </div>
-                      <div style="background: #fff;padding: 20px;border-radius: 5px;margin-top: 15px;">
+                      <!-- padding: 20px; -->
+                      <div style="background: #fff;border-radius: 5px;margin-top: 15px;">
                         <div v-if="unitJson[unitIndex].easy != 3 &&
                           !(unitJson[unitIndex].easy == 5 && itemTask.taskType == 1)
                           " style="
@@ -2265,9 +2268,9 @@
                         </div>
                         <div class="funBlock" style="padding: 0">
                           <div class="fold" @click="fold(itemTaskIndex, $event)">
-                            <div class="arrow" :class="{ arrowZ: itemTask.isFold === 1 }">
+                            <div class="arrow" :class="{ arrowZ: !(itemTask.isFold === 1) }">
                             </div>
-                            <div>{{ itemTask.isFold === 1 ? '展开' : '折叠' }}</div>
+                            <div>{{ itemTask.isFold === 1 ? '展开任务' : '收起任务' }}</div>
                           </div>
                           <!-- <div class="fold" @click="fold(itemTaskIndex, $event, 0)">
                           <div>展开</div>
@@ -2279,10 +2282,13 @@
                       </div>
                     </div>
                     <div class="addTaskBorder" @click="addTaskBorder" v-if="!unitJson[unitIndex].easy">
-                      <div>
-                        <img src="../../assets/icon/new/addStage.png" alt />
+                                            <!-- <div>
+                        <img src="../../../assets/icon/new/addStage.png" alt />
                         <span>添加任务</span>
-                      </div>
+                      </div> -->
+                      <button class="c_pub_button_confirm pub_btn_add_task_img" @click="addTaskBorder">
+                        添加任务
+                      </button>
                     </div>
                   </div>
                   <div class="info_btnBox3">
@@ -9024,7 +9030,8 @@ export default {
 .info_btnBox3 {
   width: calc(100%);
   display: flex;
-  justify-content: center;
+  justify-content: flex-end;
+  padding:0 20px;
   height: 60px;
   align-items: center;
   background: unset;
@@ -9284,11 +9291,11 @@ export default {
   font-family: 'Microsoft YaHei';
   min-height: 48px;
   /* border: 1px solid #3682fc00; */
-  border: 1px solid #CAD1DC;
+  border: 1.5px solid #CAD1DC;
 }
 
 .binfo_textarea {
-  border: 1px solid #CAD1DC;
+  border: 1.5px solid #CAD1DC;
   font-size: 16px;
   resize: none;
   background: #f6f6f6;
@@ -9296,7 +9303,7 @@ export default {
 }
 
 .binfo_input:focus-visible {
-  border: 1px solid #3681FC !important;
+  border: 1.5px solid #3681FC !important;
 }
 
 .time {
@@ -9395,7 +9402,7 @@ export default {
   font-size: 16px;
   box-sizing: border-box;
   position: relative;
-  padding: 20px 15px;
+  padding: 0 15px;
   height: auto;
   overflow-y: auto;
   overflow-x: hidden;
@@ -9406,12 +9413,17 @@ export default {
   display: flex;
   justify-content: center;
   align-items: center;
+  padding: 15px;
 }
 
 .add_c_none>img {
-  width: 135px;
+  width: 25px;
+}
+.add_chapters_box.add_c_none>span{
+  font-size: 14px;
+  font-weight: 400;
+  margin: 0 0 5px 5px;
 }
-
 .homework_box {
   display: flex;
   align-items: flex-start;
@@ -9733,19 +9745,21 @@ export default {
 }
 
 .chapter_upload+.chapter_upload {
-  margin-top: 15px;
+  /* margin-top: 15px; */
+  border-top: 1px solid #E7EBF1;
 }
 
 .chapter_upload {
-  height: 35px;
+  height: 45px;
   position: relative;
   display: flex;
   align-items: center;
   width: 100%;
-  min-height: 35px;
-  box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16);
-  border-radius: 4px;
+  min-height: 45px;
+  /* box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16); */
+  /* border-radius: 4px; */
   overflow: hidden;
+  box-sizing:border-box;
 }
 
 .chapter_upload_t {
@@ -10672,8 +10686,8 @@ ol {
 }
 
 .smallTaskBorder {
-  height: 170px;
-  min-height: 170px !important;
+  height: 280px;
+  min-height: 280px !important;
   overflow: hidden;
 }
 
@@ -10682,15 +10696,20 @@ ol {
 } */
 
 .addTaskBorder {
-  border: 2px solid #5E9AFC;
+  /* border: 2px solid #5E9AFC; */
   border-radius: 8px;
-  margin-top: 25px;
+  margin-top: 10px;
   cursor: pointer;
-  height: 50px;
-  line-height: 50px;
+  /* height: 50px;
+  line-height: 50px; */
+  background: #fff;
+  padding: 15px 0;
+  display: flex;
+  align-items: center;
+  justify-content: center;
 }
 
-.addTaskBorder>div {
+/* .addTaskBorder>div {
   margin: 0 auto;
   display: flex;
   align-items: center;
@@ -10705,17 +10724,21 @@ ol {
   font-size: 16px;
   margin-left: 10px;
   color: #5E9AFC;
-}
+} */
+
 
 .funBlock {
   display: flex;
   padding: 15px 0;
   flex-direction: row;
-  justify-content: flex-end;
+  justify-content: center;
   align-items: center;
   position: absolute;
-  right: 15px;
-  bottom: 35px;
+  right: 0;
+  bottom: 0;
+  background: #fff;
+  width: 100%;
+  height: 60px;
 }
 
 .fold {
@@ -10724,16 +10747,23 @@ ol {
   flex-direction: row;
   align-items: center;
   cursor: pointer;
-  color: #717C8D;
+  color: #2b7bff;
 }
 
 .arrow {
   margin-right: 8px;
-  border-left: 7px solid transparent;
+  width: 16px;
+  height: 16px;
+  min-width: 16px;
+  min-height: 16px;
+  background-size: 100% 100%;
+  display: block;
+  background-image: url(../../assets/icon/new/u_up.png);
+  /* border-left: 7px solid transparent;
   border-bottom: 7px solid #717C8D;
   border-top: 0px solid transparent;
-  border-right: 7px solid transparent;
-  box-sizing: border-box;
+  border-right: 7px solid transparent; */
+  /* box-sizing: border-box; */
   transition: all .3s;
 }
 
@@ -12005,16 +12035,22 @@ ol {
 }
 
 .noneBox {
-  height: 100%;
+  height: 200px;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
-  margin-top: 150px;
+  flex-direction: column;
+  /* margin-top: 150px; */
 }
 
 .noneBox>img {
-  width: 300px;
+  width: 95px;
+}
+
+.noneBox>span{
+  margin-top:10px;
+  color: #717C8D;
 }
 
 .rb_c_box {

+ 47 - 28
src/components/pages/easy/addCourse.vue

@@ -37,7 +37,7 @@
                   <div class="course_input_box">
                     <div class="bb_courseIcon"><img src="../../../assets/icon/new/course_icon.png" /></div>
                     <input type="text" placeholder="请输入课程名称" class="binfo_input" v-model="courseName"
-                      style="border: 1px solid #CAD1DC;background: #f6f6f6;" />
+                      style="border: 1.5px solid #CAD1DC;background: #f6f6f6;" />
                     <el-switch v-model="isTeacherSee" active-text="是否公开此课程"></el-switch>
                   </div>
                 </div>
@@ -119,6 +119,9 @@
                       getClassC(tc) }}</span>
                   </div>
                 </div>
+                <div style="margin-left: auto;">
+                  <button class="c_pub_button_add pub_btn_paste_img" @click="pasteTask" v-if="isPasteTask">智能粘贴</button>
+                </div>
               </div>
             </div>
             <div class="whiteBg" style="border-radius: 0; margin-top: 15px" v-if="false">
@@ -129,14 +132,14 @@
                 </div>
               </div>
             </div>
-            <div class="whiteBg" style="border-radius: 0; margin-top: 15px; background:#F0F2F5;">
-              <div class="right_title">
+            <div class="whiteBg" style="border-radius: 0; background:#F0F2F5;">
+              <!-- <div class="right_title">
                 <div class="bb_courseIcon"><img src="../../../assets/icon/new/course_icon2.png" />
                 </div>
                 <span style="margin:0 10px">上传课程内容</span>
                 <button class="c_pub_button_add pub_btn_paste_img" @click="pasteTask" style="margin-left: 145px"
                   v-if="isPasteTask">智能粘贴</button>
-              </div>
+              </div> -->
               <div style="display: flex">
                 <div class="course_left">
                   <div class="stepsBottom2">
@@ -177,7 +180,7 @@
                   </div>
                 </div>
                 <div class="basic_box2">
-                  <div style="margin: 0 0 40px 0; padding: 0 0 0 20px"
+                  <div style="margin: 0 0 20px 0; padding: 0 0 0 10px"
                     v-for="(item, index) in unitJson[unitIndex].chapterInfo" :key="index">
                     <div class="taskBorder" style="padding: 20px 20px 10px;">
                       <div class="basic_box" style="
@@ -201,7 +204,7 @@
                         <div v-if="!item.taskJson[0].isFoldchapter">
                           <div class="add_chapters_box add_c_none" v-if="item.taskJson[0].chapterData &&
                             item.taskJson[0].chapterData.length == 0
-                            "><img src="../../../assets/icon/new/c_none.png" alt /></div>
+                            "><img src="../../../assets/icon/new/c_none.png" alt /><span>请添加学习内容</span></div>
                           <div v-else class="add_chapters_box" style="display: flex; flex-direction: column">
                             <div class="chapter_upload" v-for="(item1, index1) in item.taskJson[0]
                               .chapterData" :key="item1.id" @click="
@@ -1509,11 +1512,14 @@
                         </div>
                       </div>
                     </div>
-                    <div class="addTaskBorder" @click="addTaskBorder" v-if="!unitJson[unitIndex].easy">
-                      <div>
+                    <div class="addTaskBorder" v-if="!unitJson[unitIndex].easy">
+                      <!-- <div>
                         <img src="../../../assets/icon/new/addStage.png" alt />
                         <span>添加任务</span>
-                      </div>
+                      </div> -->
+                      <button class="c_pub_button_confirm pub_btn_add_task_img" @click="addTaskBorder">
+                        添加任务
+                      </button>
                     </div>
                   </div>
                 </div>
@@ -9738,7 +9744,8 @@ export default {
 .info_btnBox3 {
   width: calc(100%);
   display: flex;
-  justify-content: center;
+  justify-content: flex-end;
+  padding:0 20px;
   height: 60px;
   align-items: center;
   background: unset;
@@ -9991,11 +9998,11 @@ export default {
   resize: none;
   font-family: 'Microsoft YaHei';
   min-height: 48px;
-  border: 1px solid #CAD1DC;
+  border: 1.5px solid #CAD1DC;
 }
 
 .binfo_textarea {
-  border: 1px solid #CAD1DC;
+  border: 1.5px solid #CAD1DC;
   font-size: 16px;
   resize: none;
   background: #f6f6f6;
@@ -10004,7 +10011,7 @@ export default {
 
 
 .binfo_input:focus-visible {
-  border: 1px solid #3681FC !important;
+  border: 1.5px solid #3681FC !important;
 }
 
 .time {
@@ -10103,7 +10110,7 @@ export default {
   font-size: 16px;
   box-sizing: border-box;
   position: relative;
-  padding: 20px 15px;
+  padding: 0 15px;
   height: auto;
   overflow-y: auto;
   overflow-x: hidden;
@@ -10114,10 +10121,16 @@ export default {
   display: flex;
   justify-content: center;
   align-items: center;
+  padding: 15px;
 }
 
 .add_c_none>img {
-  width: 135px;
+  width: 25px;
+}
+.add_chapters_box.add_c_none>span{
+  font-size: 14px;
+  font-weight: 400;
+  margin: 0 0 5px 5px;
 }
 
 .homework_box {
@@ -10435,19 +10448,21 @@ export default {
 }
 
 .chapter_upload+.chapter_upload {
-  margin-top: 15px;
+  /* margin-top: 15px; */
+  border-top: 1px solid #E7EBF1;
 }
 
 .chapter_upload {
-  height: 35px;
+  height: 45px;
   position: relative;
   display: flex;
   align-items: center;
   width: 100%;
-  min-height: 35px;
-  box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16);
-  border-radius: 4px;
+  min-height: 45px;
+  /* box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16); */
+  /* border-radius: 4px; */
   overflow: hidden;
+  box-sizing:border-box;
 }
 
 .chapter_upload_t {
@@ -11295,7 +11310,7 @@ ol {
 .taskBorder {
   /*border: 1px solid #e1e1e1; */
   border-radius: 8px;
-  margin-top: 20px;
+  margin-top: 10px;
   /* min-height: 1160px; */
   position: relative;
   background: #fff;
@@ -11315,16 +11330,20 @@ ol {
 }
 
 .addTaskBorder {
-  border: 2px solid #5E9AFC;
+  /* border: 2px solid #5E9AFC; */
   border-radius: 8px;
-  margin-top: 25px;
+  margin-top: 10px;
   cursor: pointer;
-  height: 50px;
-  line-height: 50px;
+  /* height: 50px;
+  line-height: 50px; */
   background: #fff;
+  padding: 15px 0;
+  display: flex;
+  align-items: center;
+  justify-content: center;
 }
 
-.addTaskBorder>div {
+/* .addTaskBorder>div {
   margin: 0 auto;
   display: flex;
   align-items: center;
@@ -11339,7 +11358,7 @@ ol {
   font-size: 16px;
   margin-left: 10px;
   color: #5E9AFC;
-}
+} */
 
 .funBlock {
   display: flex;
@@ -12376,7 +12395,7 @@ ol {
 
 .stepsBottom2 {
   width: 300px;
-  margin: 20px 0;
+  margin: 10px 0;
   /* box-shadow: 0 0 10px 10px #f7f7f7; */
   /* background: #f7f7f7; */
   border-radius: 8px;

+ 49 - 35
src/components/pages/task/addCourse.vue

@@ -50,7 +50,7 @@
                   <div class="course_input_box">
                     <div class="bb_courseIcon"><img src="../../../assets/icon/new/course_icon.png" /></div>
                     <input type="text" placeholder="请输入课程名称" class="binfo_input" v-model="courseName"
-                      style="border: 1px solid #CAD1DC;background: #f6f6f6;" />
+                      style="border: 1.5px solid #CAD1DC;background: #f6f6f6;" />
                     <el-switch v-model="isTeacherSee" active-text="是否公开此课程"></el-switch>
                   </div>
                 </div>
@@ -132,6 +132,9 @@
                       getClassC(tc) }}</span>
                   </div>
                 </div>
+                <div style="margin-left: auto;">
+                  <button class="c_pub_button_add pub_btn_paste_img" @click="pasteTask" v-if="isPasteTask">智能粘贴</button>
+                </div>
               </div>
             </div>
             <div
@@ -151,12 +154,12 @@
                 </div>
               </div>
             </div>
-            <div class="whiteBg" style="border-radius: 0;background: #F0F2F5; margin-top: 15px">
-              <div class="right_title">
+            <div class="whiteBg" style="border-radius: 0;background: #F0F2F5;">
+              <!-- <div class="right_title">
                 <div class="bb_courseIcon"><img src="../../../assets/icon/new/course_icon2.png" /></div>
                 <span style="margin:0 10px">上传课程内容</span>
                 <button class="c_pub_button_add pub_btn_paste_img" @click="pasteTask" style="margin-left: 145px" v-if="isPasteTask">智能粘贴</button>
-              </div>
+              </div> -->
               <div style="display: flex">
                 <div class="course_left">
                   <div class="stepsBottom2">
@@ -205,7 +208,7 @@
                 </div>
                 <div class="basic_box2">
                   <div
-                    style="margin: 0 0 40px 0; padding: 0 20px 0 20px"
+                    style="margin: 0 0 20px 0; padding: 0 0 0 10px"
                     v-for="(item, index) in unitJson[unitIndex].chapterInfo"
                     :key="index"
                   >
@@ -303,13 +306,9 @@
                           <div v-else class="show_taskD" @click="foldC(itemTaskIndex)"><img src="../../../assets/icon/new/icon-slide.png" />展开学习内容</div>
                         </div>
                         <div v-if="!itemTask.isFoldchapter">
-                          <div
-                            class="add_chapters_box add_c_none"
-                            v-if="
-                              itemTask.chapterData &&
-                              itemTask.chapterData.length == 0
-                            "
-                          ><img src="../../../assets/icon/new/c_none.png" alt /></div>
+                          <div class="add_chapters_box add_c_none" v-if="itemTask.chapterData &&
+                            itemTask.chapterData.length == 0
+                            "><img src="../../../assets/icon/new/c_none.png" alt /><span>请添加学习内容</span></div>
                           <div
                             v-else
                             class="add_chapters_box"
@@ -2211,10 +2210,13 @@
                       </div>
                     </div>
                     <div class="addTaskBorder" @click="addTaskBorder" v-if="!unitJson[unitIndex].easy">
-                      <div>
+                                            <!-- <div>
                         <img src="../../../assets/icon/new/addStage.png" alt />
                         <span>添加任务</span>
-                      </div>
+                      </div> -->
+                      <button class="c_pub_button_confirm pub_btn_add_task_img" @click="addTaskBorder">
+                        添加任务
+                      </button>
                     </div>
                   </div>
                 </div>
@@ -12202,7 +12204,8 @@ export default {
 .info_btnBox3 {
   width: calc(100%);
   display: flex;
-  justify-content: center;
+  justify-content: flex-end;
+  padding:0 20px;
   height: 60px;
   align-items: center;
   background: unset;
@@ -12457,11 +12460,11 @@ export default {
   font-family: 'Microsoft YaHei';
   min-height:48px;
   /* border: 1px solid #3682fc00; */
-  border: 1px solid #CAD1DC;
+  border: 1.5px solid #CAD1DC;
 }
 
 .binfo_textarea {
-  border: 1px solid #CAD1DC;
+  border: 1.5px solid #CAD1DC;
   font-size: 16px;
   resize: none;
   background: #f6f6f6;
@@ -12470,7 +12473,7 @@ export default {
 
 
 .binfo_input:focus-visible {
-  border: 1px solid #3681FC !important;
+  border: 1.5px solid #3681FC !important;
 }
 
 .time {
@@ -12569,7 +12572,7 @@ export default {
   font-size: 16px;
   box-sizing: border-box;
   position: relative;
-  padding: 20px 15px;
+  padding: 0 15px;
   height: auto;
   overflow-y: auto;
   overflow-x: hidden;
@@ -12581,12 +12584,17 @@ export default {
   display: flex;
   justify-content: center;
   align-items: center;
+  padding: 15px;
 }
 
-.add_c_none > img{
-  width: 135px;
+.add_c_none>img {
+  width: 25px;
+}
+.add_chapters_box.add_c_none>span{
+  font-size: 14px;
+  font-weight: 400;
+  margin: 0 0 5px 5px;
 }
-
 .homework_box {
   display: flex;
   align-items: flex-start;
@@ -12900,19 +12908,21 @@ export default {
 }
 
 .chapter_upload+.chapter_upload {
-  margin-top: 15px;
+  /* margin-top: 15px; */
+  border-top: 1px solid #E7EBF1;
 }
 
 .chapter_upload {
-  height: 35px;
+  height: 45px;
   position: relative;
   display: flex;
   align-items: center;
   width: 100%;
-  min-height: 35px;
-  box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16);
-  border-radius: 4px;
+  min-height: 45px;
+  /* box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16); */
+  /* border-radius: 4px; */
   overflow: hidden;
+  box-sizing:border-box;
 }
 
 .chapter_upload_t {
@@ -13760,7 +13770,7 @@ ol {
 .taskBorder {
   /*border: 1px solid #e1e1e1; */
     border-radius: 8px;
-    margin-top: 20px;
+    margin-top: 10px;
     /* min-height: 1160px; */
     position: relative;
     background: #F0F4FA;
@@ -13780,16 +13790,20 @@ ol {
 }
 
 .addTaskBorder {
-  border: 2px solid #5E9AFC;
+  /* border: 2px solid #5E9AFC; */
   border-radius: 8px;
-  margin-top: 25px;
+  margin-top: 10px;
   cursor: pointer;
-  height: 50px;
-  line-height: 50px;
+  /* height: 50px;
+  line-height: 50px; */
   background: #fff;
+  padding: 15px 0;
+  display: flex;
+  align-items: center;
+  justify-content: center;
 }
 
-.addTaskBorder>div {
+/* .addTaskBorder>div {
   margin: 0 auto;
   display: flex;
   align-items: center;
@@ -13804,7 +13818,7 @@ ol {
   font-size: 16px;
   margin-left: 10px;
   color: #5E9AFC;
-}
+} */
 
 .funBlock {
   display: flex;
@@ -14842,7 +14856,7 @@ ol {
 
 .stepsBottom2 {
   width: 300px;
-  margin: 20px 0;
+  margin: 10px 0;
   /* box-shadow: 0 0 10px 10px #f7f7f7; */
   /* background: #f7f7f7; */
   border-radius: 8px;

+ 2 - 2
src/components/tools/jsmind2.vue

@@ -447,8 +447,8 @@ export default {
   margin-left: 10px;
 }
 .jsmind_layout >>> jmnode{
-  white-space: wrap;
-  word-wrap: break-word;
+  white-space: nowrap;
+  max-width: unset;
 }
 .jsmind_layout >>> jmnode.selected {
   background-color: #b9b9b9;

Some files were not shown because too many files changed in this diff