From 32419282df82b4730dd9d808804628404f7aea5a Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Mon, 18 Jun 2018 22:49:17 +0800
Subject: [PATCH] no message
Former-commit-id: 6856f455071ef5c5f909a9b136eac2b2cbf3eabd [formerly 6856f455071ef5c5f909a9b136eac2b2cbf3eabd [formerly 6856f455071ef5c5f909a9b136eac2b2cbf3eabd [formerly 6856f455071ef5c5f909a9b136eac2b2cbf3eabd [formerly c09ce04902dac955b5d5779951f61ebf5ab67b69 [formerly df56ec98ae2616c48d6a8089fcf4637b549422d1]]]]]
Former-commit-id: 159f08de0ca46d3b987977daaf6002a706fef695
Former-commit-id: 07fcc5bf9ccf2b4e63f34e01e00bb6fa32f6caba
Former-commit-id: 4d05bf6f6e5ac45c7dfc55d84034224b05de9ff5 [formerly df34a1a4b969928749708e0c5baec05e8d5823fb]
Former-commit-id: 5ef9e5ad7cb819c4627380ac1a6c47c8c15e3927
Former-commit-id: a4903c4f7caa1c14a8566185df59b2db4bb544ea
Former-commit-id: 4f846abc0f664e161a2584da1dd6bb5e4c7750d6
Former-commit-id: 1d140fc9ddd1df8e83da63f5839491bd139c8005
Former-commit-id: aa8fc9388d29e9f2fb8fe368f62335f7af2df788
---
src/menu/index.js | 3 +-
.../demo/element/form-checkbox/index.vue | 104 ++++++++++++++++++
src/router/index.js | 1 +
3 files changed, 107 insertions(+), 1 deletion(-)
create mode 100644 src/pages/demo/element/form-checkbox/index.vue
diff --git a/src/menu/index.js b/src/menu/index.js
index a798a434..f3b7be18 100644
--- a/src/menu/index.js
+++ b/src/menu/index.js
@@ -145,7 +145,8 @@ const demoElement = {
path: `${pre}form`,
title: '表单',
children: [
- { path: `${pre}form-radio`, title: '单选框' }
+ { path: `${pre}form-radio`, title: '单选框' },
+ { path: `${pre}form-checkbox`, title: '多选框' }
]
}
])('/demo/element/')
diff --git a/src/pages/demo/element/form-checkbox/index.vue b/src/pages/demo/element/form-checkbox/index.vue
new file mode 100644
index 00000000..974621b4
--- /dev/null
+++ b/src/pages/demo/element/form-checkbox/index.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+ 基础用法
+
+ 备选项1
+ 备选项2
+
+
+ 禁用状态
+
+ 备选项1
+ 备选项2
+
+
+ 多选框组
+
+
+
+
+
+
+
+
+ indeterminate 状态
+
+
+ 可选项目数量的限制
+
+ {{city}}
+
+
+
+
+
+ 按钮样式
+
+
+ {{city}}
+
+
+
+
+ {{city}}
+
+
+
+
+ {{city}}
+
+
+
+
+ {{city}}
+
+
+
+ 带有边框
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index e8ad3f33..fd2bccd5 100755
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -115,6 +115,7 @@ const routes = [
{ path: 'basic-icon', name: `${pre}basic-icon`, component: () => import('@/pages/demo/element/basic-icon/index.vue'), meta },
{ path: 'basic-button', name: `${pre}basic-button`, component: () => import('@/pages/demo/element/basic-button/index.vue'), meta },
{ path: 'form-radio', name: `${pre}form-radio`, component: () => import('@/pages/demo/element/form-radio/index.vue'), meta },
+ { path: 'form-checkbox', name: `${pre}form-checkbox`, component: () => import('@/pages/demo/element/form-checkbox/index.vue'), meta },
{ path: 'index', name: `${pre}index`, component: () => import('@/pages/demo/element/index/index.vue'), meta }
])('demo-element-')
},