Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Commit 8fd4463

Browse files
Updates
1 parent 1575348 commit 8fd4463

File tree

48 files changed

+177
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+177
-140
lines changed

404/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<div id="root"><div id="root" data-server-rendered="true"><div id="main" class="error-container"><h1>无法找到请求的内容</h1> <div><button type="button" class="c-button c-button--primary"><!----><span><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left" style="vertical-align:middle;"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg></span> 返回 </span></button> <button class="c-button router-link-active"><!----><span><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home" style="vertical-align:middle;"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg></span> 首页 </span></button></div></div></div></div>
2020
<script src="https://lib.baomitu.com/babel-polyfill/6.26.0/polyfill.min.js"></script><script src="https://lib.baomitu.com/fetch/2.0.3/fetch.min.js"></script>
2121

22-
<script src="/static/vendor.22b12c2a.js"></script>
23-
<script src="/static/framework.3dd87bcc.js"></script>
24-
<script src="/static/manifest.60c19c57.js"></script>
22+
<script src="/static/vendor.197e5deb.js"></script>
23+
<script src="/static/framework.74e2d1c4.js"></script>
24+
<script src="/static/manifest.672e6434.js"></script>
2525
</body>
2626
</html>

component/breadcrumb/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
<span class="hljs-tag">&lt;/<span class="hljs-name">template</span>&gt;</span></code></pre></div></article><footer>Code licensed under MIT License.<a href="https://github.com/clair-design/clair">Github项目</a>/<a href="https://github.com/clair-design/clair/issues">问题反馈</a></footer></div></div><button type="button" title="回到顶部" class="c-button c-button--primary c-button--round c-button--outline" style="display:none;position:fixed;right:50px;bottom:100px;z-index:999;"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-navigation-2" style="vertical-align:middle;"><polygon points="12 2 19 21 12 17 5 21 12 2"></polygon></svg></span><!----></button></div></div></div>
3737
<script src="https://lib.baomitu.com/babel-polyfill/6.26.0/polyfill.min.js"></script><script src="https://lib.baomitu.com/fetch/2.0.3/fetch.min.js"></script>
3838

39-
<script src="/static/vendor.22b12c2a.js"></script>
40-
<script src="/static/framework.3dd87bcc.js"></script>
41-
<script src="/static/manifest.60c19c57.js"></script>
39+
<script src="/static/vendor.197e5deb.js"></script>
40+
<script src="/static/framework.74e2d1c4.js"></script>
41+
<script src="/static/manifest.672e6434.js"></script>
4242
</body>
4343
</html>

