lsc 2 سال پیش
والد
کامیت
b2f3374823

+ 1 - 1
dist/index.html

@@ -18,4 +18,4 @@
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.b677b36d2d575db39453f5c69f660827.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.5358cfea7aa0e372c868.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+    }</style><link href=./static/css/app.6950e66200c464fbcfea163de3a31c4e.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.8c05d8484a91e4757200.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.6950e66200c464fbcfea163de3a31c4e.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.6950e66200c464fbcfea163de3a31c4e.css.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.b677b36d2d575db39453f5c69f660827.css.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.5358cfea7aa0e372c868.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.5358cfea7aa0e372c868.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.8c05d8484a91e4757200.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.8c05d8484a91e4757200.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


BIN
src/assets/icon/secondToolList/networkPanel.png


BIN
src/assets/icon/thirdToolList/code.png


+ 78 - 13
src/components/study.vue

@@ -243,7 +243,7 @@
                             {{ textList[jdIndex][rwIndex][0].name }}
                           </div>
                         </el-form-item>
-                        <div style="color: #918f8f">文档内容</div>
+                        <div style="color: #918f8f;width:85%">文档内容</div>
                         <div
                           v-html="textList[jdIndex][rwIndex][0].url"
                           class="textContent"
@@ -483,7 +483,24 @@
                         pptImgUrl1[jdIndex][rwIndex]
                       )
                     "
-                    >查看全屏</el-button
+                    >全屏查看</el-button
+                  >
+                </div>
+                <div
+                  style="padding: 0px 30px"
+                  v-if="
+                    showType[jdIndex][rwIndex] == 1
+                  "
+                >
+                  <el-button
+                    type="primary"
+                    @click="
+                      checkFileFull(
+                        showType[jdIndex][rwIndex],
+                        textList[jdIndex][rwIndex][0]
+                      )
+                    "
+                    >全屏查看</el-button
                   >
                 </div>
               </div>
@@ -634,7 +651,28 @@
                             <div v-if="tooC == 2">
                               <div class="iframeName">便签</div>
                               <iframe
-                                src="https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note"
+                                :src="'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note?userid=' + userid + '&oid=' + oid"
+                                class="iframeCss"
+                              ></iframe>
+                            </div>
+                            <div v-if="tooC == 25">
+                              <div class="iframeName">目标管理</div>
+                              <iframe
+                                :src="'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=' + userid + '&oid=' + oid"
+                                class="iframeCss"
+                              ></iframe>
+                            </div>
+                            <div v-if="tooC == 32">
+                              <div class="iframeName">源码编辑</div>
+                              <iframe
+                                src="//kitten.codemao.cn/"
+                                class="iframeCss"
+                              ></iframe>
+                            </div>
+                            <div v-if="tooC == 31">
+                              <div class="iframeName">网络画板</div>
+                              <iframe
+                                src="//www.netpad.net.cn/svg.html"
                                 class="iframeCss"
                               ></iframe>
                             </div>
@@ -1945,6 +1983,26 @@
           :pdfUrl="fullUrl"
           style="width: 100%; height: 100%; overflow: auto"
         ></pdf>
+        <div
+          class="wheel"
+          v-if="fulltype == 1"
+          style="
+            box-shadow: 0 0 6px 1px #f2f2f2;
+            width: 100%;
+            background: #f1f1f1;
+          "
+        >
+          <div class="title" style="width: 100%;box-sizing: border-box;">查看文档</div>
+          <el-form class="textBox" style="height:90%">
+            <el-form-item label="文档标题" class="textTitle">
+              <div style="font-size: 22px; max-height: 100px; overflow: auto">
+                {{ fullUrl.name }}
+              </div>
+            </el-form-item>
+            <div style="color: #918f8f; width: 85%">文档内容</div>
+            <div v-html="fullUrl.url" class="textContent" style="height:auto"></div>
+          </el-form>
+        </div>
       </div>
       <!-- <div slot="footer">
         <el-button @click="fullDialogVisible = false">关 闭</el-button>
