From a893345f1e03925132ab6b1994ae9a7ee5843bb6 Mon Sep 17 00:00:00 2001 From: WANGFan <15871339963@163.com> Date: Sat, 5 Jul 2025 10:53:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=AF=E6=8A=98=E5=8F=A0=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 37 ++++----- src/components/s-fold-page/index.vue | 79 +++++++++++++++++++ .../{s-full-screen => s-full-page}/index.vue | 0 .../component/common-layouts/fold-page.vue | 21 +++++ src/views/component/common-layouts/index.vue | 62 ++++++--------- 5 files changed, 143 insertions(+), 56 deletions(-) create mode 100644 src/components/s-fold-page/index.vue rename src/components/{s-full-screen => s-full-page}/index.vue (100%) create mode 100644 src/views/component/common-layouts/fold-page.vue diff --git a/src/components.d.ts b/src/components.d.ts index 17efb6c..b9def46 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -5,24 +5,25 @@ // Read more: https://github.com/vuejs/core/pull/3399 export {} -declare module "vue" { +declare module 'vue' { export interface GlobalComponents { - RouterLink: (typeof import("vue-router"))["RouterLink"]; - RouterView: (typeof import("vue-router"))["RouterView"]; - SBarcodeDraw: (typeof import("./components/s-barcode-draw/index.vue"))["default"]; - SCodeView: (typeof import("./components/s-code-view/index.vue"))["default"]; - SelectIcon: (typeof import("./components/select-icon/index.vue"))["default"]; - SExternalLinkPage: (typeof import("./components/s-external-link-page/index.vue"))["default"]; - SFullScreen: (typeof import("./components/s-full-screen/index.vue"))["default"]; - SInternalLinkPage: (typeof import("./components/s-internal-link-page/index.vue"))["default"]; - SLangProvider: (typeof import("./components/s-lang-provider/index.vue"))["default"]; - SMainTransition: (typeof import("./components/s-main-transition/index.vue"))["default"]; - SPinyinPro: (typeof import("./components/s-pinyin-pro/index.vue"))["default"]; - SQrcodeDraw: (typeof import("./components/s-qrcode-draw/index.vue"))["default"]; - SRecorderPcm: (typeof import("./components/s-recorder-pcm/index.vue"))["default"]; - SSelectIcon: (typeof import("./components/s-select-icon/index.vue"))["default"]; - SSvgAndIcon: (typeof import("./components/s-svg-and-icon/index.vue"))["default"]; - SSvgIcon: (typeof import("./components/s-svg-icon/index.vue"))["default"]; - SVerifyCode: (typeof import("./components/s-verify-code/index.vue"))["default"]; + RouterLink: typeof import('vue-router')['RouterLink'] + RouterView: typeof import('vue-router')['RouterView'] + SBarcodeDraw: typeof import('./components/s-barcode-draw/index.vue')['default'] + SCodeView: typeof import('./components/s-code-view/index.vue')['default'] + SelectIcon: (typeof import("./components/select-icon/index.vue"))["default"] + SExternalLinkPage: typeof import('./components/s-external-link-page/index.vue')['default'] + SFoldPage: typeof import('./components/s-fold-page/index.vue')['default'] + SFullPage: typeof import('./components/s-full-page/index.vue')['default'] + SInternalLinkPage: typeof import('./components/s-internal-link-page/index.vue')['default'] + SLangProvider: typeof import('./components/s-lang-provider/index.vue')['default'] + SMainTransition: typeof import('./components/s-main-transition/index.vue')['default'] + SPinyinPro: typeof import('./components/s-pinyin-pro/index.vue')['default'] + SQrcodeDraw: typeof import('./components/s-qrcode-draw/index.vue')['default'] + SRecorderPcm: typeof import('./components/s-recorder-pcm/index.vue')['default'] + SSelectIcon: typeof import('./components/s-select-icon/index.vue')['default'] + SSvgAndIcon: typeof import('./components/s-svg-and-icon/index.vue')['default'] + SSvgIcon: typeof import('./components/s-svg-icon/index.vue')['default'] + SVerifyCode: typeof import('./components/s-verify-code/index.vue')['default'] } } diff --git a/src/components/s-fold-page/index.vue b/src/components/s-fold-page/index.vue new file mode 100644 index 0000000..4b59a9e --- /dev/null +++ b/src/components/s-fold-page/index.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/src/components/s-full-screen/index.vue b/src/components/s-full-page/index.vue similarity index 100% rename from src/components/s-full-screen/index.vue rename to src/components/s-full-page/index.vue diff --git a/src/views/component/common-layouts/fold-page.vue b/src/views/component/common-layouts/fold-page.vue new file mode 100644 index 0000000..8ddb21f --- /dev/null +++ b/src/views/component/common-layouts/fold-page.vue @@ -0,0 +1,21 @@ + + + + + diff --git a/src/views/component/common-layouts/index.vue b/src/views/component/common-layouts/index.vue index 6d27698..e8f5a84 100644 --- a/src/views/component/common-layouts/index.vue +++ b/src/views/component/common-layouts/index.vue @@ -1,50 +1,36 @@