|
@@ -10,7 +10,9 @@
|
|
|
:key="index"
|
|
|
style="width: 100vw; max-width: 1920px; margin: 0 auto; height: 100vh"
|
|
|
>
|
|
|
- <div style="text-align: center;font-size: 2.5rem; margin-top: 15px">{{ v.text }}</div>
|
|
|
+ <div style="text-align: center; font-size: 2.5rem; margin-top: 15px">
|
|
|
+ {{ v.text }}
|
|
|
+ </div>
|
|
|
<template
|
|
|
v-if="
|
|
|
list.length &&
|
|
@@ -101,6 +103,7 @@ export default {
|
|
|
if (document.body.offsetWidth > 1920 || this.fontSize > 36)
|
|
|
this.fontSize = 36;
|
|
|
document.documentElement.style.fontSize = this.fontSize + "px";
|
|
|
+ document.querySelector("html").requestFullscreen();
|
|
|
menuWeekList()
|
|
|
.then(r => {
|
|
|
this.list = r || [];
|
|
@@ -109,7 +112,8 @@ export default {
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.load = false;
|
|
|
- if(localStorage.menuWeekList) this.list = JSON.parse(localStorage.menuWeekList);
|
|
|
+ if (localStorage.menuWeekList)
|
|
|
+ this.list = JSON.parse(localStorage.menuWeekList);
|
|
|
});
|
|
|
document.title = "菜单";
|
|
|
},
|