فهرست منبع

Merge branch 'main' of github.com:le5le-com/visualization-design into main

Alsmile 1 سال پیش
والد
کامیت
644f19802e
2فایلهای تغییر یافته به همراه21 افزوده شده و 3 حذف شده
  1. 20 2
      src/services/defaults.ts
  2. 1 1
      src/views/components/View.vue

+ 20 - 2
src/services/defaults.ts

@@ -1204,10 +1204,28 @@ export const formComponents = [
     list: [
       {
         name: '列表',
-        icon: 'l-pc', //l-liebiao
+        icon: 'l-liebiao',
         data: {
           width: 200,
           height: 200,
+          name: 'list',
+          headingColor: '#000',
+          headingSize: 16,
+          background: '#fff',
+          data: [
+            {
+              title: '列表标题',
+              description: '列表内容的描述性文字',
+            },
+            {
+              title: '列表标题',
+              description: '列表内容的描述性文字',
+            },
+            {
+              title: '列表标题',
+              description: '列表内容的描述性文字',
+            },
+          ],
         },
       },
       {
@@ -1881,7 +1899,7 @@ export const formComponents = [
       },
       {
         name: '步骤条',
-        icon: 'l-pc', //l-buzhoutiao
+        icon: 'l-buzhoutiao',
         data: {
           name: 'steps',
           width: 500,

+ 1 - 1
src/views/components/View.vue

@@ -711,7 +711,7 @@ const meta2dOptions: Options = {
   height: 1080,
   color: '#bdc7db',
   disableAnchor: true,
-  domShapes: ['threeDSence'],
+  domShapes: ['threeDSence', 'list'],
   defaultFormat: { ...defaultFormat },
 };