no message

This commit is contained in:
kuaifan 2025-05-06 23:33:00 +08:00
parent e52523f903
commit a608734be9
3 changed files with 28 additions and 5 deletions

View File

@ -102,7 +102,7 @@ export default {
if (this.transitions.length > 0) {
return this.transitions
}
return [$A.isAndroid() ? '' : `drawer-slide-${this.placementName}`, '']
return [`drawer-slide-${this.placementName}`, '']
},
className() {
const array = []

View File

@ -3,8 +3,8 @@
ref="drawer"
v-model="appConfig.isOpen"
placement="right"
modal-class="micro-app-modal"
drawer-class="micro-app-drawer"
:modal-class="modalClass"
:drawer-class="drawerClass"
:transitions="transitions"
:force-fullscreen="appConfig.forceFullscreen"
:size="1200">
@ -39,6 +39,18 @@
}
}
.micro-app-transparent {
.ivu-modal,
.ivu-modal-content {
background: transparent;
}
.overlay-body {
.overlay-content {
background: transparent;
}
}
}
.micro-app-wrapper {
.micro-app-load {
position: absolute;
@ -81,7 +93,7 @@ export default {
mounted() {
microApp.start({
'iframe': true,
'router-mode': 'state', // state
'router-mode': 'state',
})
emitter.on('openMicroApp', this.openMicroApp);
@ -105,8 +117,16 @@ export default {
'themeName',
]),
modalClass() {
return this.appConfig.transparent ? 'micro-app-modal micro-app-transparent' : 'micro-app-modal'
},
drawerClass() {
return this.appConfig.transparent ? 'micro-app-drawer micro-app-transparent' : 'micro-app-drawer'
},
transitions() {
return this.appConfig.forceFullscreen ? ['', ''] : []
return this.appConfig.transparent ? ['', ''] : []
},
appData() {
@ -216,7 +236,9 @@ export default {
appName: 'micro-app', //
appUrl: null, // URL
initialData: {}, //
forceFullscreen: false, // (true/false)
transparent: false, // (true/false)
keepAlive: true, // (true/false)
isLoading: true, // (true/false)

View File

@ -4678,6 +4678,7 @@ export default {
id: value,
},
forceFullscreen: true,
transparent: true,
});
} else {
// 打开列表、统计