component/button-group/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<div id="root"><div id="root" data-server-rendered="true"><div id="app"><div class="c-box toolbar is-align-center" style="margin:;"><div class="c-box__item has-padding-left-md is-12-xs is-4-sm is-3-md is-2-lg"><a href="/" class="is-inline-block has-padding-sm router-link-active"><img src="https://s1.ssl.qhres.com/static/9df9c3c715a8b6cb.svg" alt="clair"></a></div><div class="c-box__item is-none-xs-only is-12-xs is-7-sm is-8-md is-9-lg"><div class="c-box navbar" style="margin:;"><div class="c-box__item is-12-xs is-auto-sm"><a href="/" class="navbar__item router-link-active">首页</a></div><div class="c-box__item is-12-xs is-auto-sm"><a href="/principle/introduction" class="navbar__item">设计原则</a></div><div class="c-box__item is-12-xs is-auto-sm"><a href="/component/install" class="navbar__item is-active">组件</a></div><div class="c-box__item is-12-xs is-auto-sm"><a href="/resource" class="navbar__item">资源</a></div></div></div><div class="c-box__item has-text-right is-none-xs-only is-12-xs is-1-sm"><a href="https://github.com/clair-design/clair" aria-label="github repository" target="_blank" class="is-inline-block has-margin-right-md"><span class="c-icon is-size-xl"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github" style="vertical-align:middle;"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg></span></a></div></div><div class="c-box main no-gap" style="margin:;"><div class="c-box__item sidebar is-12-xs is-4-sm is-3-md is-2-lg"><div class="navbar is-stacked"><div class="subnav"><div class="subnav__title"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book" style="vertical-align:baseline;"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg></span><span> 使用说明</span></div><a href="/component/install" class="navbar__item">安装和使用<!----></a><a href="/component/theme" class="navbar__item">自定义样式<!----></a></div><div class="subnav"><div class="subnav__title"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layout" style="vertical-align:baseline;"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line></svg></span><span> 基础样式</span></div><a href="/component/layout" class="navbar__item">布局<span class="is-text-gray-6 has-margin-left-sm">layout</span></a><a href="/component/color" class="navbar__item">颜色<span class="is-text-gray-6 has-margin-left-sm">color</span></a><a href="/component/typography" class="navbar__item">文本样式<span class="is-text-gray-6 has-margin-left-sm">typography</span></a><a href="/component/helper" class="navbar__item">CSS 工具类<span class="is-text-gray-6 has-margin-left-sm">helper</span></a><a href="/component/responsive" class="navbar__item">响应式设计<span class="is-text-gray-6 has-margin-left-sm">responsive</span></a><a href="/component/icon" class="navbar__item">图标<span class="is-text-gray-6 has-margin-left-sm">icon</span></a><a href="/component/transition" class="navbar__item">过渡动画<span class="is-text-gray-6 has-margin-left-sm">transition</span></a></div><div class="subnav"><div class="subnav__title"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle" style="vertical-align:baseline;"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg></span><span> 表单</span></div><a href="/component/button" class="navbar__item">按钮<span class="is-text-gray-6 has-margin-left-sm">button</span></a><a href="/component/input" class="navbar__item">文本框<span class="is-text-gray-6 has-margin-left-sm">input</span></a><a href="/component/select" class="navbar__item">下拉框<span class="is-text-gray-6 has-margin-left-sm">select</span></a><a href="/component/checkbox" class="navbar__item">复选框<span class="is-text-gray-6 has-margin-left-sm">checkbox</span></a><a href="/component/radio" class="navbar__item">单选框<span class="is-text-gray-6 has-margin-left-sm">radio</span></a><a href="/component/switch" class="navbar__item">开关<span class="is-text-gray-6 has-margin-left-sm">switch</span></a><a href="/component/slider" class="navbar__item">滑块<span class="is-text-gray-6 has-margin-left-sm">slider</span></a><a href="/component/color-picker" class="navbar__item">取色器<span class="is-text-gray-6 has-margin-left-sm">color-picker</span></a><a href="/component/form" class="navbar__item">表单<span class="is-text-gray-6 has-margin-left-sm">form</span></a><a href="/component/datepicker" class="navbar__item">日期选择<span class="is-text-gray-6 has-margin-left-sm">datepicker</span></a><a href="/component/cascader" class="navbar__item">级联选择<span class="is-text-gray-6 has-margin-left-sm">cascader</span></a><a href="/component/upload" class="navbar__item">文件上传<span class="is-text-gray-6 has-margin-left-sm">upload</span></a></div><div class="subnav"><div class="subnav__title"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-navigation" style="vertical-align:baseline;"><polygon points="3 11 22 2 13 21 11 13 3 11"></polygon></svg></span><span> 导航</span></div><a href="/component/tab" class="navbar__item">标签页<span class="is-text-gray-6 has-margin-left-sm">tab</span></a><a href="/component/menu" class="navbar__item">导航菜单<span class="is-text-gray-6 has-margin-left-sm">menu</span></a><a href="/component/breadcrumb" class="navbar__item">面包屑<span class="is-text-gray-6 has-margin-left-sm">breadcrumb</span></a><a href="/component/toolbar" class="navbar__item">工具栏<span class="is-text-gray-6 has-margin-left-sm">toolbar</span></a><a href="/component/steps" class="navbar__item">步骤条<span class="is-text-gray-6 has-margin-left-sm">steps</span></a></div><div class="subnav"><div class="subnav__title"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart-2" style="vertical-align:baseline;"><line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line></svg></span><span> 数据展示</span></div><a href="/component/table" class="navbar__item">表格<span class="is-text-gray-6 has-margin-left-sm">table</span></a><a href="/component/card" class="navbar__item">卡片<span class="is-text-gray-6 has-margin-left-sm">card</span></a><a href="/component/pagination" class="navbar__item">分页<span class="is-text-gray-6 has-margin-left-sm">pagination</span></a><a href="/component/chip" class="navbar__item">标签<span class="is-text-gray-6 has-margin-left-sm">chip</span></a><a href="/component/calendar" class="navbar__item">日历<span class="is-text-gray-6 has-margin-left-sm">calendar</span></a><a href="/component/tree" class="navbar__item">树形组件<span class="is-text-gray-6 has-margin-left-sm">tree</span></a></div><div class="subnav"><div class="subnav__title"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-triangle" style="vertical-align:baseline;"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12" y2="17"></line></svg></span><span> 视觉反馈</span></div><a href="/component/modal" class="navbar__item">对话框<span class="is-text-gray-6 has-margin-left-sm">modal</span></a><a href="/component/tip" class="navbar__item">提示框<span class="is-text-gray-6 has-margin-left-sm">tip</span></a><a href="/component/notification" class="navbar__item">通知<span class="is-text-gray-6 has-margin-left-sm">notification</span></a><a href="/component/loading" class="navbar__item">加载中<span class="is-text-gray-6 has-margin-left-sm">loading</span></a></div></div></div><div class="c-box__item content is-12-xs is-8-sm is-9-md is-10-lg"><article class="markdown-body c-container is-lg"><h1 id="buttongroup">ButtonGroup</h1> <h2 id="demo">Demo</h2> <div class="vue-demo-block"><div class="vue-demo"><div class="c-button-group"></div></div> <div class="vue-demo-tools"><input type="checkbox" tabindex="-1" aria-hidden="true"> <label aria-hidden="true"></label> <div class="vue-demo-tool-snippets"><a title="在 Codepen 中打开"><span class="c-icon vue-demo-tools__icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-codepen" style="vertical-align:baseline;"><polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="15.5"></line><polyline points="22 8.5 12 15.5 2 8.5"></polyline><polyline points="2 15.5 12 8.5 22 15.5"></polyline><line x1="12" y1="2" x2="12" y2="8.5"></line></svg></span></a> <a title="复制代码"><span class="c-icon vue-demo-tools__icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy" style="vertical-align:baseline;"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span></a></div></div> <pre class="lang-html"><code><span class="hljs-tag">&lt;<span class="hljs-name">c-button-group</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">c-button-group</span>&gt;</span></code></pre></div></article><footer>Code licensed under MIT License.<a href="https://github.com/clair-design/clair">Github项目</a>/<a href="https://github.com/clair-design/clair/issues">问题反馈</a></footer></div></div><button type="button" title="回到顶部" class="c-button c-button--primary c-button--round c-button--outline" style="display:none;position:fixed;right:50px;bottom:100px;z-index:999;"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-navigation-2" style="vertical-align:middle;"><polygon points="12 2 19 21 12 17 5 21 12 2"></polygon></svg></span><!----></button></div></div></div>
2020
<script src="https://lib.baomitu.com/babel-polyfill/6.26.0/polyfill.min.js"></script><script src="https://lib.baomitu.com/fetch/2.0.3/fetch.min.js"></script>
2121

