| | |
| | | carList, |
| | | }, |
| | | mounted() { |
| | | //this.TreeDataPool.showTreeBox = false |
| | | window.addEventListener("message", (e) => { |
| | | if (e.data.msg === "changeColor") { |
| | | document.documentElement.style.setProperty( |
| | | "--colorCard", |
| | | `${e.data.color}` |
| | | ); |
| | | } |
| | | }); |
| | | }, |
| | | created() { |
| | | const color = localStorage.getItem("--colorCard"); |
| | | if (color) { |
| | | document.documentElement.style.setProperty("--colorCard", `${color}`); |
| | | } |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | overflow-x: hidden; |
| | | } |
| | | .resize-bar { |
| | | width: 254px; |
| | | width: 244px; |
| | | height: inherit; |
| | | resize: horizontal; |
| | | cursor: ew-resize; |