ソースを参照

调整所有界面的滚动条

liling 1 年間 前
コミット
c0371105a8

+ 1 - 1
src/layout/indexCommon.vue

@@ -333,7 +333,7 @@ watchEffect(async() => {
   if(router.currentRoute.value.path=='/index') return;
 	if(websoctStore.noReadList!=null)hasNewMessage.value = true
 	else hasNewMessage.value = false
-	console.log("===============websoctStore.noReadList:",websoctStore.noReadList,'===========',hasNewMessage.value)
+	// console.log("===============websoctStore.noReadList:",websoctStore.noReadList,'===========',hasNewMessage.value)
 });
 
 function handleCommand(command) {

+ 1 - 1
src/views/biz/recent/index.vue

@@ -11,7 +11,7 @@
           <el-table
             :data="tableFolderData"
             style="width: 100%"
-            height="40vh"
+            height="42.5vh"
             :scrollbar-always-on="true"
             @row-click="changeFile"
           >

+ 2 - 2
src/views/collect/index.vue

@@ -199,7 +199,7 @@
             <span class="collapseItem_title">文件夹</span>
           </template>
           <!-- 平铺 -->
-          <el-scrollbar height="360px">
+          <el-scrollbar style="height: 37vh;">
             <div class="tile_box">
               <div
                 class="file_box"
@@ -229,7 +229,7 @@
             <span class="collapseItem_title">文件</span>
           </template>
           <!-- 平铺 -->
-          <el-scrollbar height="360px">
+          <el-scrollbar style="height: 37vh;">
             <div class="tile_box">
               <div
                 class="file_box"

+ 2 - 2
src/views/department/MyFile.vue

@@ -1731,7 +1731,7 @@ p {
 
 .bigBox {
     width: 100%;
-    height: 100%;
+    height: 88vh;
     display: flex;
     justify-content: flex-start;
     overflow: hidden;
@@ -1804,7 +1804,7 @@ p {
 
 .mesBox {
     width: 75vw;
-    height: 92vh;
+    height: 88vh;
     border-radius: 4px;
     background-color: white;
 }

+ 1 - 1
src/views/liveChat/index.vue

@@ -318,7 +318,7 @@ watchEffect(async() => {
   if(getchatUserState){
     //会话列表还处理完成,临时缓存消息
     tmpMsgList.value.push(newMessages)
-    console.log("===============会话列表还处理完成,临时缓存消息:",tmpMsgList.value)
+    // console.log("===============会话列表还处理完成,临时缓存消息:",tmpMsgList.value)
     return
   }
   if(websoctStore.noReadList!=null) {

+ 2 - 2
src/views/myfile/MyFile.vue

@@ -1814,7 +1814,7 @@ p {
 
 .bigBox {
     width: 100%;
-    height: 100%;
+    height: 88vh;
     display: flex;
     justify-content: flex-start;
     overflow: hidden;
@@ -1887,7 +1887,7 @@ p {
 
 .mesBox {
     width: 75vw;
-    height: 92vh;
+    height: 88vh;
     border-radius: 4px;
     background-color: white;
 }

+ 1 - 1
src/views/myjoin/MyJoin.vue

@@ -196,7 +196,7 @@ export default {
 <style scoped>
 .bigBox {
     width: 100%;
-    height: 92vh;
+    height: 88vh;
     margin: 0 auto;
     background-color: white;
 }

+ 5 - 9
src/views/publicment/MyFile.vue

@@ -1732,7 +1732,7 @@ p {
 
 .bigBox {
     width: 100%;
-    height: 100%;
+    height: 88vh;
     display: flex;
     justify-content: flex-start;
     overflow: hidden;
@@ -1805,7 +1805,7 @@ p {
 
 .mesBox {
     width: 75vw;
-    height: 92vh;
+    height: 88vh;
     border-radius: 4px;
     background-color: white;
 }
@@ -1882,7 +1882,7 @@ p {
 
 .detailBox {
     width: 100%;
-    height: 270px;
+    height: 30vh;
 }
 
 :deep(.el-dialog__header) {
@@ -1891,9 +1891,9 @@ p {
 }
 
 .fileTable {
-    height: 100%;
+    height: 45vh;
     overflow-y: hidden;
-    margin-top: 55px;
+    margin-top: 48px;
 }
 
 .setCli {
@@ -2022,10 +2022,6 @@ p {
     border-bottom: none;
 }
 
-:deep(.el-collapse-item__wrap) {
-    height: 300px;
-}
-
 // 隐藏全选按钮
 .file-jia {
     :deep(.el-table th.el-table__cell:nth-child(1) .cell) {