no message

This commit is contained in:
kuaifan 2025-04-10 15:58:20 +08:00
parent 6c79753051
commit 208598a6df
6 changed files with 54 additions and 23 deletions

View File

@ -140,17 +140,20 @@ export default {
if (!routeName) {
return null
}
if (['manage-messenger', 'manage-project'].includes(routeName)) {
return '#f8f8f8'
}
if (routeName.startsWith('manage-setting')) {
if (['manage-messenger', 'manage-project'].includes(routeName) || routeName.startsWith('manage-setting')) {
return '#f8f8f8'
}
return null
},
navigationColor({statusColor, mobileTabbar}) {
return statusColor || (mobileTabbar ? '#f8f8f8' : null)
navigationColor({routeName, mobileTabbar}) {
if (!routeName) {
return null
}
if (['manage-messenger', 'manage-project', 'manage-setting'].includes(routeName)) {
return '#f8f8f8'
}
return mobileTabbar ? '#f8f8f8' : null
},
rootStyle() {

View File

@ -10,7 +10,9 @@
:beforeClose="beforeClose"
fullscreen
:class-name="modalClass">
<slot v-if="isFullscreen" />
<div v-if="isFullscreen" class="overlay-body">
<slot/>
</div>
<DrawerOverlayView v-else
:placement="transitionName"
:size="size"

View File

@ -27,8 +27,8 @@
height: 100%;
max-width: 100%;
max-height: 100%;
z-index: 2;
position: relative;
z-index: 2;
.overlay-close {
flex-shrink: 0;
@ -116,6 +116,23 @@
}
}
.common-drawer-modal {
.ivu-modal-fullscreen {
background-color: #ffffff;
}
.overlay-body {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
position: relative;
}
}
.drawer-slide-bottom-enter-active {
transition: all .2s ease;
}

View File

@ -293,15 +293,6 @@ body {
padding-bottom: 35px;
}
&.ivu-modal-fullscreen {
top: 0;
padding-bottom: 0;
.ivu-modal-content {
border-radius: 0;
box-shadow: none;
}
}
.ivu-modal-header,
.ivu-modal-footer {
border-color: transparent;
@ -372,9 +363,9 @@ body {
}
.ivu-modal-content {
border-radius: 18px;
margin-top: var(--status-bar-height);
margin-bottom: var(--navigation-bar-height);
border-radius: 18px;
.ivu-modal-close {
.ivu-icon-ios-close {
@ -391,6 +382,16 @@ body {
}
}
}
&.ivu-modal-fullscreen {
top: 0;
padding-bottom: 0;
.ivu-modal-content {
border-radius: 0;
box-shadow: none;
}
}
}
.ivu-modal-confirm {
@ -821,16 +822,19 @@ body {
&.common-drawer-overlay {
overflow: hidden;
}
&.common-drawer-modal{
.ivu-modal-body{
&.common-drawer-modal {
.ivu-modal-body {
padding: 0 !important;
.dialog-wrapper{
&.inde-list{
.dialog-wrapper {
&.inde-list {
border-radius: 0
}
}
}
.ivu-modal-close{
.ivu-modal-close {
z-index: 3;
}
}

View File

@ -15,6 +15,10 @@ body {
overflow: hidden;
}
}
&.ivu-modal-fullscreen {
background-color: #f8f8f8;
}
}
}

View File

@ -955,6 +955,7 @@
> video {
width: 100%;
height: 100%;
border-radius: 6px;
}
.file-play {