Skip to content

Commit

Permalink
site:add code operator & update doc builder & remove development code
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyan0205 committed May 2, 2018
1 parent 1dafa01 commit bc93fc6
Show file tree
Hide file tree
Showing 139 changed files with 492 additions and 39 deletions.
4 changes: 3 additions & 1 deletion components/action-bar/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
<script>import {ActionBar, Toast} from 'mand-mobile'
export default {
title: '通栏多按钮',
name: 'action-bar-demo',
/* DELETE */
title: '通栏多按钮',
height: 150,
/* DELETE */
components: {
[ActionBar.name]: ActionBar,
},
Expand Down
4 changes: 3 additions & 1 deletion components/action-bar/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
<script>import {ActionBar, Toast} from 'mand-mobile'
export default {
title: '通栏多按钮禁用',
name: 'action-bar-demo',
/* DELETE */
title: '通栏多按钮禁用',
height: 150,
/* DELETE */
components: {
[ActionBar.name]: ActionBar,
},
Expand Down
4 changes: 3 additions & 1 deletion components/action-bar/demo/cases/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
<script>import {ActionBar, Dialog} from 'mand-mobile'
export default {
title: '通栏带文案',
name: 'action-bar-demo',
/* DELETE */
title: '通栏带文案',
height: 150,
/* DELETE */
components: {
[ActionBar.name]: ActionBar,
},
Expand Down
20 changes: 11 additions & 9 deletions components/agree/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
<template>
<div class="md-example-child md-example-child-agree md-example-child-0">
<md-agree
v-model="agreeConf.checked"
:disabled="agreeConf.disabled"
:size="agreeConf.size"
@change="onChange(agreeConf.name, agreeConf.checked, $event)"
>
本人承诺投保人已充分了解本保险产品,并保证投保信息的真实性,理解并同意
</md-agree>
</div>
<md-agree
v-model="agreeConf.checked"
:disabled="agreeConf.disabled"
:size="agreeConf.size"
@change="onChange(agreeConf.name, agreeConf.checked, $event)"
>
本人承诺投保人已充分了解本保险产品,并保证投保信息的真实性,理解并同意
</md-agree>
</div>
</template>

<script>import {Agree} from 'mand-mobile'
export default {
name: 'agree-demo',
/* DELETE */
title: '选中状态',
height: 120,
/* DELETE */
components: {
[Agree.name]: Agree,
},
Expand Down
20 changes: 11 additions & 9 deletions components/agree/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
<template>
<div class="md-example-child md-example-child-agree md-example-child-1">
<md-agree
v-model="agreeConf.checked"
:disabled="agreeConf.disabled"
:size="agreeConf.size"
@change="onChange(agreeConf.name, agreeConf.checked, $event)"
>
本人承诺投保人已充分了解本保险产品,并保证投保信息的真实性,理解并同意
</md-agree>
</div>
<md-agree
v-model="agreeConf.checked"
:disabled="agreeConf.disabled"
:size="agreeConf.size"
@change="onChange(agreeConf.name, agreeConf.checked, $event)"
>
本人承诺投保人已充分了解本保险产品,并保证投保信息的真实性,理解并同意
</md-agree>
</div>
</template>

<script>import {Agree} from 'mand-mobile'
export default {
name: 'agree-demo',
/* DELETE */
title: '未选中状态',
height: 120,
/* DELETE */
components: {
[Agree.name]: Agree,
},
Expand Down
2 changes: 2 additions & 0 deletions components/agree/demo/cases/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
export default {
name: 'agree-demo',
/* DELETE */
title: '选中不可用状态',
height: 120,
/* DELETE */
components: {
[Agree.name]: Agree,
},
Expand Down
2 changes: 2 additions & 0 deletions components/agree/demo/cases/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
export default {
name: 'agree-demo',
/* DELETE */
title: '未选中不可用状态',
height: 120,
/* DELETE */
components: {
[Agree.name]: Agree,
},
Expand Down
2 changes: 2 additions & 0 deletions components/button/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
export default {
name: 'button-demo',
/* DELETE */
title: '主按钮',
/* DELETE */
components: {
[Button.name]: Button,
},
Expand Down
2 changes: 2 additions & 0 deletions components/button/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
export default {
name: 'button-demo',
/* DELETE */
title: '线性按钮',
/* DELETE */
components: {
[Button.name]: Button,
},
Expand Down
2 changes: 2 additions & 0 deletions components/button/demo/cases/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
export default {
name: 'button-demo',
/* DELETE */
title: '线性按钮小尺寸',
/* DELETE */
components: {
[Button.name]: Button,
},
Expand Down
2 changes: 2 additions & 0 deletions components/button/demo/cases/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
export default {
name: 'button-demo',
/* DELETE */
title: '文字链接按钮',
/* DELETE */
components: {
[Button.name]: Button,
},
Expand Down
2 changes: 2 additions & 0 deletions components/captcha/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@
export default {
name: 'captcha-demo',
/* DELETE */
title: '自定义',
height: 650,
/* DELETE */
components: {
[Button.name]: Button,
[Captcha.name]: Captcha,
Expand Down
2 changes: 2 additions & 0 deletions components/captcha/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
export default {
name: 'captcha-demo',
/* DELETE */
title: '内联',
height: 650,
/* DELETE */
components: {
[Captcha.name]: Captcha,
},
Expand Down
2 changes: 2 additions & 0 deletions components/cashier/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
export default {
name: 'cashier-demo',
/* DELETE */
height: 700,
/* DELETE */
components: {
[Button.name]: Button,
[Radio.name]: Radio,
Expand Down
2 changes: 2 additions & 0 deletions components/chart/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
export default {
name: 'chart-demo',
/* DELETE */
title: '多折线',
describe: '',
/* DELETE */
components: {
[Chart.name]: Chart,
},
Expand Down
2 changes: 2 additions & 0 deletions components/chart/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
export default {
name: 'chart-demo',
/* DELETE */
title: '渐变折线',
describe: '',
/* DELETE */
components: {
[Chart.name]: Chart,
},
Expand Down
2 changes: 2 additions & 0 deletions components/chart/demo/cases/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
export default {
name: 'chart-demo',
/* DELETE */
title: '区域填充',
describe: '',
/* DELETE */
components: {
[Chart.name]: Chart,
},
Expand Down
2 changes: 2 additions & 0 deletions components/codebox/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
export default {
name: 'codebox-demo',
/* DELETE */
title: '默认',
/* DELETE */
components: {
[Codebox.name]: Codebox,
},
Expand Down
2 changes: 2 additions & 0 deletions components/codebox/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
export default {
name: 'codebox-demo',
/* DELETE */
title: '掩码遮蔽',
/* DELETE */
components: {
[Codebox.name]: Codebox,
},
Expand Down
2 changes: 2 additions & 0 deletions components/codebox/demo/cases/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
export default {
name: 'codebox-demo',
/* DELETE */
title: '不限长度',
/* DELETE */
components: {
[Codebox.name]: Codebox,
},
Expand Down
2 changes: 2 additions & 0 deletions components/codebox/demo/cases/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
export default {
name: 'codebox-demo',
/* DELETE */
title: '系统键盘',
/* DELETE */
components: {
[Codebox.name]: Codebox,
},
Expand Down
2 changes: 2 additions & 0 deletions components/date-picker/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
export default {
name: 'date-picker-demo',
/* DELETE */
title: '日期选择',
describe: '2013/9/9 - 2020/9/9',
/* DELETE */
components: {
[DatePicker.name]: DatePicker,
},
Expand Down
2 changes: 2 additions & 0 deletions components/date-picker/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
export default {
name: 'date-picker-demo',
/* DELETE */
title: '时间选择',
/* DELETE */
components: {
[DatePicker.name]: DatePicker,
},
Expand Down
2 changes: 2 additions & 0 deletions components/date-picker/demo/cases/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
export default {
name: 'date-picker-demo',
/* DELETE */
title: '日期时间选择 <a href="javascript:window.triggerDatePicker0()">getFormatDate()</a>',
/* DELETE */
components: {
[DatePicker.name]: DatePicker,
},
Expand Down
2 changes: 2 additions & 0 deletions components/date-picker/demo/cases/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
export default {
name: 'date-picker-demo',
/* DELETE */
title: '自定义类型和选项文案值',
height: 500,
/* DELETE */
components: {
[DatePicker.name]: DatePicker,
[Field.name]: Field,
Expand Down
2 changes: 2 additions & 0 deletions components/dialog/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
export default {
name: 'dialog-demo',
/* DELETE */
title: '基本',
/* DELETE */
components: {
[Dialog.name]: Dialog,
[Button.name]: Button,
Expand Down
2 changes: 2 additions & 0 deletions components/dialog/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
export default {
name: 'dialog-demo',
/* DELETE */
title: '静态方法',
/* DELETE */
components: {
[Dialog.name]: Dialog,
[Button.name]: Button,
Expand Down
2 changes: 2 additions & 0 deletions components/drop-menu/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
export default {
name: 'drop-menu-demo',
/* DELETE */
title: '基础下拉菜单 <a href="javascript:DropMenuTrigger()">getSelectedValue(0)</a>',
height: 250,
/* DELETE */
components: {
[DropMenu.name]: DropMenu,
},
Expand Down
2 changes: 2 additions & 0 deletions components/drop-menu/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
export default {
name: 'drop-menu-demo',
/* DELETE */
title: '初始下拉菜单',
height: 500,
/* DELETE */
components: {
[DropMenu.name]: DropMenu,
},
Expand Down
2 changes: 2 additions & 0 deletions components/drop-menu/demo/cases/demo2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
export default {
name: 'drop-menu-demo',
/* DELETE */
title: '禁用下拉菜单',
height: 500,
/* DELETE */
components: {
[DropMenu.name]: DropMenu,
},
Expand Down
2 changes: 2 additions & 0 deletions components/drop-menu/demo/cases/demo3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
export default {
name: 'drop-menu-demo',
/* DELETE */
title: '自定义菜单项',
height: 250,
/* DELETE */
components: {
[DropMenu.name]: DropMenu,
},
Expand Down
2 changes: 2 additions & 0 deletions components/field/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
export default {
name: 'field-demo',
/* DELETE */
title: '基本列表',
/* DELETE */
components: {
[Field.name]: Field,
[FieldItem.name]: FieldItem,
Expand Down
2 changes: 2 additions & 0 deletions components/field/demo/cases/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
export default {
name: 'field-demo',
/* DELETE */
title: '多个条目',
/* DELETE */
components: {
[Field.name]: Field,
[FieldItem.name]: FieldItem,
Expand Down
Loading

0 comments on commit bc93fc6

Please sign in to comment.