From 3e3b8b17fe4596dac3bb2dc10e3b45ac432a3b9c Mon Sep 17 00:00:00 2001 From: zhangyh Date: Wed, 24 Sep 2025 11:51:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A2=9C=E8=89=B2=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E4=BB=8Elibrary=E9=80=89=E6=8B=A9&=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E5=88=97=E8=A1=A8=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 8 +- src/assets/icons/CLibrary.svg | 3 +- .../Detail/detailLeft/colorBox/index.vue | 105 +++++++++++++++++- .../Detail/detailLeft/colorBox/upload.vue | 5 +- src/component/HomePage/Generate.vue | 9 +- src/component/common/SelectImages.vue | 45 +++++--- src/tool/util.js | 49 ++++---- src/views/HomeView/history.vue | 17 ++- 8 files changed, 184 insertions(+), 57 deletions(-) diff --git a/components.d.ts b/components.d.ts index f6361587..08f545eb 100644 --- a/components.d.ts +++ b/components.d.ts @@ -9,32 +9,26 @@ export {} declare module 'vue' { export interface GlobalComponents { ABadge: typeof import('ant-design-vue/es')['Badge'] - ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb'] ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider'] - ADatePicker: typeof import('ant-design-vue/es')['DatePicker'] ADrawer: typeof import('ant-design-vue/es')['Drawer'] + ADropdown: typeof import('ant-design-vue/es')['Dropdown'] AImage: typeof import('ant-design-vue/es')['Image'] AInputNumber: typeof import('ant-design-vue/es')['InputNumber'] AMenu: typeof import('ant-design-vue/es')['Menu'] AMenuItem: typeof import('ant-design-vue/es')['MenuItem'] AModal: typeof import('ant-design-vue/es')['Modal'] - APagination: typeof import('ant-design-vue/es')['Pagination'] APopover: typeof import('ant-design-vue/es')['Popover'] ARangePicker: typeof import('ant-design-vue/es')['RangePicker'] ASelect: typeof import('ant-design-vue/es')['Select'] ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] ASlider: typeof import('ant-design-vue/es')['Slider'] - ASpace: typeof import('ant-design-vue/es')['Space'] ASpin: typeof import('ant-design-vue/es')['Spin'] - ASubMenu: typeof import('ant-design-vue/es')['SubMenu'] ASwitch: typeof import('ant-design-vue/es')['Switch'] ATable: typeof import('ant-design-vue/es')['Table'] ATabPane: typeof import('ant-design-vue/es')['TabPane'] ATabs: typeof import('ant-design-vue/es')['Tabs'] - ATimeRangePicker: typeof import('ant-design-vue/es')['TimeRangePicker'] AUpload: typeof import('ant-design-vue/es')['Upload'] - ElCascader: typeof import('element-plus/es')['ElCascader'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/assets/icons/CLibrary.svg b/src/assets/icons/CLibrary.svg index b8524188..ce0f94c5 100644 --- a/src/assets/icons/CLibrary.svg +++ b/src/assets/icons/CLibrary.svg @@ -1 +1,2 @@ - \ No newline at end of file + + diff --git a/src/component/Detail/detailLeft/colorBox/index.vue b/src/component/Detail/detailLeft/colorBox/index.vue index 3d060543..d4230ae6 100644 --- a/src/component/Detail/detailLeft/colorBox/index.vue +++ b/src/component/Detail/detailLeft/colorBox/index.vue @@ -16,8 +16,16 @@
{{$t('DesignPrintOperation.Colorfromimage')}}
-
- +
+
+ +
{{ $t('LibraryPage.Upload') }}
+
+
+ + +
{{ $t('LibraryPage.library') }}
+
{{$t('DesignPrintOperation.ColorCode')}}
@@ -30,7 +38,14 @@
- +