Skip to content

Commit 47947ed

Browse files
feat:增加Steps组件
1 parent 3f72ec4 commit 47947ed

File tree

8 files changed

+781
-25
lines changed

8 files changed

+781
-25
lines changed

components/configprovider/styles/themes/default.ts

+12-25
Original file line numberDiff line numberDiff line change
@@ -659,31 +659,18 @@ const themeDefault: any = {
659659
// $empty-description-line-height: 20px,
660660
// $empty-description-padding: 0 40px,
661661

662-
// // Steps
663-
// $steps-base-icon-width: 25px,
664-
// $steps-base-icon-height: 25px,
665-
// $steps-base-icon-line-height: 25px,
666-
// $steps-base-icon-font-size: 13px,
667-
// $steps-base-title-font-size: 14px,
668-
// $steps-base-line-color: #909ca4,
669-
// $steps-base-title-color: #909ca4,
670-
// $steps-base-title-margin-bottom: 10px,
671-
// $steps-base-content-font-size: 14px,
672-
// $steps-base-content-color: #666,
673-
// $steps-wait-icon-bg-color: #959fb1,
674-
// $steps-wait-icon-color: $white,
675-
// $steps-wait-head-color: #909ca4,
676-
// $steps-wait-head-border-color: #909ca4,
677-
// $steps-wait-content-color: #909ca4,
678-
// $steps-finish-head-color: $primary-color,
679-
// $steps-finish-head-border-color: $primary-color,
680-
// $steps-finish-title-color: $primary-color,
681-
// $steps-finish-line-background: $primary-color,
682-
// $steps-finish-icon-text-color: $white,
683-
// $steps-process-head-color: $white,
684-
// $steps-process-head-border-color: $primary-color,
685-
// $steps-process-title-color: $primary-color,
686-
// $steps-process-icon-text-color: $primary-color,
662+
// Steps
663+
'$step_h_left_width':30,
664+
'$step_h_line_height':1,
665+
'$step_h_dot_width':30,
666+
'$step_h_dot_height':30,
667+
'$step_h_dot_radius':15,
668+
'$step_text_fontsize':15,
669+
'$step_v_container_paddingLeft':20,
670+
'$step_v_text_fontsize':15,
671+
'$step_v_text_marginTop':10,
672+
'$step_v_text_marginRight':10,
673+
'$step_h_content_container':10,
687674

688675
// // Swiper
689676
'$swiper-pagination-vertical-item-width': 6,

components/step/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { Step } from './step';
2+
3+
export default Step;

0 commit comments

Comments
 (0)