22-
<script src="/static/vendor.22b12c2a.js"></script>
23-
<script src="/static/framework.3dd87bcc.js"></script>
24-
<script src="/static/manifest.60c19c57.js"></script>
22+
<script src="/static/vendor.197e5deb.js"></script>
23+
<script src="/static/framework.74e2d1c4.js"></script>
24+
<script src="/static/manifest.672e6434.js"></script>
2525
</body>
2626
</html>

component/button/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@
105105
<span class="hljs-tag">&lt;/<span class="hljs-name">c-button-group</span>&gt;</span></code></pre></div> <h2 id="shu3-xing4-shuo1-ming2">属性说明</h2> <h3 id="cbutton-shu3-xing4"><code>c-button</code> 属性</h3> <table><thead><tr><th>属性</th> <th>类型</th> <th>默认值</th> <th>说明</th></tr></thead> <tbody><tr><td>primary</td> <td>Boolean</td> <td>false</td> <td>是否主要操作按钮(以蓝色显示)</td></tr> <tr><td>success</td> <td>Boolean</td> <td>false</td> <td>是否正向操作按钮(以绿色显示)</td></tr> <tr><td>warning</td> <td>Boolean</td> <td>false</td> <td>是否警告操作按钮(以黄色显示)</td></tr> <tr><td>danger</td> <td>Boolean</td> <td>false</td> <td>是否危险操作按钮(以红色显示)</td></tr> <tr><td>size</td> <td>String</td> <td>'md'</td> <td>尺寸,可以取 <code>xs</code><code>sm</code><code>md</code><code>lg</code><code>xl</code></td></tr> <tr><td>outline</td> <td>Boolean</td> <td>false</td> <td>是否线框样式</td></tr> <tr><td>round</td> <td>Boolean</td> <td>false</td> <td>是否圆角</td></tr> <tr><td>icon</td> <td>String</td> <td>null</td> <td>显示 FontAwesome 图标</td></tr> <tr><td>loading</td> <td>Boolean</td> <td>false</td> <td>是否显示 loading 图标</td></tr> <tr><td>href</td> <td>String</td> <td>null</td> <td>点击后跳转 URL,依赖 <a href="https://router.vuejs.org" target="_blank" rel="nofollow noopener noreferrer">Vue-Router</a></td></tr></tbody></table> <h3 id="cbuttongroup-shu3-xing4"><code>c-button-group</code> 属性</h3> <table><thead><tr><th>属性</th> <th>类型</th> <th>默认值</th> <th>说明</th></tr></thead> <tbody><tr><td>size</td> <td>String</td> <td>'md'</td> <td>尺寸,可以取 <code>xs</code><code>sm</code><code>md</code><code>lg</code><code>xl</code></td></tr></tbody></table></article><footer>Code licensed under MIT License.<a href="https://github.com/clair-design/clair">Github项目</a>/<a href="https://github.com/clair-design/clair/issues">问题反馈</a></footer></div></div><button type="button" title="回到顶部" class="c-button c-button--primary c-button--round c-button--outline" style="display:none;position:fixed;right:50px;bottom:100px;z-index:999;"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-navigation-2" style="vertical-align:middle;"><polygon points="12 2 19 21 12 17 5 21 12 2"></polygon></svg></span><!----></button></div></div></div>
106106
<script src="https://lib.baomitu.com/babel-polyfill/6.26.0/polyfill.min.js"></script><script src="https://lib.baomitu.com/fetch/2.0.3/fetch.min.js"></script>
107107

