2 Star 23 Fork 7

申法宽 / layui-steps

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

layui-steps

项目介绍

layui 的步骤条 steps

简单实现, 可自由发挥

使用

<div id="steps"></div>
    layui.config({
        base: 'extends/'
    });

    layui.use('steps', function () {
        var steps = layui.steps;

        var data = [
            {'title': "第一步", "desc": "2018-07-01 10:24:42"},
            {'title': "第二步", "desc": "2018-07-01 10:44:42"},
            {'title': "第三步", "desc": "2018-07-01 10:44:42"},
            {'title': "第四步", "desc": "2018-07-01 10:44:42"}
            ];

        steps.make(data, '#steps', 2);
    });

说明

steps.make(data, ele, current);
// data 数据
// ele 容器
// current 当前到了第几步

参与贡献

  1. Fork 本项目
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

Repository Comments ( 5 )

Sign in for post a comment

About

layui 的步骤条 steps expand collapse
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
JavaScript
1
https://gitee.com/sfk/layui-steps.git
git@gitee.com:sfk/layui-steps.git
sfk
layui-steps
layui-steps
v2

Search

181749 a2d7925e 1850385 181749 9f8568a7 1850385