mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
no message
This commit is contained in:
parent
095a238fff
commit
6c79753051
@ -60,7 +60,7 @@
|
|||||||
"stylus-loader": "^7.1.0",
|
"stylus-loader": "^7.1.0",
|
||||||
"tinymce": "^5.10.3",
|
"tinymce": "^5.10.3",
|
||||||
"tui-calendar-hi": "^2.1.3-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": "^2.9.15",
|
||||||
"vite-plugin-file-copy": "^1.0.0",
|
"vite-plugin-file-copy": "^1.0.0",
|
||||||
"vite-plugin-require": "^1.1.10",
|
"vite-plugin-require": "^1.1.10",
|
||||||
|
|||||||
@ -155,6 +155,7 @@ export default {
|
|||||||
|
|
||||||
rootStyle() {
|
rootStyle() {
|
||||||
return {
|
return {
|
||||||
|
'--window-scroll-y': `${this.windowScrollY}px`,
|
||||||
'--status-bar-height': `${this.safeAreaSize.top}px`,
|
'--status-bar-height': `${this.safeAreaSize.top}px`,
|
||||||
'--status-bar-color': this.statusColor || '#ffffff',
|
'--status-bar-color': this.statusColor || '#ffffff',
|
||||||
'--navigation-bar-height': `${this.safeAreaSize.bottom}px`,
|
'--navigation-bar-height': `${this.safeAreaSize.bottom}px`,
|
||||||
|
|||||||
@ -67,7 +67,7 @@ export default {
|
|||||||
this.show = true;
|
this.show = true;
|
||||||
this.timer && clearTimeout(this.timer);
|
this.timer && clearTimeout(this.timer);
|
||||||
if (this.duration > 0) {
|
if (this.duration > 0) {
|
||||||
// this.timer = setTimeout(this.close, this.duration)
|
this.timer = setTimeout(this.close, this.duration)
|
||||||
}
|
}
|
||||||
$A.eeuiAppSendMessage({
|
$A.eeuiAppSendMessage({
|
||||||
action: 'setVibrate',
|
action: 'setVibrate',
|
||||||
|
|||||||
@ -66,7 +66,7 @@
|
|||||||
<Scrollbar
|
<Scrollbar
|
||||||
ref="list"
|
ref="list"
|
||||||
class="messenger-list"
|
class="messenger-list"
|
||||||
:hide-bar="this.operateVisible"
|
:hide-bar="operateVisible"
|
||||||
@touchstart.native="listTouch"
|
@touchstart.native="listTouch"
|
||||||
@on-scroll="listScroll">
|
@on-scroll="listScroll">
|
||||||
<ul v-if="tabActive==='dialog'" ref="ul" class="dialog">
|
<ul v-if="tabActive==='dialog'" ref="ul" class="dialog">
|
||||||
|
|||||||
4
resources/assets/js/store/state.js
vendored
4
resources/assets/js/store/state.js
vendored
@ -15,13 +15,15 @@ export default {
|
|||||||
// 窗口滚动条位置
|
// 窗口滚动条位置
|
||||||
windowScrollY: 0,
|
windowScrollY: 0,
|
||||||
|
|
||||||
|
// 安全区域尺寸(顶部状态栏、底部导航栏)
|
||||||
|
safeAreaSize: {top: 0, bottom: 0, data: null},
|
||||||
|
|
||||||
// 浏览器支持触摸事件
|
// 浏览器支持触摸事件
|
||||||
windowTouch: "ontouchend" in document,
|
windowTouch: "ontouchend" in document,
|
||||||
|
|
||||||
// 浏览器尺寸信息
|
// 浏览器尺寸信息
|
||||||
windowWidth: windowWidth,
|
windowWidth: windowWidth,
|
||||||
windowHeight: windowHeight,
|
windowHeight: windowHeight,
|
||||||
safeAreaSize: {top: 0, bottom: 0, data: null}, // 安全区域尺寸
|
|
||||||
|
|
||||||
// 是否第一个页面(eeui)
|
// 是否第一个页面(eeui)
|
||||||
isFirstPage: false,
|
isFirstPage: false,
|
||||||
|
|||||||
5
resources/assets/sass/pages/common.scss
vendored
5
resources/assets/sass/pages/common.scss
vendored
@ -273,6 +273,11 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ivu-notice,
|
||||||
|
.ivu-message {
|
||||||
|
margin-top: calc(var(--window-scroll-y) + var(--status-bar-height));
|
||||||
|
}
|
||||||
|
|
||||||
.ivu-modal-wrap {
|
.ivu-modal-wrap {
|
||||||
overflow: overlay;
|
overflow: overlay;
|
||||||
|
|
||||||
|
|||||||
1
resources/assets/sass/root.scss
vendored
1
resources/assets/sass/root.scss
vendored
@ -1,4 +1,5 @@
|
|||||||
:root {
|
:root {
|
||||||
|
--window-scroll-y: 0px;
|
||||||
--status-bar-height: 0px;
|
--status-bar-height: 0px;
|
||||||
--status-bar-color: #ffffff;
|
--status-bar-color: #ffffff;
|
||||||
--navigation-bar-height: 0px;
|
--navigation-bar-height: 0px;
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit c1afa36421ff425312ed9e3c09046a7ca73d8c28
|
Subproject commit b9d4772f665d36e018f35d791f3c8b9a934c035e
|
||||||
Loading…
x
Reference in New Issue
Block a user