src/views/zhjc.vue
@@ -1,10 +1,23 @@ <template> <Device /> <div> <Device /> <Legend class="legend"/> </div> </template> <script setup> import Device from "@/components/menu/Device.vue" import Legend from "@/components/tools/Legend_zhjc.vue"; import Device from "@/components/menu/Device.vue" </script> <style lang="less" scoped> .legend{ // background: url("@/assets/img/right/rightbg.png"); color: white; position: fixed; bottom: 6%; right: 1%; z-index: 3333; } @import url("../assets/css/home.css"); </style>