@@ -3654,6 +3712,7 @@ export default {
     },
   },
   created() {
+    this.allScrell();
     this.selectEva();
     this.getCourseDetail();
     this.selectCount();
@@ -3679,9 +3738,9 @@ export default {
   /* .navText {
     width: 120px !important;
   } */
-  .textBox {
+  /* .textBox {
     margin: 0 !important;
-  }
+  } */
   .evaCss {
     flex-direction: column !important;
     align-items: center !important;
@@ -3984,7 +4043,7 @@ export default {
   margin-top: 10px;
 }
 .upload_send {
-  margin: 200px auto 30px;
+  margin: 30px auto 30px;
   width: 60%;
   background: #169bd6;
   text-align: center;
@@ -4525,7 +4584,7 @@ export default {
   flex-direction: row;
   flex-wrap: nowrap;
   align-items: center;
-  width: 100%;
+  width: 85%;
 }
 .textTitle >>> .el-form-item__label {
   font-size: 22px;
@@ -4773,13 +4832,16 @@ export default {
   align-items: flex-start;
   justify-content: flex-start;
   align-content: center;
-  width: 240px;
-  height: 170px;
+  max-width: 240px;
+  width: calc(100% / 3 - 10px);
+  height: auto;
   margin-right: 10px;
+  margin-bottom:10px
 }
 .workImg {
   width: 100%;
-  height: calc(100% - 40px);
+  /* height: calc(100% - 40px); */
+  height: calc(100%);
 }
 .workImg > img {
   width: 100%;
@@ -4836,9 +4898,11 @@ export default {
 }
 .textBox {
   font-size: 20px;
-  margin: 15px 0px 20px 30px;
-  width: 90%;
-  padding: 30px 0 0 50px;
+    width: 90%;
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    margin: 20px auto 0;
 }
 .textContent {
   font-size: 18px;
@@ -5203,6 +5267,7 @@ export default {
 
 .full_diy >>> .el-dialog__body {
   height: calc(100%  - 100px);
+  padding:4px;
 }
 
 .full_diy >>> .el-dialog {

+ 89 - 16
src/components/studyStudent.vue

@@ -261,7 +261,7 @@
                           {{ text.name }}
                         </div>
                       </el-form-item>
-                      <div style="color: #918f8f">文档内容</div>
+                      <div style="color: #918f8f; width: 85%">文档内容</div>
                       <div v-html="text.url" class="textContent"></div>
                     </el-form>
                   </div>
@@ -513,7 +513,12 @@
                 <el-button
                   type="primary"
                   @click="checkFileFull(showType, pptImgUrl1)"
-                  >查看全屏</el-button
+                  >全屏查看</el-button
+                >
+              </div>
+              <div style="padding: 0px 30px" v-if="showType == 1">
+                <el-button type="primary" @click="checkFileFull(showType, text)"
+                  >全屏查看</el-button
                 >
               </div>
             </div>
@@ -761,6 +766,30 @@
                             />
                             <div style="margin: 5px 0">AI平台</div>
                           </div>
+                          <div v-if="tooC == 25">
+                            <img
+                              @click="addTools(tooC, toolIndex, taskCount)"
+                              src="../assets/icon/thirdToolList/evalua.png"
+                              alt
+                            />
+                            <div style="margin: 5px 0">目标管理</div>
+                          </div>
+                          <div v-if="tooC == 31">
+                            <img
+                              @click="addTools(tooC, toolIndex, taskCount)"
+                              src="../assets/icon/secondToolList/networkPanel.png"
+                              alt
+                            />
+                            <div style="margin: 5px 0">网络画板</div>
+                          </div>
+                          <div v-if="tooC == 32">
+                            <img
+                              @click="addTools(tooC, toolIndex, taskCount)"
+                              src="../assets/icon/thirdToolList/code.png"
+                              alt
+                            />
+                            <div style="margin: 5px 0">源码编辑</div>
+                          </div>
                         </div>
                       </div>
                     </div>
@@ -1144,9 +1173,7 @@
                             box-shadow: 0 0 6px 1px #dfdada;
                             overflow: hidden;
                           "
-                          v-for="(w, wIndex) in worksStudent[jdIndex][rwIndex][
-                            toolIndex
-                          ]"
+                          v-for="(w, wIndex) in worksStudent[toolIndex]"
                           :key="wIndex"
                         >
                           <!-- @click="previewImg(w.works)" -->
@@ -2066,8 +2093,15 @@
       :append-to-body="true"
       width="100%"
       :before-close="handleClose"
+      :show-close="false"
       class="dialog_diy full_diy"
     >
+      <div slot="title" class="header-title">
+        <div style="color: #fff">查看文档</div>
+        <div @click="fullDialogVisible=false" style="cursor:pointer;position: absolute; top: 20px; right: 20px;color: #fff;">
+          退出全屏
+        </div>
+      </div>
       <div style="height: 100%">
         <iframe
           v-if="fulltype == 2"
@@ -2079,6 +2113,32 @@
           :pdfUrl="fullUrl"
           style="width: 100%; height: 100%; overflow: auto"
         ></pdf>
+        <div
+          class="wheel"
+          v-if="fulltype == 1"
+          style="
+            box-shadow: 0 0 6px 1px #f2f2f2;
+            width: 100%;
+            background: #f1f1f1;
+          "
+        >
+          <div class="title" style="width: 100%; box-sizing: border-box">
+            查看文档
+          </div>
+          <el-form class="textBox" style="height: 90%">
+            <el-form-item label="文档标题" class="textTitle">
+              <div style="font-size: 22px; max-height: 100px; overflow: auto">
+                {{ fullUrl.name }}
+              </div>
+            </el-form-item>
+            <div style="color: #918f8f; width: 85%">文档内容</div>
+            <div
+              v-html="fullUrl.url"
+              class="textContent"
+              style="height: auto"
+            ></div>
+          </el-form>
+        </div>
       </div>
       <!-- <div slot="footer">
         <el-button @click="fullDialogVisible = false">关 闭</el-button>
@@ -3617,6 +3677,12 @@ export default {
         window.parent.postMessage({ tools: "23" }, "*");
       } else if (t == 24) {
         window.parent.postMessage({ tools: "24" }, "*");
+      } else if (t == 25) {
+        window.parent.postMessage({ tools: "25" }, "*");
+      } else if (t == 31) {
+        window.parent.postMessage({ tools: "31" }, "*");
+      } else if (t == 32) {
+        window.parent.postMessage({ tools: "32" }, "*");
       } else if (t == 26) {
         window.parent.postMessage(
           {
@@ -3749,6 +3815,7 @@ export default {
     },
   },
   created() {
+    this.allScrell();
     this.selectEva();
     this.getCourseDetail();
     this.selectCount();
@@ -3781,9 +3848,9 @@ export default {
     flex-direction: column !important;
     align-items: center !important;
   }
-  .textTitle >>> .el-form-item__label {
+  /* .textTitle >>> .el-form-item__label {
     width: 150px !important;
-  }
+  } */
 }
 .body_student {
   width: 77%;
@@ -4062,7 +4129,7 @@ export default {
   margin-top: 10px;
 }
 .upload_send {
-  margin: 200px auto 30px;
+  margin: 30px auto 30px;
   width: 60%;
   background: #169bd6;
   text-align: center;
@@ -4601,7 +4668,7 @@ export default {
   flex-direction: row;
   flex-wrap: nowrap;
   align-items: center;
-  width: 100%;
+  width: 85%;
 }
 .textTitle >>> .el-form-item__label {
   font-size: 22px;
@@ -4609,7 +4676,7 @@ export default {
   width: 100px;
 }
 .textTitle >>> .el-form-item__content {
-  width: 80%;
+  width: calc(100% - 100px);
 }
 .textCss >>> .el-dialog {
   width: 800px !important;
@@ -4849,13 +4916,16 @@ export default {
   align-items: flex-start;
   justify-content: flex-start;
   align-content: center;
-  width: 240px;
-  height: 170px;
+  max-width: 240px;
+  width: calc(100% / 3 - 10px);
+  height: auto;
   margin-right: 10px;
+  margin-bottom: 10px;
 }
 .workImg {
   width: 100%;
-  height: calc(100% - 40px);
+  /* height: calc(100% - 40px); */
+  height: calc(100%);
 }
 .workImg > img {
   width: 100%;
@@ -4912,9 +4982,11 @@ export default {
 }
 .textBox {
   font-size: 20px;
-  margin: 15px 0px 20px 30px;
   width: 90%;
-  padding: 30px 0 0 50px;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  margin: 20px auto 0;
 }
 .textContent {
   font-size: 18px;
@@ -5274,9 +5346,10 @@ export default {
 .full_diy >>> .el-dialog {
   margin: 0 !important;
   height: 100%;
+  padding: 4px;
 }
 
 .full_diy >>> .el-dialog__body {
-  height: calc(100%  - 100px);
+  height: calc(100% - 100px);
 }
 </style>

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است