|
@@ -9,6 +9,7 @@
|
|
|
:notifyTrayPanelDetailData="notifyTrayPanelDetailData"
|
|
|
:notifySettingData="notifySettingData"
|
|
|
:notifyShowAllData="notifyShowAllData"
|
|
|
+ :searchInputData="searchInputData"
|
|
|
></Desktop>
|
|
|
<DesktopAppView
|
|
|
:defaultZIndex="defaultZIndex"
|
|
@@ -526,6 +527,11 @@ export default {
|
|
|
clearAllNotifyMessageZIndex: 9050,
|
|
|
},
|
|
|
},
|
|
|
+ searchInputData: {
|
|
|
+ display: "none",
|
|
|
+ zIndex: 9050,
|
|
|
+ cls: "deactive-win",
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -581,6 +587,9 @@ export default {
|
|
|
let notifyShowAllZIndexMax =
|
|
|
this.notifyShowAllData.zIndex >= this.defaultZIndex &&
|
|
|
this.notifyShowAllData.display === "block";
|
|
|
+ let searchInputZIndexMax =
|
|
|
+ this.searchInputData.zIndex >= this.defaultZIndex &&
|
|
|
+ this.searchInputData.display === "block";
|
|
|
let clearAllNotifyMessageZIndexMax =
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageZIndex >=
|
|
|
this.defaultZIndex &&
|
|
@@ -593,6 +602,7 @@ export default {
|
|
|
notifyTrayPanelDetailZIndexMax,
|
|
|
notifySettingZIndexMax,
|
|
|
notifyShowAllZIndexMax,
|
|
|
+ searchInputZIndexMax,
|
|
|
clearAllNotifyMessageZIndexMax
|
|
|
);
|
|
|
console.log(
|
|
@@ -602,6 +612,7 @@ export default {
|
|
|
this.notifyTrayPanelDetailData.zIndex,
|
|
|
this.notifySettingData.zIndex,
|
|
|
this.notifyShowAllData.zIndex,
|
|
|
+ this.searchInputData.zIndex,
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageZIndex
|
|
|
);
|
|
|
if ((appViewIndex || appViewIndex === 0) && appViewIndex !== -1) {
|
|
@@ -624,6 +635,7 @@ export default {
|
|
|
this.fixWindowData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.cls = "deactive-win";
|
|
|
this.notifySettingData.cls = "deactive-win";
|
|
|
+ this.searchInputData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageCls =
|
|
|
"deactive-win";
|
|
|
} else if (fixWindowZIndexIsMax) {
|
|
@@ -632,6 +644,7 @@ export default {
|
|
|
this.notifyTrayPanelDetailData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.cls = "deactive-win";
|
|
|
this.notifySettingData.cls = "deactive-win";
|
|
|
+ this.searchInputData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageCls =
|
|
|
"deactive-win";
|
|
|
this.appViewData.forEach((item) => {
|
|
@@ -653,6 +666,7 @@ export default {
|
|
|
this.notifyTrayPanelDetailData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.cls = "deactive-win";
|
|
|
this.notifySettingData.cls = "deactive-win";
|
|
|
+ this.searchInputData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageCls =
|
|
|
"deactive-win";
|
|
|
this.appViewData.forEach((item) => {
|
|
@@ -666,6 +680,7 @@ export default {
|
|
|
this.fixWindowData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.cls = "deactive-win";
|
|
|
this.notifySettingData.cls = "deactive-win";
|
|
|
+ this.searchInputData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageCls =
|
|
|
"deactive-win";
|
|
|
this.appViewData.forEach((item) => {
|
|
@@ -679,6 +694,7 @@ export default {
|
|
|
this.userSettingData.cls = "deactive-win";
|
|
|
this.fixWindowData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.cls = "deactive-win";
|
|
|
+ this.searchInputData.cls = "deactive-win";
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageCls =
|
|
|
"deactive-win";
|
|
|
this.appViewData.forEach((item) => {
|
|
@@ -692,6 +708,21 @@ export default {
|
|
|
this.userSettingData.cls = "deactive-win";
|
|
|
this.fixWindowData.cls = "deactive-win";
|
|
|
this.notifySettingData.cls = "deactive-win";
|
|
|
+ this.searchInputData.cls = "deactive-win";
|
|
|
+ this.appViewData.forEach((item) => {
|
|
|
+ if (item.cls === "active-win") {
|
|
|
+ item.cls = "deactive-win";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else if (searchInputZIndexMax) {
|
|
|
+ this.searchInputData.cls = "active-win";
|
|
|
+ this.notifySettingData.cls = "deactive-win";
|
|
|
+ this.notifyTrayPanelDetailData.cls = "deactive-win";
|
|
|
+ this.userSettingData.cls = "deactive-win";
|
|
|
+ this.fixWindowData.cls = "deactive-win";
|
|
|
+ this.notifyShowAllData.cls = "deactive-win";
|
|
|
+ this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageCls =
|
|
|
+ "deactive-win";
|
|
|
this.appViewData.forEach((item) => {
|
|
|
if (item.cls === "active-win") {
|
|
|
item.cls = "deactive-win";
|
|
@@ -705,6 +736,7 @@ export default {
|
|
|
this.userSettingData.cls = "deactive-win";
|
|
|
this.fixWindowData.cls = "deactive-win";
|
|
|
this.notifySettingData.cls = "deactive-win";
|
|
|
+ this.searchInputData.cls = "deactive-win";
|
|
|
this.appViewData.forEach((item) => {
|
|
|
if (item.cls === "active-win") {
|
|
|
item.cls = "deactive-win";
|
|
@@ -718,6 +750,7 @@ export default {
|
|
|
!notifyTrayPanelDetailZIndexMax &&
|
|
|
!notifySettingZIndexMax &&
|
|
|
!notifyShowAllZIndexMax &&
|
|
|
+ !searchInputZIndexMax &&
|
|
|
!clearAllNotifyMessageZIndexMax
|
|
|
) {
|
|
|
let appViewData = this.appViewData.filter((item) => {
|
|
@@ -741,6 +774,8 @@ export default {
|
|
|
.clearAllNotifyMessageDisplay === "none") &&
|
|
|
(this.fixWindowData.zIndex >= this.notifySettingData.zIndex ||
|
|
|
this.notifySettingData.display === "none") &&
|
|
|
+ (this.fixWindowData.zIndex >= this.searchInputData.zIndex ||
|
|
|
+ this.searchInputData.display === "none") &&
|
|
|
(appViewData.length
|
|
|
? this.fixWindowData.zIndex >=
|
|
|
appViewData[appViewData.length - 1].zIndex
|
|
@@ -761,6 +796,8 @@ export default {
|
|
|
.clearAllNotifyMessageDisplay === "none") &&
|
|
|
(this.userSettingData.zIndex >= this.notifySettingData.zIndex ||
|
|
|
this.notifySettingData.display === "none") &&
|
|
|
+ (this.userSettingData.zIndex >= this.searchInputData.zIndex ||
|
|
|
+ this.searchInputData.display === "none") &&
|
|
|
(appViewData.length
|
|
|
? this.userSettingData.zIndex >=
|
|
|
appViewData[appViewData.length - 1].zIndex
|
|
@@ -783,6 +820,9 @@ export default {
|
|
|
(this.notifyTrayPanelDetailData.zIndex >=
|
|
|
this.notifySettingData.zIndex ||
|
|
|
this.notifySettingData.display === "none") &&
|
|
|
+ (this.notifyTrayPanelDetailData.zIndex >=
|
|
|
+ this.searchInputData.zIndex ||
|
|
|
+ this.searchInputData.display === "none") &&
|
|
|
(appViewData.length
|
|
|
? this.notifyTrayPanelDetailData.zIndex >=
|
|
|
appViewData[appViewData.length - 1].zIndex
|
|
@@ -803,6 +843,8 @@ export default {
|
|
|
.clearAllNotifyMessageZIndex ||
|
|
|
this.notifyShowAllData.clearAllNotifyData
|
|
|
.clearAllNotifyMessageDisplay === "none") &&
|
|
|
+ (this.notifySettingData.zIndex >= this.searchInputData.zIndex ||
|
|
|
+ this.searchInputData.display === "none") &&
|
|
|
(appViewData.length
|
|
|
? this.notifySettingData.zIndex >=
|
|
|
appViewData[appViewData.length - 1].zIndex
|
|
@@ -823,11 +865,35 @@ export default {
|
|
|
.clearAllNotifyMessageZIndex ||
|
|
|
this.notifyShowAllData.clearAllNotifyData
|
|
|
.clearAllNotifyMessageZIndexDisplay === "none") &&
|
|
|
+ (this.notifyShowAllData.zIndex >= this.searchInputData.zIndex ||
|
|
|
+ this.searchInputData.display === "none") &&
|
|
|
(appViewData.length
|
|
|
? this.notifyShowAllData.zIndex >=
|
|
|
appViewData[appViewData.length - 1].zIndex
|
|
|
: true);
|
|
|
|
|
|
+ let searchInputZIndexMax1 =
|
|
|
+ this.searchInputData.display === "block" &&
|
|
|
+ (this.searchInputData.zIndex >= this.fixWindowData.zIndex ||
|
|
|
+ this.fixWindowData.display === "none") &&
|
|
|
+ (this.searchInputData.zIndex >= this.notifyShowAllData.zIndex ||
|
|
|
+ this.notifyShowAllData.display === "none") &&
|
|
|
+ (this.searchInputData.zIndex >= this.notifyTrayPanelDetailData.zIndex ||
|
|
|
+ this.notifyTrayPanelDetailData.display === "none") &&
|
|
|
+ (this.searchInputData.zIndex >= this.userSettingData.zIndex ||
|
|
|
+ this.userSettingData.display === "none") &&
|
|
|
+ (this.searchInputData.zIndex >=
|
|
|
+ this.notifyShowAllData.clearAllNotifyData
|
|
|
+ .clearAllNotifyMessageZIndex ||
|
|
|
+ this.notifyShowAllData.clearAllNotifyData
|
|
|
+ .clearAllNotifyMessageDisplay === "none") &&
|
|
|
+ (this.searchInputData.zIndex >= this.notifySettingData.zIndex ||
|
|
|
+ this.notifySettingData.display === "none") &&
|
|
|
+ (appViewData.length
|
|
|
+ ? this.searchInputData.zIndex >=
|
|
|
+ appViewData[appViewData.length - 1].zIndex
|
|
|
+ : true);
|
|
|
+
|
|
|
let clearAllNotifyMessageZIndexMax1 =
|
|
|
this.notifyShowAllData.clearAllNotifyData
|
|
|
.clearAllNotifyMessageDisplay === "block" &&
|
|
@@ -847,6 +913,9 @@ export default {
|
|
|
(this.notifyShowAllData.clearAllNotifyData
|
|
|
.clearAllNotifyMessageZIndex >= this.notifySettingData.zIndex ||
|
|
|
this.notifySettingData.display === "none") &&
|
|
|
+ (this.notifyShowAllData.clearAllNotifyData
|
|
|
+ .clearAllNotifyMessageZIndex >= this.searchInputData.zIndex ||
|
|
|
+ this.searchInputData.display === "none") &&
|
|
|
(appViewData.length
|
|
|
? this.notifyShowAllData.clearAllNotifyData
|
|
|
.clearAllNotifyMessageZIndex >=
|
|
@@ -870,16 +939,18 @@ export default {
|
|
|
this.notifyShowAllData.zIndex ||
|
|
|
this.notifyShowAllData.display === "none") &&
|
|
|
(appViewData[appViewData.length - 1].zIndex >
|
|
|
- this.notifyShowAllData.clearAllNotifyData
|
|
|
- .clearAllNotifyMessageZIndex ||
|
|
|
- this.notifyShowAllData.clearAllNotifyData
|
|
|
- .clearAllNotifyMessageDisplay === "none");
|
|
|
+ this.notifySettingData.zIndex ||
|
|
|
+ this.notifySettingData.display === "none") &&
|
|
|
+ (appViewData[appViewData.length - 1].zIndex >
|
|
|
+ this.searchInputData.zIndex ||
|
|
|
+ this.searchInputData === "none");
|
|
|
console.log(
|
|
|
fixWindowZIndexIsMax1,
|
|
|
userSettingZIndexMax1,
|
|
|
notifyTrayPanelDetailZIndexMax1,
|
|
|
notifySettingZIndexMax1,
|
|
|
notifyShowAllZIndexMax1,
|
|
|
+ searchInputZIndexMax1,
|
|
|
clearAllNotifyMessageZIndexMax1,
|
|
|
appViewIsMax
|
|
|
);
|
|
@@ -901,6 +972,8 @@ export default {
|
|
|
this.notifySettingData.cls = "active-win";
|
|
|
} else if (notifyShowAllZIndexMax1) {
|
|
|
this.notifyShowAllData.cls = "active-win";
|
|
|
+ } else if (searchInputZIndexMax1) {
|
|
|
+ this.searchInputData.cls = "active-win";
|
|
|
} else if (clearAllNotifyMessageZIndexMax1) {
|
|
|
this.notifyShowAllData.clearAllNotifyData.clearAllNotifyMessageCls =
|
|
|
"active-win";
|