Ver Fonte

修改lang

11wqe1 há 3 semanas atrás
pai
commit
5b36d93cd9

+ 11 - 3
src/components/pages/synergyCourse/addCourse.vue

@@ -4897,6 +4897,11 @@ export default {
       for (var i = 0; i < this.unitJson.length; i++) {
         delete this.unitJson[i].isUpdate;
       }
+
+      let imgUrl = 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png'
+      if (this.lang.lang == 'com') {
+        imgUrl = 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png'
+      }
       let params = [
         {
           uid: this.userid,
@@ -4908,7 +4913,7 @@ export default {
               : JSON.stringify([
                 {
                   name: "noBanner.jpg",
-                  url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png",
+                  url: imgUrl,
                   uid: 1656409780264,
                   status: "success",
                 },
@@ -9776,7 +9781,7 @@ ol {
 .all_choose>.el-checkbox-group>.el-checkbox>>>.el-checkbox__label {
   min-width: 80px;
   overflow: hidden;
-  width: 80px;
+  /* width: 80px; */
   text-overflow: ellipsis;
   white-space: nowrap;
 }
@@ -9832,6 +9837,7 @@ ol {
 
 .wb_j_box_content {
   width: calc(100% - 55% - 100px);
+  min-width: 340px;
   display: flex;
   align-items: center;
 }
@@ -11446,6 +11452,7 @@ ol {
 
 .wb_j_box_btn {
   width: calc(100% - 30px);
+  min-width: 340px;
   display: flex;
   height: 40px;
   border: 1.5px solid #CAD1DC;
@@ -11465,7 +11472,8 @@ ol {
   background: #F0F4FA;
   height: 100%;
   line-height: 40px;
-  width: 90px;
+  /* width: 90px; */
+  padding: 0 5px;
   text-align: center;
   color: #060E17;
   border-right: 1.5px solid #CAD1DC;

+ 2 - 2
src/components/pages/synergyCourse/course.vue

@@ -167,7 +167,7 @@
               ">
               {{ lang.Shared }}
             </div>
-            <div class="xtCourse" v-else>{{ lang.CocoNote }}</div>
+            <div class="xtCourse" v-else>{{ lang.Shared }}</div>
             <div class="tup" @click="open(item.courseId, item.userid)" style="cursor: pointer;">
               <img :src="item.cover != null && item.cover != ''
                 ? JSON.parse(item.cover).length > 0
@@ -1029,7 +1029,7 @@ export default {
     // },
     deleteCourse(cid) {
       // if (this.time()) {
-      this.$confirm(this.lang.Aystdi, this.lang.tip, {
+      this.$confirm(this.lang.Aystdi, '', {
         confirmButtonText: this.lang.Confirm,
         cancelButtonText:  this.lang.Cancel,
         type: "warning",

+ 3 - 3
src/lang/en.json

@@ -57,7 +57,7 @@
   "SelectClass":"Select Class",
   "NoteTdpfnsai":"Note: The default password for new student accounts is 'Coco1234'",
   "EditStudent":"Edit Student",
-  "Editsuccessful":"Edit successful",
+  "Editsuccessful":"Update Successful",
   "Aystd":"Are you sure you want to delete?",
   "EnterClassName":"Enter Class Name",
   "Grade":"Grade",
@@ -102,7 +102,7 @@
   "Open":"Open",
   "Modified":"Modified",
   "Copy":"Copy",
-  "Aystdi":"Are you want to delete it?",
+  "Aystdi":"Are you sure you want to delete it?",
   "Successfullycopy":"Successfully copy",
   "Standardcreation":"Standard creation",
   "QuicklyCreate":"Quickly Create",
@@ -113,7 +113,7 @@
   "Collaborator":"Collaborators",
   "Psac":"Please select collaborators",
   "Pleaseaddgroups":"Please add the course name before setting up the group",
-  "Pleasesetupgroups":"No groups available at the moment.Click the'Create' button to set up groups",
+  "Pleasesetupgroups":"No groups available at the moment.Click the 'Create' button to set up groups",
   "Creategroups":"Create",
   "Deletegroups":"Delete",
   "GroupSettings":"Group Settings",