natasha 2 лет назад
Родитель
Сommit
03d083d425

+ 2 - 2
src/components/Personalcenter/AccountSet.vue

@@ -16,7 +16,7 @@
             <span>{{ $t("Key25") }}</span>
           </span>
           <el-input
-            placeholder="Please enter"
+            placeholder=""
             v-model.trim="userInfor.user_name"
             :disabled="true"
           ></el-input>
@@ -46,7 +46,7 @@
             <span>{{ $t("Key752") }}</span>
           </span>
           <el-input
-            placeholder="Please enter"
+            placeholder=""
             v-model.trim="userInfor.sn"
             :disabled="true"
           ></el-input>

+ 3 - 1
src/components/Personalcenter/Mymessage.vue

@@ -43,7 +43,7 @@
         </div>
       </div>
       <p class="notice-text" v-if="loading">{{ $t("Key463") }}...</p>
-      <p class="notice-text" v-if="noMore">{{ $t("Key462") }}</p>
+      <p class="notice-text" v-if="noMore&&total_count">{{ $t("Key462") }}</p>
     </div>
   </div>
 </template>
@@ -62,6 +62,7 @@ export default {
       pageSize: 20,
       pageNum: 0,
       total_page: 1,
+      total_count: 0,
       loading: false,
       height: "20px",
       currDate: "",
@@ -97,6 +98,7 @@ export default {
         this.loading = false;
         let list = res.message_list;
         this.total_page = res.total_page;
+        this.total_count = res.total_count
         if (list && list.length > 0) {
           list = list.map((item) => {
             item.isShow = false;

+ 2 - 1
src/views/Personalcenter.vue

@@ -737,9 +737,10 @@ export default {
       width: 1200px;
       margin: 0 auto;
       display: flex;
+      align-items: stretch;
       .left {
         width: 240px;
-        height: 900px;
+        min-height: 900px;
         background: #ffffff;
         .headPortrait {
           width: 240px;