From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目
---
src/components/DiyEditor/components/mobile/Divider/config.ts | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/components/DiyEditor/components/mobile/Divider/config.ts b/src/components/DiyEditor/components/mobile/Divider/config.ts
new file mode 100644
index 0000000..9b55360
--- /dev/null
+++ b/src/components/DiyEditor/components/mobile/Divider/config.ts
@@ -0,0 +1,29 @@
+import { DiyComponent } from '@/components/DiyEditor/util'
+
+/** 鍒嗗壊绾垮睘鎬� */
+export interface DividerProperty {
+ // 楂樺害
+ height: number
+ // 绾垮
+ lineWidth: number
+ // 杈硅窛绫诲瀷
+ paddingType: 'none' | 'horizontal'
+ // 棰滆壊
+ lineColor: string
+ // 绫诲瀷
+ borderType: 'solid' | 'dashed' | 'dotted' | 'none'
+}
+
+// 瀹氫箟缁勪欢
+export const component = {
+ id: 'Divider',
+ name: '鍒嗗壊绾�',
+ icon: 'tdesign:component-divider-vertical',
+ property: {
+ height: 30,
+ lineWidth: 1,
+ paddingType: 'none',
+ lineColor: '#dcdfe6',
+ borderType: 'solid'
+ }
+} as DiyComponent<DividerProperty>
--
Gitblit v1.8.0