From e7402da94041dfe26968c169418edf15362ba63c Mon Sep 17 00:00:00 2001
From: "WANGFAN\\wangf" <15871339963@163.com>
Date: Thu, 9 Jan 2025 20:34:07 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9D=A1=E5=BD=A2=E7=A0=81=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components.d.ts | 27 ++--
src/components/draw-barcode/index.vue | 32 ++++
src/layout/layout-defaults/index.vue | 1 -
src/router/index.ts | 196 ++++++++++++------------
src/style/global-scrollbar.scss | 5 +
src/views/component/barcode/barcode.vue | 106 +++++++++----
6 files changed, 229 insertions(+), 138 deletions(-)
create mode 100644 src/components/draw-barcode/index.vue
diff --git a/src/components.d.ts b/src/components.d.ts
index 0b4f673..f0bca50 100644
--- a/src/components.d.ts
+++ b/src/components.d.ts
@@ -5,19 +5,20 @@
// Read more: https://github.com/vuejs/core/pull/3399
export {}
-declare module 'vue' {
+declare module "vue" {
export interface GlobalComponents {
- CodeView: typeof import('./components/code-view/index.vue')['default']
- ExternalLinkPage: typeof import('./components/external-link-page/index.vue')['default']
- FillPage: typeof import('./components/fill-page/index.vue')['default']
- InternalLinkPage: typeof import('./components/internal-link-page/index.vue')['default']
- LangProvider: typeof import('./components/lang-provider/index.vue')['default']
- MainTransition: typeof import('./components/main-transition/index.vue')['default']
- RouterLink: typeof import('vue-router')['RouterLink']
- RouterView: typeof import('vue-router')['RouterView']
- SelectIcon: typeof import('./components/select-icon/index.vue')['default']
- SvgAndIcon: typeof import('./components/svg-and-icon/index.vue')['default']
- SvgIcon: typeof import('./components/svg-icon/index.vue')['default']
- VerifyCode: typeof import('./components/verify-code/index.vue')['default']
+ CodeView: (typeof import("./components/code-view/index.vue"))["default"];
+ DrawBarcode: (typeof import("./components/draw-barcode/index.vue"))["default"];
+ ExternalLinkPage: (typeof import("./components/external-link-page/index.vue"))["default"];
+ FillPage: (typeof import("./components/fill-page/index.vue"))["default"];
+ InternalLinkPage: (typeof import("./components/internal-link-page/index.vue"))["default"];
+ LangProvider: (typeof import("./components/lang-provider/index.vue"))["default"];
+ MainTransition: (typeof import("./components/main-transition/index.vue"))["default"];
+ RouterLink: (typeof import("vue-router"))["RouterLink"];
+ RouterView: (typeof import("vue-router"))["RouterView"];
+ SelectIcon: (typeof import("./components/select-icon/index.vue"))["default"];
+ SvgAndIcon: (typeof import("./components/svg-and-icon/index.vue"))["default"];
+ SvgIcon: (typeof import("./components/svg-icon/index.vue"))["default"];
+ VerifyCode: (typeof import("./components/verify-code/index.vue"))["default"];
}
}
diff --git a/src/components/draw-barcode/index.vue b/src/components/draw-barcode/index.vue
new file mode 100644
index 0000000..714f6e4
--- /dev/null
+++ b/src/components/draw-barcode/index.vue
@@ -0,0 +1,32 @@
+
+
+
+
+
diff --git a/src/layout/layout-defaults/index.vue b/src/layout/layout-defaults/index.vue
index 2be29f2..a18ef05 100644
--- a/src/layout/layout-defaults/index.vue
+++ b/src/layout/layout-defaults/index.vue
@@ -26,7 +26,6 @@ let { isFooter } = storeToRefs(themeStore);
+