rkljw 1 өдөр өмнө
parent
commit
e125cbd3ad

+ 14 - 4
src/layout/components/Chat/ChatPanel.vue

@@ -565,7 +565,7 @@
             <div class="UserNameBox">
               <div class="userName">新的朋友</div>
             </div>
-            <div class="rightNewFriendBox"  v-for="(item,index) in userApplyList" :key="index">
+            <div class="rightNewFriendBox"   v-for="(item,index) in userApplyList" :key="index">
               <div class="rightNewFriendItem">
                 <div class="rightNewFriendAvatar">
                   <img :src="item.avatar" v-if="item.avatar!=''">
@@ -582,6 +582,8 @@
                 </div>
               </div>
             </div>
+            <div class="nodata" v-if="userApplyList.length==0">暂无数据</div>
+            
           </div>
           <div class="hallRight" v-if="pagestatus==3">
             <div class="userInfoMainBox">
@@ -3170,6 +3172,7 @@
           position: relative;
           box-sizing: border-box;
           border-right: 4px solid #fff;
+          margin-top:10px;
           .newFriendImg {
             border-radius: 4px;
             background: #5570F1;
@@ -4077,13 +4080,13 @@
           font-weight: bold;
         }
         .ifNotice {
-          padding-bottom: 15px !important;  
+          padding-bottom: 50px !important;  
         }
         .UserNameBox {
           display: flex;
           align-items: center;
           justify-content: space-between;
-          padding: 0px 30px 0px 30px;
+          padding: 0px 30px 0px 0px;
           border-bottom: 1px solid #E7E7E7;
           position: relative;
           .moreIcon {
@@ -4095,7 +4098,7 @@
             line-height: 40px;
             font-size: 16px;
             background:url('../../../assets/chat/notice.png') no-repeat 10px center #F6F8FE;
-            left: 30px;
+            // left: 30px;
             box-sizing: border-box;
             padding-left: 40px;
             bottom: 10px;
@@ -5853,4 +5856,11 @@
               }
             }
           }
+          .nodata{
+            margin: 0 auto;
+            text-align: center;
+            font-size: 18px;
+            height: 400px;
+            line-height: 400px;
+          }
 </style>