Ver código fonte

add_swiperline

ananzhusen 1 ano atrás
pai
commit
b3125ad7c3
2 arquivos alterados com 15 adições e 15 exclusões
  1. 1 1
      public/theme/dark.json
  2. 14 14
      src/services/defaults.ts

+ 1 - 1
public/theme/dark.json

@@ -7,7 +7,7 @@
         "#239957",
         "#3062da"
     ],
-    "backgroundColor": "#181818",
+    "backgroundColor": "rgba(0,0,0,0)",
     "textStyle": {},
     "title": {
         "textStyle": {

+ 14 - 14
src/services/defaults.ts

@@ -1356,27 +1356,27 @@ export const formComponents = [
     show: true,
     list: [
       {
-        name: '广播',
-        icon: 'l-pc',
-        data: {
-          width: 200,
-          height: 200,
-        },
-      },
-      {
-        name: '滚动播放',
-        icon: 'l-pc',
+        name: '水平轮播',
+        icon: 'l-shijianzhou',
         data: {
+          name: 'leSwiperline',
           width: 200,
-          height: 200,
+          height: 40,
+          data: ['轮播第一次数据', '轮播第二次数据', '轮播第三次数据'],
+          hiddenText: true,
         },
       },
       {
-        name: '跑马灯',
-        icon: 'l-pc',
+        name: '垂直轮播',
+        icon: 'l-shijianzhou',
         data: {
+          name: 'leSwiperline',
           width: 200,
-          height: 200,
+          height: 24,
+          direction: 'vertical',
+          lineHeight: 2,
+          data: ['轮播第一次数据', '轮播第二次数据', '轮播第三次数据'],
+          hiddenText: true,
         },
       },
       {