108-
<script src="/static/vendor.22b12c2a.js"></script>
109-
<script src="/static/framework.3dd87bcc.js"></script>
110-
<script src="/static/manifest.60c19c57.js"></script>
108+
<script src="/static/vendor.197e5deb.js"></script>
109+
<script src="/static/framework.74e2d1c4.js"></script>
110+
<script src="/static/manifest.672e6434.js"></script>
111111
</body>
112112
</html>

component/calendar/index.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

component/card/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
<span class="hljs-tag">&lt;/<span class="hljs-name">c-box</span>&gt;</span></code></pre></div></article><footer>Code licensed under MIT License.<a href="https://github.com/clair-design/clair">Github项目</a>/<a href="https://github.com/clair-design/clair/issues">问题反馈</a></footer></div></div><button type="button" title="回到顶部" class="c-button c-button--primary c-button--round c-button--outline" style="display:none;position:fixed;right:50px;bottom:100px;z-index:999;"><span class="c-icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-navigation-2" style="vertical-align:middle;"><polygon points="12 2 19 21 12 17 5 21 12 2"></polygon></svg></span><!----></button></div></div></div>
6767
<script src="https://lib.baomitu.com/babel-polyfill/6.26.0/polyfill.min.js"></script><script src="https://lib.baomitu.com/fetch/2.0.3/fetch.min.js"></script>
6868

69-
<script src="/static/vendor.22b12c2a.js"></script>
70-
<script src="/static/framework.3dd87bcc.js"></script>
71-
<script src="/static/manifest.60c19c57.js"></script>
69+
<script src="/static/vendor.197e5deb.js"></script>
70+
<script src="/static/framework.74e2d1c4.js"></script>
71+
<script src="/static/manifest.672e6434.js"></script>
7272
</body>
7373
</html>

0 commit comments

Comments
 (0)