no message

This commit is contained in:
kuaifan 2025-04-10 11:56:03 +08:00
parent 095a238fff
commit 6c79753051
8 changed files with 14 additions and 5 deletions

View File

@ -60,7 +60,7 @@
"stylus-loader": "^7.1.0",
"tinymce": "^5.10.3",
"tui-calendar-hi": "^2.1.3-3",
"view-design-hi": "^4.7.0-74",
"view-design-hi": "^4.7.0-75",
"vite": "^2.9.15",
"vite-plugin-file-copy": "^1.0.0",
"vite-plugin-require": "^1.1.10",

View File

@ -155,6 +155,7 @@ export default {
rootStyle() {
return {
'--window-scroll-y': `${this.windowScrollY}px`,
'--status-bar-height': `${this.safeAreaSize.top}px`,
'--status-bar-color': this.statusColor || '#ffffff',
'--navigation-bar-height': `${this.safeAreaSize.bottom}px`,

View File

@ -67,7 +67,7 @@ export default {
this.show = true;
this.timer && clearTimeout(this.timer);
if (this.duration > 0) {
// this.timer = setTimeout(this.close, this.duration)
this.timer = setTimeout(this.close, this.duration)
}
$A.eeuiAppSendMessage({
action: 'setVibrate',

View File

@ -66,7 +66,7 @@
<Scrollbar
ref="list"
class="messenger-list"
:hide-bar="this.operateVisible"
:hide-bar="operateVisible"
@touchstart.native="listTouch"
@on-scroll="listScroll">
<ul v-if="tabActive==='dialog'" ref="ul" class="dialog">

View File

@ -15,13 +15,15 @@ export default {
// 窗口滚动条位置
windowScrollY: 0,
// 安全区域尺寸(顶部状态栏、底部导航栏)
safeAreaSize: {top: 0, bottom: 0, data: null},
// 浏览器支持触摸事件
windowTouch: "ontouchend" in document,
// 浏览器尺寸信息
windowWidth: windowWidth,
windowHeight: windowHeight,
safeAreaSize: {top: 0, bottom: 0, data: null}, // 安全区域尺寸
// 是否第一个页面eeui
isFirstPage: false,

View File

@ -273,6 +273,11 @@ body {
}
}
.ivu-notice,
.ivu-message {
margin-top: calc(var(--window-scroll-y) + var(--status-bar-height));
}
.ivu-modal-wrap {
overflow: overlay;

View File

@ -1,4 +1,5 @@
:root {
--window-scroll-y: 0px;
--status-bar-height: 0px;
--status-bar-color: #ffffff;
--navigation-bar-height: 0px;

@ -1 +1 @@
Subproject commit c1afa36421ff425312ed9e3c09046a7ca73d8c28
Subproject commit b9d4772f665d36e018f35d791f3c8b9a934c035e