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
ce95bd69
Commit
ce95bd69
authored
Sep 14, 2016
by
Leopoldthecoder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove devDependencies of date-picker
parent
33a551d7
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
18 deletions
+19
-18
examples/app.vue
examples/app.vue
+6
-0
examples/components/footer-nav.vue
examples/components/footer-nav.vue
+1
-1
examples/components/footer.vue
examples/components/footer.vue
+1
-1
examples/components/header.vue
examples/components/header.vue
+1
-0
examples/docs/color.md
examples/docs/color.md
+1
-1
examples/docs/typography.md
examples/docs/typography.md
+2
-2
examples/pages/index.vue
examples/pages/index.vue
+6
-1
examples/route.config.js
examples/route.config.js
+1
-9
packages/date-picker/package.json
packages/date-picker/package.json
+0
-3
No files found.
examples/app.vue
View file @
ce95bd69
...
@@ -67,6 +67,12 @@
...
@@ -67,6 +67,12 @@
.demo
{
.demo
{
margin
:
20px
0
;
margin
:
20px
0
;
}
}
@media
(
max-width
:
1140px
)
{
.container
,
.page-container
{
width
:
100%
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
...
...
examples/components/footer-nav.vue
View file @
ce95bd69
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<
style
>
<
style
>
.footer-nav
{
.footer-nav
{
padding
:
24px
;
padding
:
24px
0
;
color
:
#99a9bf
;
color
:
#99a9bf
;
font-size
:
14px
;
font-size
:
14px
;
...
...
examples/components/footer.vue
View file @
ce95bd69
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"footer-main"
>
<div
class=
"footer-main"
>
<p
class=
"footer-main-title"
>
Element 1.0 Hydrogen
</p>
<p
class=
"footer-main-title"
>
Element 1.0 Hydrogen
</p>
<span
class=
"footer-main-link"
>
反馈建议
</span>
<span
class=
"footer-main-link"
>
反馈建议
</span>
<
span
class=
"footer-main-link"
><router-link
to=
"/changelog"
>
更新日志
</router-link></span
>
<
!--
<span
class=
"footer-main-link"
><router-link
to=
"/changelog"
>
更新日志
</router-link></span>
--
>
</div>
</div>
<div
class=
"footer-social"
>
<div
class=
"footer-social"
>
<el-popover
<el-popover
...
...
examples/components/header.vue
View file @
ce95bd69
...
@@ -164,6 +164,7 @@
...
@@ -164,6 +164,7 @@
scroll
((
direction
)
=>
{
scroll
((
direction
)
=>
{
if
(
this
.
isHome
)
{
if
(
this
.
isHome
)
{
this
.
hangUp
=
false
;
this
.
hangUp
=
false
;
this
.
isFixed
=
false
;
this
.
headerStyle
.
transition
=
''
;
this
.
headerStyle
.
transition
=
''
;
const
threshold
=
200
;
const
threshold
=
200
;
let
alpha
=
Math
.
min
(
document
.
body
.
scrollTop
,
threshold
)
/
threshold
;
let
alpha
=
Math
.
min
(
document
.
body
.
scrollTop
,
threshold
)
/
threshold
;
...
...
examples/docs/color.md
View file @
ce95bd69
...
@@ -105,7 +105,7 @@ Element 主要品牌颜色是鲜艳、友好的蓝色。
...
@@ -105,7 +105,7 @@ Element 主要品牌颜色是鲜艳、友好的蓝色。
### 辅助色
### 辅助色
除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。
每种颜色都有较浅和较深两种。
除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。
<el-row
:gutter=
"12"
>
<el-row
:gutter=
"12"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
...
...
examples/docs/typography.md
View file @
ce95bd69
...
@@ -106,13 +106,13 @@
...
@@ -106,13 +106,13 @@
<div
class=
"name"
>
Arial
</div>
<div
class=
"name"
>
Arial
</div>
</div>
</div>
###
字体家族 css 代码:
###
Font-family 代码
```
css
```
css
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
```
```
### 字体使用规范
:
### 字体使用规范
<table
class=
"demo-typo-size"
>
<table
class=
"demo-typo-size"
>
<tbody>
<tbody>
...
...
examples/pages/index.vue
View file @
ce95bd69
...
@@ -127,6 +127,11 @@
...
@@ -127,6 +127,11 @@
from
{
opacity
:
0
;
}
from
{
opacity
:
0
;
}
to
{
opacity
:
1
;
}
to
{
opacity
:
1
;
}
}
}
@media
(
max-width
:
1140px
)
{
.cards
{
width
:
100%
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div>
<div>
...
@@ -160,7 +165,7 @@
...
@@ -160,7 +165,7 @@
<div
class=
"card"
>
<div
class=
"card"
>
<img
src=
"~examples/assets/images/zujian.png"
alt=
""
>
<img
src=
"~examples/assets/images/zujian.png"
alt=
""
>
<h3>
组件
</h3>
<h3>
组件
</h3>
<p>
使用组件 Demo 快速体验交互细节
;
使用前端框架封装的代码帮助工程师快速开发。
</p>
<p>
使用组件 Demo 快速体验交互细节
;
使用前端框架封装的代码帮助工程师快速开发。
</p>
<router-link
<router-link
active-class=
"active"
active-class=
"active"
to=
"/component/layout"
to=
"/component/layout"
...
...
examples/route.config.js
View file @
ce95bd69
...
@@ -17,9 +17,6 @@ const registerRoute = (config) => {
...
@@ -17,9 +17,6 @@ const registerRoute = (config) => {
},
},
component
:
component
.
default
||
component
component
:
component
.
default
||
component
};
};
if
(
page
.
path
===
'
/changelog
'
)
{
child
.
redirect
=
'
/changelog
'
;
}
route
[
0
].
children
.
push
(
child
);
route
[
0
].
children
.
push
(
child
);
}
}
...
@@ -73,12 +70,7 @@ let indexRoute = {
...
@@ -73,12 +70,7 @@ let indexRoute = {
component
:
require
(
'
./pages/index.vue
'
)
component
:
require
(
'
./pages/index.vue
'
)
};
};
let
changeLogRoute
=
{
route
.
route
=
route
.
route
.
concat
([
indexRoute
,
guideRoute
,
resourceRoute
]);
path
:
'
/changelog
'
,
component
:
require
(
'
./pages/changelog.vue
'
)
};
route
.
route
=
route
.
route
.
concat
([
indexRoute
,
guideRoute
,
resourceRoute
,
changeLogRoute
]);
route
.
route
.
push
({
route
.
route
.
push
({
path
:
'
*
'
,
path
:
'
*
'
,
...
...
packages/date-picker/package.json
View file @
ce95bd69
...
@@ -13,8 +13,5 @@
...
@@ -13,8 +13,5 @@
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"dependencies"
:
{
"dependencies"
:
{
"wind-dom"
:
"0.0.3"
"wind-dom"
:
"0.0.3"
},
"devDependencies"
:
{
"vue"
:
"^2.0.0-beta.7"
}
}
}
}
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