natasha преди 2 години
родител
ревизия
9349094ea2
променени са 3 файла, в които са добавени 11 реда и са изтрити 6 реда
  1. 6 5
      src/components/Personalcenter/Mytextbook.vue
  2. 1 1
      src/components/common/Empty.vue
  3. 4 0
      src/views/Personalcenter.vue

+ 6 - 5
src/components/Personalcenter/Mytextbook.vue

@@ -11,8 +11,8 @@
       >
         <!-- 全部 机构免费 我购买的 -->
         <el-menu-item index="-1">{{ $t("Key110") }}</el-menu-item>
-        <el-menu-item index="0">机构免费</el-menu-item>
-        <el-menu-item index="1">我购买的</el-menu-item>
+        <el-menu-item index="0">{{ $t("Key748") }}</el-menu-item>
+        <el-menu-item index="1">{{ $t("Key749") }}</el-menu-item>
       </el-menu>
     </div>
     <template v-if="!isEmpty">
@@ -37,7 +37,7 @@
             {{ item.goods_name ? item.goods_name : item.book_name }}
           </p>
           <p class="goods_name goods_license" v-if="item.free_license_end_date">
-            {{ item.free_license_end_date }}到期
+            {{ item.free_license_end_date }} {{ $t("Key750") }}
           </p>
         </div>
       </div>
@@ -292,8 +292,9 @@ export default {
         -webkit-line-clamp: 2;
         text-overflow: ellipsis;
         overflow: hidden;
-        &.goods_license{
-            opacity: 0.5;
+        word-break: break-word;
+        &.goods_license {
+          opacity: 0.5;
         }
       }
     }

+ 1 - 1
src/components/common/Empty.vue

@@ -85,7 +85,7 @@ export default {
         case "7":
           obj = {
             url: require("../../assets/Personalcenter/2.png"),
-            con: this.$t("Key464"), // "您还未购买任何教材",
+            con: this.$t("Key751"), // "您目前没有可用的教材",
             link: ``,
           };
           break;

+ 4 - 0
src/views/Personalcenter.vue

@@ -572,6 +572,10 @@ export default {
           "Key745",
           "Key746",
           "Key747",
+          "Key748",
+          "Key749",
+          "Key750",
+          "Key751",
         ],
       });
       this.isData = true;