mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 06:32:51 +00:00
no message
This commit is contained in:
parent
6c79753051
commit
208598a6df
@ -140,17 +140,20 @@ export default {
|
|||||||
if (!routeName) {
|
if (!routeName) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
if (['manage-messenger', 'manage-project'].includes(routeName)) {
|
if (['manage-messenger', 'manage-project'].includes(routeName) || routeName.startsWith('manage-setting')) {
|
||||||
return '#f8f8f8'
|
|
||||||
}
|
|
||||||
if (routeName.startsWith('manage-setting')) {
|
|
||||||
return '#f8f8f8'
|
return '#f8f8f8'
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
},
|
},
|
||||||
|
|
||||||
navigationColor({statusColor, mobileTabbar}) {
|
navigationColor({routeName, mobileTabbar}) {
|
||||||
return statusColor || (mobileTabbar ? '#f8f8f8' : null)
|
if (!routeName) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
if (['manage-messenger', 'manage-project', 'manage-setting'].includes(routeName)) {
|
||||||
|
return '#f8f8f8'
|
||||||
|
}
|
||||||
|
return mobileTabbar ? '#f8f8f8' : null
|
||||||
},
|
},
|
||||||
|
|
||||||
rootStyle() {
|
rootStyle() {
|
||||||
|
|||||||
@ -10,7 +10,9 @@
|
|||||||
:beforeClose="beforeClose"
|
:beforeClose="beforeClose"
|
||||||
fullscreen
|
fullscreen
|
||||||
:class-name="modalClass">
|
:class-name="modalClass">
|
||||||
<slot v-if="isFullscreen" />
|
<div v-if="isFullscreen" class="overlay-body">
|
||||||
|
<slot/>
|
||||||
|
</div>
|
||||||
<DrawerOverlayView v-else
|
<DrawerOverlayView v-else
|
||||||
:placement="transitionName"
|
:placement="transitionName"
|
||||||
:size="size"
|
:size="size"
|
||||||
|
|||||||
@ -27,8 +27,8 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
z-index: 2;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
.overlay-close {
|
.overlay-close {
|
||||||
flex-shrink: 0;
|
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 {
|
.drawer-slide-bottom-enter-active {
|
||||||
transition: all .2s ease;
|
transition: all .2s ease;
|
||||||
}
|
}
|
||||||
|
|||||||
34
resources/assets/sass/pages/common.scss
vendored
34
resources/assets/sass/pages/common.scss
vendored
@ -293,15 +293,6 @@ body {
|
|||||||
padding-bottom: 35px;
|
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-header,
|
||||||
.ivu-modal-footer {
|
.ivu-modal-footer {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
@ -372,9 +363,9 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ivu-modal-content {
|
.ivu-modal-content {
|
||||||
border-radius: 18px;
|
|
||||||
margin-top: var(--status-bar-height);
|
margin-top: var(--status-bar-height);
|
||||||
margin-bottom: var(--navigation-bar-height);
|
margin-bottom: var(--navigation-bar-height);
|
||||||
|
border-radius: 18px;
|
||||||
|
|
||||||
.ivu-modal-close {
|
.ivu-modal-close {
|
||||||
.ivu-icon-ios-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 {
|
.ivu-modal-confirm {
|
||||||
@ -821,16 +822,19 @@ body {
|
|||||||
&.common-drawer-overlay {
|
&.common-drawer-overlay {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
&.common-drawer-modal{
|
|
||||||
.ivu-modal-body{
|
&.common-drawer-modal {
|
||||||
|
.ivu-modal-body {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
.dialog-wrapper{
|
|
||||||
&.inde-list{
|
.dialog-wrapper {
|
||||||
|
&.inde-list {
|
||||||
border-radius: 0
|
border-radius: 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ivu-modal-close{
|
|
||||||
|
.ivu-modal-close {
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,6 +15,10 @@ body {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.ivu-modal-fullscreen {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -955,6 +955,7 @@
|
|||||||
> video {
|
> video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-play {
|
.file-play {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user