Comparing version 0.1.7 to 0.1.8
@@ -12,2 +12,19 @@ ### button的风格 | ||
```html | ||
<div> | ||
<a class="dui-btn-info" href="javascript:;">常用</a> | ||
<a class="dui-btn-warning" href="javascript:;">重要</a> | ||
<a class="dui-btn-info-bordered" href="javascript:;">常用</a> | ||
<a class="dui-btn-warning-bordered" href="javascript:;">重要</a> | ||
<a class="dui-btn" href="javascript:;">默认</a> | ||
<a class="dui-btn-warning dui-btn-has-icon" href="javascript:;"> | ||
<i class="iconfont icon-sousuo1"></i>图标按钮 | ||
</a> | ||
<a class="dui-btn-danger disabled" href="javascript:;">警示</a> | ||
<a class="dui-btn-danger disabled dui-btn-has-icon" href="javascript:;"> | ||
<i class="iconfont icon-tixing"></i>警示 | ||
</a> | ||
</div> | ||
``` | ||
### button的尺寸 | ||
@@ -60,3 +77,3 @@ | ||
```html | ||
<a class="dui-btn-warning" href="javascript:;"> | ||
<a class="dui-btn-warning dui-btn-has-icon" href="javascript:;"> | ||
<i class="iconfont icon-sousuo1"></i>图标按钮 | ||
@@ -66,2 +83,4 @@ </a> | ||
需要注意的是,要对容器加`dui-btn-has-icon`,且不考虑small和mini的情况 | ||
### 需要自定义宽度的button | ||
@@ -68,0 +87,0 @@ |
{ | ||
"name": "Dui", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "针对某部门的UI组件开发", | ||
@@ -34,2 +34,3 @@ "main": "index.js", | ||
"css-loader": "^0.25.0", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"eslint": "^3.12.0", | ||
@@ -61,3 +62,8 @@ "eslint-config-airbnb-base": "^10.0.1", | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1505608
27
22825