Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
a88f52e0
Commit
a88f52e0
authored
Sep 20, 2016
by
杨奕
Committed by
cinwell.li
Sep 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update component classification (#90)
parent
380a2f71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
56 deletions
+77
-56
examples/app.vue
examples/app.vue
+3
-1
examples/nav.config.json
examples/nav.config.json
+63
-53
examples/pages/index.vue
examples/pages/index.vue
+11
-2
No files found.
examples/app.vue
View file @
a88f52e0
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
body
{
body
{
font-family
:
'Helvetica Neue'
,
Helvetica
,
'PingFang SC'
,
'Hiragino Sans GB'
,
'Microsoft YaHei'
,
SimSun
,
sans-serif
;
font-family
:
'Helvetica Neue'
,
Helvetica
,
'PingFang SC'
,
'Hiragino Sans GB'
,
'Microsoft YaHei'
,
SimSun
,
sans-serif
;
overflow
:
auto
;
overflow
:
auto
;
font-weight
:
300
;
font-weight
:
400
;
-webkit-font-smoothing
:
antialiased
;
}
}
a
{
a
{
...
@@ -33,6 +34,7 @@
...
@@ -33,6 +34,7 @@
border
:
solid
1px
#eaeefb
;
border
:
solid
1px
#eaeefb
;
margin-bottom
:
25px
;
margin-bottom
:
25px
;
border-radius
:
2px
;
border-radius
:
2px
;
-webkit-font-smoothing
:
auto
;
}
}
.main-cnt
{
.main-cnt
{
...
...
examples/nav.config.json
View file @
a88f52e0
...
@@ -46,47 +46,6 @@
...
@@ -46,47 +46,6 @@
"name"
:
"按钮 (button)"
,
"name"
:
"按钮 (button)"
,
"title"
:
"Button 按钮"
,
"title"
:
"Button 按钮"
,
"description"
:
"常用的操作按钮"
"description"
:
"常用的操作按钮"
},
{
"path"
:
"/dialog"
,
"name"
:
"对话框 (dialog)"
,
"title"
:
"Dialog 对话框"
,
"description"
:
"在保留当前页面状态的情况下, 告知用户信息并承载相关操作。"
},
{
"path"
:
"/message-box"
,
"name"
:
"弹框 (message-box)"
,
"title"
:
"Message Box 弹框"
},
{
"path"
:
"/alert"
,
"name"
:
"警告 (alert)"
,
"title"
:
"Alert 警告"
,
"description"
:
"用于页面中展示重要的提示信息"
},
{
"path"
:
"/notification"
,
"name"
:
"通知 (notification)"
,
"title"
:
"Notification 通知"
,
"description"
:
"悬浮出现在页面右上角, 显示全局的通知提醒消息"
},
{
"path"
:
"/message"
,
"name"
:
"消息提示 (message)"
,
"title"
:
"Message 消息提示"
,
"description"
:
"对用户的操作进行反馈提示,包含成功、反馈或错误等消息提示"
},
{
"path"
:
"/loading"
,
"name"
:
"加载 (loading)"
,
"title"
:
"Loading 加载"
,
"description"
:
"加载数据时显示"
},
{
"path"
:
"/card"
,
"name"
:
"卡片 (card)"
,
"title"
:
"Card 卡片"
,
"description"
:
"将信息聚合在卡片容器中展示"
}
}
]
]
},
},
...
@@ -185,18 +144,6 @@
...
@@ -185,18 +144,6 @@
"title"
:
"Tag 标签"
,
"title"
:
"Tag 标签"
,
"description"
:
"Tag 标签"
"description"
:
"Tag 标签"
},
},
{
"path"
:
"/tooltip"
,
"name"
:
"文字提示 (tooltip)"
,
"title"
:
"Tooltip 文字提示"
,
"description"
:
"优雅地展示文字提示信息"
},
{
"path"
:
"/popover"
,
"name"
:
"弹出框 (popover)"
,
"title"
:
"Popover 弹出框"
,
"description"
:
"收纳具体内容和相关操作, 激活后弹出展现"
},
{
{
"path"
:
"/progress"
,
"path"
:
"/progress"
,
"name"
:
"进度条 (progress)"
,
"name"
:
"进度条 (progress)"
,
...
@@ -222,6 +169,40 @@
...
@@ -222,6 +169,40 @@
}
}
]
]
},
},
{
"groupName"
:
"Notice"
,
"list"
:
[
{
"path"
:
"/alert"
,
"name"
:
"警告 (alert)"
,
"title"
:
"Alert 警告"
,
"description"
:
"用于页面中展示重要的提示信息"
},
{
"path"
:
"/loading"
,
"name"
:
"加载 (loading)"
,
"title"
:
"Loading 加载"
,
"description"
:
"加载数据时显示"
},
{
"path"
:
"/message"
,
"name"
:
"消息提示 (message)"
,
"title"
:
"Message 消息提示"
,
"description"
:
"对用户的操作进行反馈提示,包含成功、反馈或错误等消息提示"
},
{
"path"
:
"/message-box"
,
"name"
:
"弹框 (message-box)"
,
"title"
:
"Message Box 弹框"
},
{
"path"
:
"/notification"
,
"name"
:
"通知 (notification)"
,
"title"
:
"Notification 通知"
,
"description"
:
"悬浮出现在页面右上角, 显示全局的通知提醒消息"
}
]
},
{
{
"groupName"
:
"Nav"
,
"groupName"
:
"Nav"
,
"list"
:
[
"list"
:
[
...
@@ -255,6 +236,35 @@
...
@@ -255,6 +236,35 @@
"description"
:
"引导用户按照流程完成任务的分步导航条,可根据实际应用场景设定步骤,步骤不得少于 2 步。"
"description"
:
"引导用户按照流程完成任务的分步导航条,可根据实际应用场景设定步骤,步骤不得少于 2 步。"
}
}
]
]
},
{
"groupName"
:
"Others"
,
"list"
:
[
{
"path"
:
"/dialog"
,
"name"
:
"对话框 (dialog)"
,
"title"
:
"Dialog 对话框"
,
"description"
:
"在保留当前页面状态的情况下, 告知用户信息并承载相关操作。"
},
{
"path"
:
"/tooltip"
,
"name"
:
"文字提示 (tooltip)"
,
"title"
:
"Tooltip 文字提示"
,
"description"
:
"优雅地展示文字提示信息"
},
{
"path"
:
"/popover"
,
"name"
:
"弹出框 (popover)"
,
"title"
:
"Popover 弹出框"
,
"description"
:
"收纳具体内容和相关操作, 激活后弹出展现"
},
{
"path"
:
"/card"
,
"name"
:
"卡片 (card)"
,
"title"
:
"Card 卡片"
,
"description"
:
"将信息聚合在卡片容器中展示"
}
]
}]
}]
}
}
]
]
examples/pages/index.vue
View file @
a88f52e0
...
@@ -43,9 +43,16 @@
...
@@ -43,9 +43,16 @@
z-index
:
10
;
z-index
:
10
;
h2
{
h2
{
font-size
:
80
px
;
font-size
:
46
px
;
margin
:
0
;
margin
:
0
;
}
}
p
{
font-size
:
14px
;
opacity
:
.8
;
width
:
420px
;
line-height
:
1.8
;
}
}
}
.cards
{
.cards
{
margin
:
0
auto
110px
;
margin
:
0
auto
110px
;
...
@@ -91,6 +98,7 @@
...
@@ -91,6 +98,7 @@
font-size
:
14px
;
font-size
:
14px
;
color
:
#99a9bf
;
color
:
#99a9bf
;
padding
:
0
25px
;
padding
:
0
25px
;
line-height
:
1.8
;
}
}
a
{
a
{
height
:
53px
;
height
:
53px
;
...
@@ -140,9 +148,10 @@
...
@@ -140,9 +148,10 @@
<img
class=
"banner-stars"
src=
"~examples/assets/images/stars.png"
alt=
"Element"
>
<img
class=
"banner-stars"
src=
"~examples/assets/images/stars.png"
alt=
"Element"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"banner-desc"
>
<div
class=
"banner-desc"
>
<h2>
Element
</h2>
<h2>
网站快速成型工具
</h2>
<div
id=
"line1"
class=
"actor"
></div>
<div
id=
"line1"
class=
"actor"
></div>
<div
id=
"line2"
class=
"actor"
></div>
<div
id=
"line2"
class=
"actor"
></div>
<p>
Element,一套为开发者、设计师和产品经理准备的基于 Vue 2.0 的组件库,提供了配套设计资源,帮助你的网站快速成型。
</p>
</div>
</div>
<img
src=
"~examples/assets/images/banner-bg.svg"
alt=
"Element"
>
<img
src=
"~examples/assets/images/banner-bg.svg"
alt=
"Element"
>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment