SanHQin 2 kuukautta sitten
vanhempi
commit
c2ab164ebe

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.c25969dd613434955915e327d51aff0f.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.062f14352151ff2301df.js></script><script type=text/javascript src=./static/js/app.5fa17a3b1a184bcbbec8.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.23c4d08d70af17b28d5161caa0e93944.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.062f14352151ff2301df.js></script><script type=text/javascript src=./static/js/app.b6c367c3966f945c6d97.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/app.23c4d08d70af17b28d5161caa0e93944.css


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/app.23c4d08d70af17b28d5161caa0e93944.css.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/workPage.ce15cfff0971816c18af46343215038a.css


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/workPage.ce15cfff0971816c18af46343215038a.css.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.b6c367c3966f945c6d97.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.b6c367c3966f945c6d97.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/manifest.23ea04dc469b57e2b4f8.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/workPage-manifest.2ece51fa34be51c8610a.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/workPage.571dcf5216b2db546782.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/workPage.571dcf5216b2db546782.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/workPage.9844c264372ed1361ea3.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/workPage.9844c264372ed1361ea3.js.map


+ 1 - 1
dist/workPage.html

@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.287aa55fa9d662568cd61a26886be6f2.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.0c46d4deebf81c844386.js></script><script type=text/javascript src=./static/js/workPage.9844c264372ed1361ea3.js></script></body></html><script>function stopSafari() {
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.ce15cfff0971816c18af46343215038a.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.0c46d4deebf81c844386.js></script><script type=text/javascript src=./static/js/workPage.571dcf5216b2db546782.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

+ 16 - 16
src/components/pages/workPage/components/choiceQuestion.vue

@@ -192,7 +192,7 @@ export default {
 }
 
 .cq_title {
-  font-size: 35px;
+  font-size: 16px;
   font-weight: bold;
   text-align: center;
   width: 70%;
@@ -219,12 +219,12 @@ export default {
 }
 
 .cq_changeBtnArea > span{
-  width: 100px;
-  height: 40px;
+  width: 50px;
+  height: 25px;
   background: #3681FC;
   border-radius: 8px;
   color: #fff;
-  font-size: 16px;
+  font-size: 12px;
   text-align: center;
   font-weight: 500;
   display: flex;
@@ -246,7 +246,7 @@ export default {
 
 .cq_type {
   margin: 20px 0 40px 0;
-  font-size: 22px;
+  font-size: 10px;
   color: #808080;
 }
 
@@ -275,7 +275,7 @@ export default {
   width: 100%;
   max-width: 400px;
   min-width: 300px;
-  height: 100px;
+  height: 90px;
   display: flex;
   align-items: center;
   justify-content: center;
@@ -286,7 +286,7 @@ export default {
   margin: auto;
   cursor: pointer;
   transition: 0.3s;
-  font-size: 20px;
+  font-size: 14px;
   color: #000;
   user-select: none;
   /* 不可选中 */
@@ -305,8 +305,8 @@ export default {
 }
 
 .cq_ca_t1_item>img{
-  width: 80px;
-  height: 80px;
+  width: 60px;
+  height: 60px;
   cursor: pointer;
   object-fit: cover;
 }
@@ -315,7 +315,7 @@ export default {
   position: relative;
   z-index: 2;
   color: #fff;
-  font-size: 20px;
+  font-size: 14px;
 }
 
 .cq_ca_t1_item > div::after {
@@ -343,12 +343,12 @@ export default {
 
 .cq_ca_t2_item{
   width: 100%;
-  height: 72px;
+  height: 55px;
   display: flex;
   align-items: center;
   justify-content: flex-start;
   box-sizing: border-box;
-  padding-left: 40px;
+  padding-left: 20px;
   padding-right: 20px;
   margin-bottom: 20px;
   background: #fff;
@@ -356,7 +356,7 @@ export default {
   border-radius: 12px;
   cursor: pointer;
   transition: 0.3s;
-  font-size: 20px;
+  font-size: 12px;
   color: #000;
   user-select: none;
   overflow: auto;
@@ -396,13 +396,13 @@ export default {
   position: relative;
   z-index: 2;
   color: #fff;
-  font-size: 20px;
+  font-size: 14px;
 }
 
 .cq_ca_t2_item > div::after {
   content: "";
-  width: 25px;
-  height: 25px;
+  width: 20px;
+  height: 20px;
   background: rgba(252, 207, 0, 1);
   border-radius: 50%;
   position: absolute;

+ 2 - 2
src/components/pages/workPage/components/questionsAndAnswers.vue

@@ -181,7 +181,7 @@ export default {
 }
 
 .qaa_title {
-  font-size: 35px;
+  font-size: 16px;
   font-weight: bold;
   text-align: center;
   width: 100%;
@@ -189,7 +189,7 @@ export default {
 
 .qaa_type {
   margin: 20px 0 40px 0;
-  font-size: 22px;
+  font-size: 10px;
   color: #808080;
 }
 

+ 0 - 149
src/components/pages/workPage/index_new.vue

@@ -1,154 +1,5 @@
 <template>
   <div class="workPage" v-loading="loading">
-    <!-- <div class="wp_tool wp_tool15" v-if="workData && workData.type == 15">
-      <div class="wp_t15_title">{{ workData.json.answerQ }}</div>
-      <span class="wp_type">问答题</span>
-      <div class="wp_tl15_inputArea">
-        <el-input
-          type="textarea"
-          :rows="7"
-          placeholder="请在此输入您的答案..."
-          resize="none"
-          v-model="workData.json.answer"
-        >
-        </el-input>
-      </div>
-      <div class="wp_tl15_uploadFileArea">
-        <div
-          class="wp_tl_btn"
-          @click="uploadImage()"
-          v-loading="loadingUploadFile"
-        >
-          <svg
-            t="1755158440992"
-            class="icon"
-            viewBox="0 0 1024 1024"
-            version="1.1"
-            xmlns="http://www.w3.org/2000/svg"
-            p-id="8270"
-            width="200"
-            height="200"
-          >
-            <path
-              d="M924 1024H100A100 100 0 0 1 0 924V638a40 40 0 0 1 80 0v286a20 20 0 0 0 20 20h824a20 20 0 0 0 20-20V638a40 40 0 0 1 80 0v286a100 100 0 0 1-100 100zM784 352a40 40 0 0 1-28-12L512 97 268 340a40 40 0 0 1-57-57L484 12a40 40 0 0 1 57 0l271 272a40 40 0 0 1-28 68z"
-              fill="#474747"
-              p-id="8271"
-            ></path>
-            <path
-              d="M512 788a40 40 0 0 1-40-40V57a40 40 0 0 1 80 0v691a40 40 0 0 1-40 40z"
-              fill="#474747"
-              p-id="8272"
-            ></path>
-          </svg>
-          <span>上传图片</span>
-        </div>
-        <span>支持JPG、PNG格式,最大5MB</span>
-      </div>
-
-      <div class="wp_tl15_fileList">
-        <div
-          class="wp_tl15_fileList_item"
-          v-for="(item, index) in workData.json.fileList"
-          :key="index"
-        >
-          <img :src="item.url" alt="" @click="previewImage(item)" />
-          <svg
-            @click="deleteFile(index)"
-            t="1755162206922"
-            class="icon"
-            viewBox="0 0 1024 1024"
-            version="1.1"
-            xmlns="http://www.w3.org/2000/svg"
-            p-id="9357"
-            width="200"
-            height="200"
-          >
-            <path
-              d="M512 883.2A371.2 371.2 0 1 0 140.8 512 371.2 371.2 0 0 0 512 883.2z m0 64a435.2 435.2 0 1 1 435.2-435.2 435.2 435.2 0 0 1-435.2 435.2z"
-              fill="#d81e06"
-              p-id="9358"
-            ></path>
-            <path
-              d="M557.056 512l122.368 122.368a31.744 31.744 0 1 1-45.056 45.056L512 557.056l-122.368 122.368a31.744 31.744 0 1 1-45.056-45.056L466.944 512 344.576 389.632a31.744 31.744 0 1 1 45.056-45.056L512 466.944l122.368-122.368a31.744 31.744 0 1 1 45.056 45.056z"
-              fill="#d81e06"
-              p-id="9359"
-            ></path>
-          </svg>
-        </div>
-      </div>
-    </div>
-
-    <div class="wp_tool wp_tool45" v-if="workData && workData.type == 45">
-      <div class="wp_t45_title">练一练</div>
-      <div
-        class="s_b_m_toolItem"
-        v-for="(item, index) in workData.json.testJson"
-        :key="index + '_' + workData.id"
-      >
-        <div class="s_b_m_ti_title">
-          <span>{{ index + 1 }}</span>
-          <svg
-            width="16"
-            height="16"
-            viewBox="0 0 16 16"
-            fill="none"
-            xmlns="http://www.w3.org/2000/svg"
-          >
-            <path
-              d="M15.3536 8.35355C15.5488 8.15829 15.5488 7.84171 15.3536 7.64645L12.1716 4.46447C11.9763 4.2692 11.6597 4.2692 11.4645 4.46447C11.2692 4.65973 11.2692 4.97631 11.4645 5.17157L14.2929 8L11.4645 10.8284C11.2692 11.0237 11.2692 11.3403 11.4645 11.5355C11.6597 11.7308 11.9763 11.7308 12.1716 11.5355L15.3536 8.35355ZM1 8.5H15V7.5H1V8.5Z"
-              fill="#3681FC"
-            />
-          </svg>
-
-          <span
-            ><span
-              v-html="
-                renderedFormula(
-                  `<span style='color: #3681FC;''>${
-                    item.type == 1 ? '(单选题):' : '(多选题):'
-                  }</span>${item.teststitle}`
-                )
-              "
-            ></span>
-          </span>
-        </div>
-        <div
-          class="s_b_m_ti_option"
-          v-for="(item2, index2) in item.checkList"
-          @click="chooseAnswer(index, index2)"
-          :key="index + '_' + index2 + 'index2T'"
-          :class="{
-            s_b_m_ti_o_choice:
-              item.type == '1'
-                ? workData.json.testJson[index].userAnswer === index2
-                : workData.json.testJson[index].userAnswer.includes(index2)
-          }"
-        >
-          <div class="s_b_m_ti_o_btn">
-            <span class="s_b_m_ti_o_btn1" v-if="item.type == 1">
-              <span
-                v-if="workData.json.testJson[index].userAnswer === index2"
-              ></span>
-            </span>
-            <span class="s_b_m_ti_o_btn2" v-else>
-              <span
-                v-if="workData.json.testJson[index].userAnswer.includes(index2)"
-              >
-              </span>
-            </span>
-          </div>
-          <span>
-            <img
-              v-if="item2.imgType && item2.imgType === 1"
-              :src="item2.src"
-              alt=""
-              @click.stop="$hevueImgPreview(item2.src)"
-            />
-            <span v-else>{{ item2 }}</span>
-          </span>
-        </div>
-      </div>
-    </div> -->
   <questionsAndAnswers ref="questionsAndAnswersRef" v-if="workData.type === '15'" :workData="workData" @changeWorkData="changeWorkData"/>
   <choiceQuestion ref="choiceQuestionRef" v-if="workData.type === '45'" :workData="workData" @changeWorkData="changeWorkData"/>
   </div>

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä