11wqe1 12 часов назад
Родитель
Сommit
69ac0eb235

+ 2 - 2
src/components/components/choseWordCloud.vue

@@ -2,7 +2,7 @@
   <div style="display: flex;justify-content: center;align-items: center;height: 500px;">
     <div v-if="loading" style="position: relative;">
       <img style="width: 220px;" src="../../assets/icon/course/FrameXK.gif"  alt="">
-      <div class="loadCss">小可正在努力加载ing</div>
+      <div class="loadCss">{{ lang.ssLoadingWordCloud }}</div>
     </div>
 	  <div v-if="!loading" class="chart" id="charts_canvas" ref="chartRef"></div>
   </div>
@@ -141,7 +141,7 @@ export default {
         })
         .catch(e => {
           console.log(e);
-          this.$message.error("生成词云图失败");
+          this.$message.error(this.lang.ssWordCloudFail);
           this.loading=false
 
         })

+ 5 - 2
src/components/easy2/studyStudent.vue

@@ -1175,7 +1175,7 @@
                             />
                             <div style="margin: 5px 0">{{ lang.ssQa }}</div>
 														<div class="upload_toolBtn" v-if="tType == 1"
-                            :style="{ right: lang.lang == 1 ? '220px' : '135px' }"
+                            :style="{ right: lang.lang == 'com' ? '220px' : '135px' }"
                               @click="openChoseWorksDetailDialog(tooC,toolIndex,taskCount,15)"
                               style="position: absolute;top: -45px;height: 40px;display: flex;align-items: center;justify-content: center;background: #409EFF;">
                               {{ lang.ssAnalyze }}
@@ -27088,6 +27088,7 @@ export default {
 
 .addPoint > div {
   display: flex;
+  width: 85px;
   flex-direction: column;
   flex-wrap: nowrap;
   align-items: center;
@@ -30042,7 +30043,9 @@ ol {
   cursor: pointer;
   border-radius: 5px;
 }
-
+.gjCss > div:nth-child(1){
+  flex-shrink: 0;
+}
 .toolChild > div {
   position: relative;
   width: 100%;

+ 4 - 2
src/components/easy3/studyStudent.vue

@@ -1158,7 +1158,7 @@
                             <div style="margin: 5px 0">{{ lang.ssQa }}</div>
 
 														<div class="upload_toolBtn" v-if="tType == 1"  
-                            :style="{ right: lang.lang == 1 ? '220px' : '135px' }"                            
+                            :style="{ right: lang.lang == 'com' ? '220px' : '135px' }"                           
                             @click="openChoseWorksDetailDialog(tooC,toolIndex,taskCount,15)"
                               style="position: absolute;top: -45px;height: 40px;display: flex;align-items: center;justify-content: center;background: #409EFF;">
                                     {{ lang.ssAnalyze }}
@@ -25316,7 +25316,9 @@ ol {
   cursor: pointer;
   border-radius:5px;
 }
-
+.gjCss > div:nth-child(1){
+  flex-shrink: 0;
+}
 .toolChild > div {
   position: relative;
   width: 100%;

+ 4 - 2
src/components/studyStudent.vue

@@ -1117,7 +1117,7 @@
                             />
                             <div style="margin: 5px 0">{{ lang.ssQa }}</div>
 														<div class="upload_toolBtn" v-if="tType == 1"  
-                            :style="{ right: lang.lang == 1 ? '220px' : '135px' }"
+                            :style="{ right: lang.lang == 'com' ? '220px' : '135px' }"
                             @click="openChoseWorksDetailDialog(tooC,toolIndex,taskCount,15)"
                               style="position: absolute;top: -45px;height: 40px;display: flex;align-items: center;justify-content: center;background: #409EFF;">
                               {{ lang.ssAnalyze }}
@@ -25278,7 +25278,9 @@ ol {
   cursor: pointer;
   border-radius:5px;
 }
-
+.gjCss > div:nth-child(1){
+  flex-shrink: 0;
+}
 .toolChild > div {
   position: relative;
   width:100%;

+ 4 - 2
src/components/studySutdentClass/studyStudent.vue

@@ -1176,7 +1176,7 @@
                             />
                             <div style="margin: 5px 0">{{ lang.ssQa }}</div>
 														<div class="upload_toolBtn" v-if="tType == 1"  
-                            :style="{ right: lang.lang == 1 ? '220px' : '135px' }"
+                            :style="{ right: lang.lang == 'com' ? '220px' : '135px' }"
                             @click="openChoseWorksDetailDialog(tooC,toolIndex,taskCount,15)"
                               style="position: absolute;top: -45px;height: 40px;display: flex;align-items: center;justify-content: center;background: #409EFF;">
                               {{ lang.ssAnalyze }}
@@ -29358,7 +29358,9 @@ ol {
   cursor: pointer;
   border-radius:5px;
 }
-
+.gjCss > div:nth-child(1){
+  flex-shrink: 0;
+}
 .toolChild > div {
   position: relative;
   width: 100%;

+ 3 - 1
src/lang/cn.json

@@ -879,5 +879,7 @@
   "ssTimerWord": "计时",
   "ssMinuteWord": "分钟",
   "ssSecondWord": "秒",
-  "ssResetTimer": "重置"
+  "ssResetTimer": "重置",
+  "ssLoadingWordCloud": "小可正在努力加载ing",
+  "ssWordCloudFail": "生成词云图失败"
 }

+ 3 - 1
src/lang/en.json

@@ -877,5 +877,7 @@
   "ssTimerWord": "timer",
   "ssMinuteWord": "minutes",
   "ssSecondWord": "seconds",
-  "ssResetTimer": "Reset"
+  "ssResetTimer": "Reset",
+  "ssLoadingWordCloud": "XiaoKe is working hard to load...",
+  "ssWordCloudFail": "Failed to generate word cloud"
 }

+ 3 - 1
src/lang/hk.json

@@ -877,5 +877,7 @@
   "ssTimerWord": "計時",
   "ssMinuteWord": "分鐘",
   "ssSecondWord": "秒",
-  "ssResetTimer": "重置"
+  "ssResetTimer": "重置",
+  "ssLoadingWordCloud": "小可正在努力加載ing",
+  "ssWordCloudFail": "生成詞雲圖失敗"
 }