Kaynağa Gözat

add_progress

ananzhusen 1 yıl önce
ebeveyn
işleme
6209293237
1 değiştirilmiş dosya ile 8 ekleme ve 12 silme
  1. 8 12
      src/services/defaults.ts

+ 8 - 12
src/services/defaults.ts

@@ -951,18 +951,14 @@ export const formComponents = [
         data: {
           anchors: [],
           disableAnchor: true,
-          name: 'slider',
-          width: 300,
-          height: 20,
-          value: 10,
-          textWidth: 50,
-          barHeight: 4,
-          min: 0,
-          max: 100,
-          color: '#1890ff',
-          background: '#D4D6D9',
-          textColor: '#222222',
-          unit: '%',
+          name: 'progress',
+          width: 164,
+          height: 6,
+          borderRadius: 0.5,
+          progressColor: '#4583ff',
+          progress: 0.8,
+          background: 'rgba(225, 227, 232, 1)',
+          lineWidth: 0,
         },
       },
       {