diff --git a/mock/asyncRoutes.ts b/mock/asyncRoutes.ts index 9335735..da7ec1f 100644 --- a/mock/asyncRoutes.ts +++ b/mock/asyncRoutes.ts @@ -1,3 +1,11 @@ +/* + * @Author: donghao donghao@supervision.ltd + * @Date: 2024-01-12 14:35:28 + * @LastEditors: donghao donghao@supervision.ltd + * @LastEditTime: 2024-01-12 17:25:12 + * @FilePath: \general-work-web\General-AI-Platform-Web-Client\mock\asyncRoutes.ts + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ // 模拟后端动态生成路由 import { MockMethod } from "vite-plugin-mock"; @@ -7,33 +15,33 @@ import { MockMethod } from "vite-plugin-mock"; * common:普通角色 */ -const permissionRouter = { - path: "/permission", - meta: { - title: "menus.permission", - icon: "lollipop", - rank: 10 - }, - children: [ - { - path: "/permission/page/index", - name: "PermissionPage", - meta: { - title: "menus.permissionPage", - roles: ["admin", "common"] - } - }, - { - path: "/permission/button/index", - name: "PermissionButton", - meta: { - title: "menus.permissionButton", - roles: ["admin", "common"], - auths: ["btn_add", "btn_edit", "btn_delete"] - } - } - ] -}; +// const permissionRouter = { +// path: "/permission", +// meta: { +// title: "menus.permission", +// icon: "lollipop", +// rank: 10 +// }, +// children: [ +// { +// path: "/permission/page/index", +// name: "PermissionPage", +// meta: { +// title: "menus.permissionPage", +// roles: ["admin", "common"] +// } +// }, +// { +// path: "/permission/button/index", +// name: "PermissionButton", +// meta: { +// title: "menus.permissionButton", +// roles: ["admin", "common"], +// auths: ["btn_add", "btn_edit", "btn_delete"] +// } +// } +// ] +// }; export default [ { @@ -42,7 +50,7 @@ export default [ response: () => { return { success: true, - data: [permissionRouter] + data: [] }; } } diff --git a/package.json b/package.json index 6d57c8f..9e8d645 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "qs": "^6.11.2", "responsive-storage": "^2.2.0", "sortablejs": "^1.15.0", + "swiper": "^11.0.5", "vue": "^3.3.4", "vue-i18n": "^9.2.2", "vue-router": "^4.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26db379..eb1b9d2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,6 +68,9 @@ dependencies: sortablejs: specifier: ^1.15.0 version: 1.15.0 + swiper: + specifier: ^11.0.5 + version: 11.0.5 vue: specifier: ^3.3.4 version: 3.3.4 @@ -961,7 +964,8 @@ packages: /@esbuild/android-arm64@0.17.19: resolution: { - integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA== + integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==, + tarball: https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz } engines: { node: ">=12" } cpu: [arm64] @@ -973,7 +977,8 @@ packages: /@esbuild/android-arm@0.17.19: resolution: { - integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A== + integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==, + tarball: https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.17.19.tgz } engines: { node: ">=12" } cpu: [arm] @@ -985,7 +990,8 @@ packages: /@esbuild/android-x64@0.17.19: resolution: { - integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww== + integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==, + tarball: https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -997,7 +1003,8 @@ packages: /@esbuild/darwin-arm64@0.17.19: resolution: { - integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg== + integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==, + tarball: https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz } engines: { node: ">=12" } cpu: [arm64] @@ -1009,7 +1016,8 @@ packages: /@esbuild/darwin-x64@0.17.19: resolution: { - integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw== + integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==, + tarball: https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -1021,7 +1029,8 @@ packages: /@esbuild/freebsd-arm64@0.17.19: resolution: { - integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ== + integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==, + tarball: https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz } engines: { node: ">=12" } cpu: [arm64] @@ -1033,7 +1042,8 @@ packages: /@esbuild/freebsd-x64@0.17.19: resolution: { - integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ== + integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==, + tarball: https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -1045,7 +1055,8 @@ packages: /@esbuild/linux-arm64@0.17.19: resolution: { - integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg== + integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==, + tarball: https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz } engines: { node: ">=12" } cpu: [arm64] @@ -1057,7 +1068,8 @@ packages: /@esbuild/linux-arm@0.17.19: resolution: { - integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA== + integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==, + tarball: https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz } engines: { node: ">=12" } cpu: [arm] @@ -1069,7 +1081,8 @@ packages: /@esbuild/linux-ia32@0.17.19: resolution: { - integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ== + integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==, + tarball: https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz } engines: { node: ">=12" } cpu: [ia32] @@ -1081,7 +1094,8 @@ packages: /@esbuild/linux-loong64@0.17.19: resolution: { - integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ== + integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==, + tarball: https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz } engines: { node: ">=12" } cpu: [loong64] @@ -1093,7 +1107,8 @@ packages: /@esbuild/linux-mips64el@0.17.19: resolution: { - integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A== + integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==, + tarball: https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz } engines: { node: ">=12" } cpu: [mips64el] @@ -1105,7 +1120,8 @@ packages: /@esbuild/linux-ppc64@0.17.19: resolution: { - integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg== + integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==, + tarball: https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz } engines: { node: ">=12" } cpu: [ppc64] @@ -1117,7 +1133,8 @@ packages: /@esbuild/linux-riscv64@0.17.19: resolution: { - integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA== + integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==, + tarball: https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz } engines: { node: ">=12" } cpu: [riscv64] @@ -1129,7 +1146,8 @@ packages: /@esbuild/linux-s390x@0.17.19: resolution: { - integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q== + integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==, + tarball: https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz } engines: { node: ">=12" } cpu: [s390x] @@ -1141,7 +1159,8 @@ packages: /@esbuild/linux-x64@0.17.19: resolution: { - integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw== + integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==, + tarball: https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -1153,7 +1172,8 @@ packages: /@esbuild/netbsd-x64@0.17.19: resolution: { - integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q== + integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==, + tarball: https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -1165,7 +1185,8 @@ packages: /@esbuild/openbsd-x64@0.17.19: resolution: { - integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g== + integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==, + tarball: https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -1177,7 +1198,8 @@ packages: /@esbuild/sunos-x64@0.17.19: resolution: { - integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg== + integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==, + tarball: https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -1189,7 +1211,8 @@ packages: /@esbuild/win32-arm64@0.17.19: resolution: { - integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag== + integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==, + tarball: https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz } engines: { node: ">=12" } cpu: [arm64] @@ -1201,7 +1224,8 @@ packages: /@esbuild/win32-ia32@0.17.19: resolution: { - integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw== + integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==, + tarball: https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz } engines: { node: ">=12" } cpu: [ia32] @@ -1213,7 +1237,8 @@ packages: /@esbuild/win32-x64@0.17.19: resolution: { - integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA== + integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==, + tarball: https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz } engines: { node: ">=12" } cpu: [x64] @@ -1603,7 +1628,8 @@ packages: /@nuxt/kit@3.6.0: resolution: { - integrity: sha512-rqQYyWlhE42oWRQNR58KU1JYhoWryN78x8eYzFTHgalfpMjtPqZv2j9K4+hFRk0XLRUKnut4tE/3+UYyZ7ybVw== + integrity: sha512-rqQYyWlhE42oWRQNR58KU1JYhoWryN78x8eYzFTHgalfpMjtPqZv2j9K4+hFRk0XLRUKnut4tE/3+UYyZ7ybVw==, + tarball: https://registry.npmmirror.com/@nuxt/kit/-/kit-3.6.0.tgz } engines: { node: ^14.18.0 || >=16.10.0 } requiresBuild: true @@ -1657,7 +1683,8 @@ packages: /@pkgjs/parseargs@0.11.0: resolution: { - integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==, + tarball: https://registry.npmmirror.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz } engines: { node: ">=14" } requiresBuild: true @@ -1785,7 +1812,8 @@ packages: /@sxzz/popperjs-es@2.11.7: resolution: { - integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ== + integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==, + tarball: https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz } dev: false @@ -4686,7 +4714,8 @@ packages: /fsevents@2.3.2: resolution: { - integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, + tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz } engines: { node: ^8.16.0 || ^10.6.0 || >=11.0.0 } os: [darwin] @@ -8798,6 +8827,15 @@ packages: picocolors: 1.0.0 dev: true + /swiper@11.0.5: + resolution: + { + integrity: sha512-rhCwupqSyRnWrtNzWzemnBLMoyYuoDgGgspAm/8iBD3jCvAWycPLH4Z3TB0O5520DHLzMx94yUMH/B9Efpa48w==, + tarball: https://registry.npmmirror.com/swiper/-/swiper-11.0.5.tgz + } + engines: { node: ">= 4.7.0" } + dev: false + /table@6.8.1: resolution: { diff --git a/public/logo.svg b/public/logo.svg index bc26056..8bc4a71 100644 --- a/public/logo.svg +++ b/public/logo.svg @@ -1 +1,49 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/svg/bgfooter.svg b/src/assets/svg/bgfooter.svg new file mode 100644 index 0000000..773a5b7 --- /dev/null +++ b/src/assets/svg/bgfooter.svg @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/svg/deviceStatus/error.svg b/src/assets/svg/deviceStatus/error.svg new file mode 100644 index 0000000..d265abe --- /dev/null +++ b/src/assets/svg/deviceStatus/error.svg @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/src/assets/svg/deviceStatus/online.svg b/src/assets/svg/deviceStatus/online.svg new file mode 100644 index 0000000..62c12b2 --- /dev/null +++ b/src/assets/svg/deviceStatus/online.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/assets/svg/deviceStatus/outline.svg b/src/assets/svg/deviceStatus/outline.svg new file mode 100644 index 0000000..c87e791 --- /dev/null +++ b/src/assets/svg/deviceStatus/outline.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/assets/svg/deviceStatus/process.svg b/src/assets/svg/deviceStatus/process.svg new file mode 100644 index 0000000..3f57c04 --- /dev/null +++ b/src/assets/svg/deviceStatus/process.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/layout/components/appMain.vue b/src/layout/components/appMain.vue index 814d11a..cc6bca4 100644 --- a/src/layout/components/appMain.vue +++ b/src/layout/components/appMain.vue @@ -86,7 +86,7 @@ const transitionMain = defineComponent({ - + -import Search from "./search/index.vue"; +// import Search from "./search/index.vue"; import Notice from "./notice/index.vue"; import mixNav from "./sidebar/mixNav.vue"; import { useNav } from "@/layout/hooks/useNav"; @@ -48,7 +48,7 @@ const { t, locale, translationCh, translationEn } = useTranslationLang();
- + diff --git a/src/layout/components/sidebar/horizontal.vue b/src/layout/components/sidebar/horizontal.vue deleted file mode 100644 index 18cc094..0000000 --- a/src/layout/components/sidebar/horizontal.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/src/layout/components/sidebar/logo.vue b/src/layout/components/sidebar/logo.vue index 9dec792..0ef0be1 100644 --- a/src/layout/components/sidebar/logo.vue +++ b/src/layout/components/sidebar/logo.vue @@ -1,3 +1,11 @@ + diff --git a/src/layout/index.vue b/src/layout/index.vue index 1913b7f..0305da3 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -24,7 +24,7 @@ import navbar from "./components/navbar.vue"; import appMain from "./components/appMain.vue"; import setting from "./components/setting/index.vue"; import Vertical from "./components/sidebar/vertical.vue"; -import Horizontal from "./components/sidebar/horizontal.vue"; +// import Horizontal from "./components/sidebar/horizontal.vue"; import backTop from "@/assets/svg/back_top.svg?component"; const appWrapperRef = ref(); @@ -137,58 +137,26 @@ const layoutHeader = defineComponent({ (layout.value.includes("vertical") || layout.value.includes("mix")) ? h(navbar) : null, - !pureSetting.hiddenSideBar && layout.value.includes("horizontal") - ? h(Horizontal) - : null + !pureSetting.hiddenSideBar ] } ); } }); -/** - *
-
- - - -
- - - - - - - - -
- */