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/FloatingActionButton/config.ts |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/src/components/DiyEditor/components/mobile/FloatingActionButton/config.ts b/src/components/DiyEditor/components/mobile/FloatingActionButton/config.ts
new file mode 100644
index 0000000..fcf129f
--- /dev/null
+++ b/src/components/DiyEditor/components/mobile/FloatingActionButton/config.ts
@@ -0,0 +1,36 @@
+import { DiyComponent } from '@/components/DiyEditor/util'
+
+// 鎮诞鎸夐挳灞炴��
+export interface FloatingActionButtonProperty {
+  // 灞曞紑鏂瑰悜
+  direction: 'horizontal' | 'vertical'
+  // 鏄惁鏄剧ず鏂囧瓧
+  showText: boolean
+  // 鎸夐挳鍒楄〃
+  list: FloatingActionButtonItemProperty[]
+}
+
+// 鎮诞鎸夐挳椤瑰睘鎬�
+export interface FloatingActionButtonItemProperty {
+  // 鍥剧墖鍦板潃
+  imgUrl: string
+  // 璺宠浆杩炴帴
+  url: string
+  // 鏂囧瓧
+  text: string
+  // 鏂囧瓧棰滆壊
+  textColor: string
+}
+
+// 瀹氫箟缁勪欢
+export const component = {
+  id: 'FloatingActionButton',
+  name: '鎮诞鎸夐挳',
+  icon: 'tabler:float-right',
+  position: 'fixed',
+  property: {
+    direction: 'vertical',
+    showText: true,
+    list: [{ textColor: '#fff' }]
+  }
+} as DiyComponent<FloatingActionButtonProperty>

--
Gitblit v1.8.0