Просмотр исходного кода

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table

lsc 2 лет назад
Родитель
Сommit
db2ab295b0

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/bc2d9c19be0f1f086759.worker.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/bc2d9c19be0f1f086759.worker.js.map


+ 5 - 1
dist/index.html

@@ -18,4 +18,8 @@
       border-radius: 10px;
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.c7641732fe70f1a0619aa27e53898a41.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.30bffeaaa8c3b2b4d120.js></script><script type=text/javascript src=./static/js/app.9ee756a2ee35100de898.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+<<<<<<< HEAD
+    }</style><link href=./static/css/app.c7641732fe70f1a0619aa27e53898a41.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.30bffeaaa8c3b2b4d120.js></script><script type=text/javascript src=./static/js/app.9ee756a2ee35100de898.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+=======
+    }</style><link href=./static/css/app.9f329b9a77ae76cece5e4a8b75ee0814.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.8585370f4405bf8a83e7.js></script><script type=text/javascript src=./static/js/app.dc4b5e8dfe618b2cccbf.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+>>>>>>> 0345a2c875cce4531bd71ab1149ea9b016fa7e98

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
dist/static/css/app.9f329b9a77ae76cece5e4a8b75ee0814.css


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/static/css/app.9f329b9a77ae76cece5e4a8b75ee0814.css.map


Разница между файлами не показана из-за своего большого размера
+ 1 - 0
dist/static/css/app.c7641732fe70f1a0619aa27e53898a41.css


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/static/css/app.c7641732fe70f1a0619aa27e53898a41.css.map


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/static/js/app.dc4b5e8dfe618b2cccbf.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/static/js/app.dc4b5e8dfe618b2cccbf.js.map


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/static/js/vendor.8585370f4405bf8a83e7.js


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
dist/static/js/vendor.8585370f4405bf8a83e7.js.map


+ 53 - 63
src/components/study.vue

@@ -133,21 +133,9 @@
             v-for="(rw, rwIndex) in jd.chapterInfo[0].taskJson"
             v-for="(rw, rwIndex) in jd.chapterInfo[0].taskJson"
             :key="rwIndex"
             :key="rwIndex"
           >
           >
-            <div
-              class="vedioBox"
-              style="
-                border-radius: 0px;
-                font-size: 18px;
-                padding: 20px;
-                display: flex;
-                flex-direction: row;
-                align-items: center;
-              "
-            >
-              <div class="vedioNav" :id="jdIndex + '-' + rwIndex">
-                任务{{ rwIndex + 1 }}
-              </div>
-              <div style="margin: 10px 0 0 10px">{{ rw.task }}</div>
+            <div class="rwCss">
+              <div :id="jdIndex + '-' + rwIndex">任务{{ rwIndex + 1 }}</div>
+              <div style="margin: 0px 0 0 10px">{{ rw.task }}</div>
             </div>
             </div>
             <div
             <div
               class="vedioBox"
               class="vedioBox"
@@ -225,8 +213,8 @@
                       v-if="showType[jdIndex][rwIndex] == 1"
                       v-if="showType[jdIndex][rwIndex] == 1"
                       style="
                       style="
                         box-shadow: 0 0 6px 1px #f2f2f2;
                         box-shadow: 0 0 6px 1px #f2f2f2;
-                        width: 95%;
-                        margin: 0 auto;
+                        width: 90%;
+                        margin: 0 0 20px 30px;
                         background: #f1f1f1;
                         background: #f1f1f1;
                       "
                       "
                     >
                     >
@@ -243,7 +231,7 @@
                             {{ textList[jdIndex][rwIndex][0].name }}
                             {{ textList[jdIndex][rwIndex][0].name }}
                           </div>
                           </div>
                         </el-form-item>
                         </el-form-item>
-                        <div style="color: #918f8f;width:85%">文档内容</div>
+                        <div style="color: #918f8f; width: 85%">文档内容</div>
                         <div
                         <div
                           v-html="textList[jdIndex][rwIndex][0].url"
                           v-html="textList[jdIndex][rwIndex][0].url"
                           class="textContent"
                           class="textContent"
@@ -352,7 +340,6 @@
                                   : mr
                                   : mr
                               "
                               "
                               alt
                               alt
-                              
                             />
                             />
                             <div class="vedioTime">{{ vedioTime }}</div>
                             <div class="vedioTime">{{ vedioTime }}</div>
                           </div>
                           </div>
@@ -384,10 +371,7 @@
                           文档
                           文档
                         </div>
                         </div>
                         <div style="width: calc(100% - 115px)">
                         <div style="width: calc(100% - 115px)">
