diff --git a/src/api/material.ts b/src/api/material.ts index da961f4..df38df0 100644 --- a/src/api/material.ts +++ b/src/api/material.ts @@ -64,6 +64,7 @@ export const getFontSub = (params: Type.Object = {}, extra: any = {}) => fetch(' type TGetImageListParams = { page?: number + cate?: number } export type TGetImageListResult = { @@ -73,6 +74,7 @@ export type TGetImageListResult = { url: string user_id: number id: string + thumb: string } // 图库列表 diff --git a/src/assets/data/WidgetClassifyList.ts b/src/assets/data/WidgetClassifyList.ts index b5a3c7b..319c299 100644 --- a/src/assets/data/WidgetClassifyList.ts +++ b/src/assets/data/WidgetClassifyList.ts @@ -6,11 +6,14 @@ * @LastEditTime: 2024-03-01 20:55:51 */ +import { StyleValue } from "vue" + export type TWidgetClassifyData = { name: string icon: string show: boolean component: string + style?: StyleValue } export default [ diff --git a/src/components/modules/layout/designBoard.vue b/src/components/modules/layout/designBoard.vue deleted file mode 100644 index d0d35d3..0000000 --- a/src/components/modules/layout/designBoard.vue +++ /dev/null @@ -1,304 +0,0 @@ - - - - - diff --git a/src/components/modules/layout/designBoard/index.vue b/src/components/modules/layout/designBoard/index.vue new file mode 100644 index 0000000..4764f21 --- /dev/null +++ b/src/components/modules/layout/designBoard/index.vue @@ -0,0 +1,363 @@ + + + + + diff --git a/src/components/modules/layout/sizeControl.vue b/src/components/modules/layout/sizeControl.vue index 80d2174..276dec5 100644 --- a/src/components/modules/layout/sizeControl.vue +++ b/src/components/modules/layout/sizeControl.vue @@ -1,7 +1,7 @@ diff --git a/src/components/modules/layout/zoomControl/data.ts b/src/components/modules/layout/zoomControl/data.ts index e69de29..d2d3936 100644 --- a/src/components/modules/layout/zoomControl/data.ts +++ b/src/components/modules/layout/zoomControl/data.ts @@ -0,0 +1,69 @@ + +export type TZoomData = { + text: string + value: number +} + +export const ZoomList: TZoomData[] = [ + { + text: '25%', + value: 25, + }, + { + text: '50%', + value: 50, + }, + { + text: '75%', + value: 75, + }, + { + text: '100%', + value: 100, + }, + { + text: '125%', + value: 125, + }, + { + text: '150%', + value: 150, + }, + { + text: '200%', + value: 200, + }, + { + text: '最佳尺寸', + value: -1, + // icon: 'icon-best-size', + }, +] + + +export const OtherList: TZoomData[] = [ + { + text: '250%', + value: 250, + }, + { + text: '300%', + value: 300, + }, + { + text: '350%', + value: 350, + }, + { + text: '400%', + value: 400, + }, + { + text: '450%', + value: 450, + }, + { + text: '500%', + value: 500, + }, +] diff --git a/src/components/modules/layout/zoomControl/index.vue b/src/components/modules/layout/zoomControl/index.vue index 6c3ea3b..cd3518d 100644 --- a/src/components/modules/layout/zoomControl/index.vue +++ b/src/components/modules/layout/zoomControl/index.vue @@ -19,270 +19,250 @@ -