no message

This commit is contained in:
kuaifan
2022-06-17 17:48:31 +08:00
parent 0ab321f184
commit 9ff2f24529
8 changed files with 25 additions and 30 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
33ced3e7b621d90d
afa8f5fd91657fef
@@ -432,14 +432,13 @@ export default {
},
footerClass() {
const array = [];
if (this.msgNew > 0 && this.allMsgs.length > 0) {
array.push('newmsg')
return 'newmsg'
}
if (this.scrollBalance > 50) {
array.push('goto')
return 'goto'
}
return array
return null
},
msgUnreadOnly() {
+16 -20
View File
@@ -798,18 +798,12 @@
padding: 0 24px;
margin-bottom: 16px;
.dialog-newmsg {
display: block;
.dialog-newmsg,
.dialog-goto {
position: absolute;
top: -44px;
left: 50%;
height: 30px;
line-height: 30px;
right: 30px;
color: #ffffff;
font-size: 12px;
background-color: #555555;
padding: 0 12px;
border-radius: 16px;
cursor: pointer;
z-index: 2;
transition: all 0.2s;
@@ -818,25 +812,26 @@
transform: scale(0);
}
.dialog-newmsg {
display: block;
top: -44px;
height: 30px;
line-height: 30px;
font-size: 12px;
padding: 0 12px;
border-radius: 16px;
}
.dialog-goto {
display: flex;
align-content: center;
justify-content: center;
position: absolute;
top: -48px;
right: 30px;
width: 40px;
height: 40px;
line-height: 40px;
color: #ffffff;
background-color: #555555;
border-radius: 50%;
cursor: pointer;
z-index: 2;
transition: all 0.3s;
pointer-events: none;
opacity: 0;
transform: scale(0);
.taskfont {
font-size: 24px;
}
@@ -1214,8 +1209,9 @@
width: calc(100% + 20px);
}
}
.dialog-newmsg,
.dialog-goto {
right: 8px;
right: 16px;
}
}
}