-                          <div
-                            class="navText"
-                            
-                          >
+                          <div class="navText">
                             {{
                             {{
                               textList[jdIndex][rwIndex].length > 0
                               textList[jdIndex][rwIndex].length > 0
                                 ? text.name
                                 ? text.name
@@ -425,7 +409,6 @@
                             <a
                             <a
                               style="text-decoration: none; color: #000"
                               style="text-decoration: none; color: #000"
                               target="_Blank"
                               target="_Blank"
-                              
                               >{{ lines.url }}</a
                               >{{ lines.url }}</a
                             >
                             >
                           </div>
                           </div>
@@ -456,9 +439,7 @@
                           文档
                           文档
                         </div>
                         </div>
                         <div style="width: calc(100% - 115px)">
                         <div style="width: calc(100% - 115px)">
-                          <div
-                            class="navText"
-                          >
+                          <div class="navText">
                             {{ f.name }}
                             {{ f.name }}
                           </div>
                           </div>
                         </div>
                         </div>
@@ -486,9 +467,7 @@
                 </div>
                 </div>
                 <div
                 <div
                   style="padding: 10px 30px 0"
                   style="padding: 10px 30px 0"
-                  v-if="
-                    showType[jdIndex][rwIndex] == 1
-                  "
+                  v-if="showType[jdIndex][rwIndex] == 1"
                 >
                 >
                   <el-button
                   <el-button
                     type="primary"
                     type="primary"
@@ -649,14 +628,19 @@
                             <div v-if="tooC == 2">
                             <div v-if="tooC == 2">
                               <div class="iframeName">便签</div>
                               <div class="iframeName">便签</div>
                               <iframe
                               <iframe
-                                :src="'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note?userid=' + userid + '&oid=' + oid"
+                                src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note"
                                 class="iframeCss"
                                 class="iframeCss"
                               ></iframe>
                               ></iframe>
                             </div>
                             </div>
                             <div v-if="tooC == 25">
                             <div v-if="tooC == 25">
                               <div class="iframeName">目标管理</div>
                               <div class="iframeName">目标管理</div>
                               <iframe
                               <iframe
-                                :src="'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=' + userid + '&oid=' + oid"
+                                :src="
+                                  'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=' +
+                                  userid +
+                                  '&oid=' +
+                                  oid
+                                "
                                 class="iframeCss"
                                 class="iframeCss"
                               ></iframe>
                               ></iframe>
                             </div>
                             </div>
@@ -1618,17 +1602,9 @@
                 <div class="up_photo">
                 <div class="up_photo">
                   <img src="../assets/icon/uploadImg.png" alt />
                   <img src="../assets/icon/uploadImg.png" alt />
                 </div>
                 </div>
-                <!-- <input
-                  type="file"
-                  accept="application/pdf, application/.ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/*"
-                  capture="camera"
-                  style="display: none"
-                  @change="beforeUpload1($event, 1)"
-                /> -->
                 <input
                 <input
                   type="file"
                   type="file"
-                  accept="image/*"
-                  capture="camera"
+                  accept="*"
                   style="display: none"
                   style="display: none"
                   @change="beforeUpload1($event, 1)"
                   @change="beforeUpload1($event, 1)"
                 />
                 />
@@ -2025,15 +2001,21 @@
             background: #f1f1f1;
             background: #f1f1f1;
           "
           "
         >
         >
-          <div class="title" style="width: 100%;box-sizing: border-box;">查看文档</div>
-          <el-form class="textBox" style="height:90%">
+          <div class="title" style="width: 100%; box-sizing: border-box">
+            查看文档
+          </div>
+          <el-form class="textBox" style="height: 90%">
             <el-form-item label="文档标题" class="textTitle">
             <el-form-item label="文档标题" class="textTitle">
               <div style="font-size: 22px; max-height: 100px; overflow: auto">
               <div style="font-size: 22px; max-height: 100px; overflow: auto">
                 {{ fullUrl.name }}
                 {{ fullUrl.name }}
               </div>
               </div>
             </el-form-item>
             </el-form-item>
             <div style="color: #918f8f; width: 85%">文档内容</div>
             <div style="color: #918f8f; width: 85%">文档内容</div>
-            <div v-html="fullUrl.url" class="textContent" style="height:auto"></div>
+            <div
+              v-html="fullUrl.url"
+              class="textContent"
+              style="height: auto"
+            ></div>
           </el-form>
           </el-form>
         </div>
         </div>
       </div>
       </div>
@@ -3745,11 +3727,11 @@ export default {
     },
     },
   },
   },
   created() {
   created() {
-    if(this.screenType == 2){
+    if (this.screenType == 2) {
       window.parent.postMessage({ allScreen: 4 }, "*");
       window.parent.postMessage({ allScreen: 4 }, "*");
-    }else if(this.screenType == 3){
+    } else if (this.screenType == 3) {
       window.parent.postMessage({ allScreen: 5 }, "*");
       window.parent.postMessage({ allScreen: 5 }, "*");
-    }else if(this.screenType == 1){
+    } else if (this.screenType == 1) {
       window.parent.postMessage({ allScreen: 6 }, "*");
       window.parent.postMessage({ allScreen: 6 }, "*");
     }
     }
     this.selectEva();
     this.selectEva();
@@ -4370,7 +4352,7 @@ export default {
   width: calc(100% - 83%);
   width: calc(100% - 83%);
   height: 445px;
   height: 445px;
   border-radius: 10px;
   border-radius: 10px;
-  overflow:hidden;
+  overflow: hidden;
 }
 }
 .vedioNav {
 .vedioNav {
   margin: 10px 0 0 15px;
   margin: 10px 0 0 15px;
@@ -4874,16 +4856,13 @@ export default {
   align-items: flex-start;
   align-items: flex-start;
   justify-content: flex-start;
   justify-content: flex-start;
   align-content: center;
   align-content: center;
-  max-width: 240px;
-  width: calc(100% / 3 - 10px);
-  height: auto;
+  width: 240px;
+  height: 170px;
   margin-right: 10px;
   margin-right: 10px;
-  margin-bottom:10px
 }
 }
 .workImg {
 .workImg {
   width: 100%;
   width: 100%;
-  /* height: calc(100% - 40px); */
-  height: calc(100%);
+  height: calc(100% - 40px);
 }
 }
 .workImg > img {
 .workImg > img {
   width: 100%;
   width: 100%;
@@ -4940,11 +4919,9 @@ export default {
 }
 }
 .textBox {
 .textBox {
   font-size: 20px;
   font-size: 20px;
-    width: 90%;
-    display: flex;
-    flex-direction: column;
-    align-items: center;
-    margin: 20px auto 0;
+  margin: 15px 0px 20px 30px;
+  width: 90%;
+  padding: 30px 0 0 50px;
 }
 }
 .textContent {
 .textContent {
   font-size: 18px;
   font-size: 18px;
@@ -5308,13 +5285,26 @@ export default {
 }
 }
 
 
 .full_diy >>> .el-dialog__body {
 .full_diy >>> .el-dialog__body {
-  height: calc(100%  - 100px);
-  padding:4px;
+  height: calc(100% - 100px);
+  padding: 4px;
 }
 }
-
 .full_diy >>> .el-dialog {
 .full_diy >>> .el-dialog {
   margin: 0 !important;
   margin: 0 !important;
   height: 100%;
   height: 100%;
 }
 }
-
+.rwCss {
+  font-size: 24px;
+  padding: 20px;
+  display: flex;
+  flex-direction: row;
+  align-items: center;
+  color: rgb(255, 255, 255);
+  background-image: linear-gradient(
+    to right,
+    rgb(69, 116, 204),
+    rgb(85, 145, 217)
+  );
+  border-radius: 10px;
+  margin: 10px 0;
+}
 </style>
 </style>

+ 7 - 7
src/components/studyStudent.vue

@@ -1753,7 +1753,7 @@
               /> -->
               /> -->
               <input
               <input
                 type="file"
                 type="file"
-                accept="image/*"
+                accept="*"
                 capture="camera"
                 capture="camera"
                 style="display: none"
                 style="display: none"
                 @change="beforeUpload1($event, 1)"
                 @change="beforeUpload1($event, 1)"
@@ -4980,7 +4980,7 @@ export default {
   width: calc(100% / 3 - 10px);
   width: calc(100% / 3 - 10px);
   height: auto;
   height: auto;
   margin-right: 10px;
   margin-right: 10px;
-  margin-bottom: 10px;
+  margin-bottom:10px
 }
 }
 .workImg {
 .workImg {
   width: 100%;
   width: 100%;
@@ -5043,11 +5043,11 @@ export default {
 }
 }
 .textBox {
 .textBox {
   font-size: 20px;
   font-size: 20px;
-  width: 90%;
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  margin: 20px auto 0;
+    width: 90%;
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    margin: 20px auto 0;
 }
 }
 .textContent {
 .textContent {
   font-size: 18px;
   font-size: 18px;

Некоторые файлы не были показаны из-за большого количества измененных файлов