|
|
@ -69,10 +69,22 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Improve the sticky appearance of the list by increasing its
|
|
|
|
|
|
|
|
* height as user scrolls down.
|
|
|
|
|
|
|
|
* Not used on mobile.
|
|
|
|
|
|
|
|
*/
|
|
|
|
boxStyle() {
|
|
|
|
boxStyle() {
|
|
|
|
|
|
|
|
if (window.innerWidth > 550) {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
height: `calc(100vh - 160px + ${this.windowTop}px)`,
|
|
|
|
height: `calc(100vh - 160px + ${this.windowTop}px)`,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
height: "calc(100vh - 160px)",
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
sortedMonitorList() {
|
|
|
|
sortedMonitorList() {
|
|
|
|