Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
InJoyU
vue-element-admin
提交
7b0d527b
V
vue-element-admin
项目概览
InJoyU
/
vue-element-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-element-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
7b0d527b
编写于
5月 10, 2019
作者:
花
花裤衩
提交者:
GitHub
5月 10, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf[style]: refine dashboard style in mobile (#2060)
上级
0b8baeb1
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
56 addition
and
7 deletion
+56
-7
src/views/dashboard/admin/components/BarChart.vue
src/views/dashboard/admin/components/BarChart.vue
+3
-1
src/views/dashboard/admin/components/LineChart.vue
src/views/dashboard/admin/components/LineChart.vue
+4
-1
src/views/dashboard/admin/components/PanelGroup.vue
src/views/dashboard/admin/components/PanelGroup.vue
+37
-2
src/views/dashboard/admin/components/PieChart.vue
src/views/dashboard/admin/components/PieChart.vue
+3
-2
src/views/dashboard/admin/components/RaddarChart.vue
src/views/dashboard/admin/components/RaddarChart.vue
+3
-1
src/views/dashboard/admin/index.vue
src/views/dashboard/admin/index.vue
+6
-0
未找到文件。
src/views/dashboard/admin/components/BarChart.vue
浏览文件 @
7b0d527b
...
@@ -30,7 +30,9 @@ export default {
...
@@ -30,7 +30,9 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
initChart
()
this
.
initChart
()
})
this
.
__resizeHandler
=
debounce
(()
=>
{
this
.
__resizeHandler
=
debounce
(()
=>
{
if
(
this
.
chart
)
{
if
(
this
.
chart
)
{
this
.
chart
.
resize
()
this
.
chart
.
resize
()
...
...
src/views/dashboard/admin/components/LineChart.vue
浏览文件 @
7b0d527b
...
@@ -45,7 +45,10 @@ export default {
...
@@ -45,7 +45,10 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
initChart
()
this
.
initChart
()
})
if
(
this
.
autoResize
)
{
if
(
this
.
autoResize
)
{
this
.
__resizeHandler
=
debounce
(()
=>
{
this
.
__resizeHandler
=
debounce
(()
=>
{
if
(
this
.
chart
)
{
if
(
this
.
chart
)
{
...
...
src/views/dashboard/admin/components/PanelGroup.vue
浏览文件 @
7b0d527b
...
@@ -73,9 +73,11 @@ export default {
...
@@ -73,9 +73,11 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.panel-group
{
.panel-group
{
margin-top
:
18px
;
margin-top
:
18px
;
.card-panel-col
{
.card-panel-col
{
margin-bottom
:
32px
;
margin-bottom
:
32px
;
}
}
.card-panel
{
.card-panel
{
height
:
108px
;
height
:
108px
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -86,35 +88,45 @@ export default {
...
@@ -86,35 +88,45 @@ export default {
background
:
#fff
;
background
:
#fff
;
box-shadow
:
4px
4px
40px
rgba
(
0
,
0
,
0
,
.05
);
box-shadow
:
4px
4px
40px
rgba
(
0
,
0
,
0
,
.05
);
border-color
:
rgba
(
0
,
0
,
0
,
.05
);
border-color
:
rgba
(
0
,
0
,
0
,
.05
);
&
:hover
{
&
:hover
{
.card-panel-icon-wrapper
{
.card-panel-icon-wrapper
{
color
:
#fff
;
color
:
#fff
;
}
}
.icon-people
{
.icon-people
{
background
:
#40c9c6
;
background
:
#40c9c6
;
}
}
.icon-message
{
.icon-message
{
background
:
#36a3f7
;
background
:
#36a3f7
;
}
}
.icon-money
{
.icon-money
{
background
:
#f4516c
;
background
:
#f4516c
;
}
}
.icon-shopping
{
.icon-shopping
{
background
:
#34bfa3
background
:
#34bfa3
}
}
}
}
.icon-people
{
.icon-people
{
color
:
#40c9c6
;
color
:
#40c9c6
;
}
}
.icon-message
{
.icon-message
{
color
:
#36a3f7
;
color
:
#36a3f7
;
}
}
.icon-money
{
.icon-money
{
color
:
#f4516c
;
color
:
#f4516c
;
}
}
.icon-shopping
{
.icon-shopping
{
color
:
#34bfa3
color
:
#34bfa3
}
}
.card-panel-icon-wrapper
{
.card-panel-icon-wrapper
{
float
:
left
;
float
:
left
;
margin
:
14px
0
0
14px
;
margin
:
14px
0
0
14px
;
...
@@ -122,25 +134,48 @@ export default {
...
@@ -122,25 +134,48 @@ export default {
transition
:
all
0
.38s
ease-out
;
transition
:
all
0
.38s
ease-out
;
border-radius
:
6px
;
border-radius
:
6px
;
}
}
.card-panel-icon
{
.card-panel-icon
{
float
:
left
;
float
:
left
;
font-size
:
48px
;
font-size
:
48px
;
}
}
.card-panel-description
{
.card-panel-description
{
float
:
right
;
float
:
right
;
font-weight
:
bold
;
font-weight
:
bold
;
margin
:
26px
;
margin
:
26px
;
margin-left
:
0px
;
margin-left
:
0px
;
.card-panel-text
{
.card-panel-text
{
line-height
:
18px
;
line-height
:
18px
;
color
:
rgba
(
0
,
0
,
0
,
0
.45
);
color
:
rgba
(
0
,
0
,
0
,
0
.45
);
font-size
:
16px
;
font-size
:
16px
;
margin-bottom
:
12px
;
margin-bottom
:
12px
;
}
}
.card-panel-num
{
.card-panel-num
{
font-size
:
20px
;
font-size
:
20px
;
}
}
}
}
}
}
}
}
@media
(
max-width
:
550px
)
{
.card-panel-description
{
display
:
none
;
}
.card-panel-icon-wrapper
{
float
:
none
!
important
;
width
:
100%
;
height
:
100%
;
margin
:
0
!
important
;
.svg-icon
{
display
:
block
;
margin
:
14px
auto
!
important
;
float
:
none
!
important
;
}
}
}
</
style
>
</
style
>
src/views/dashboard/admin/components/PieChart.vue
浏览文件 @
7b0d527b
...
@@ -28,7 +28,9 @@ export default {
...
@@ -28,7 +28,9 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
initChart
()
this
.
initChart
()
})
this
.
__resizeHandler
=
debounce
(()
=>
{
this
.
__resizeHandler
=
debounce
(()
=>
{
if
(
this
.
chart
)
{
if
(
this
.
chart
)
{
this
.
chart
.
resize
()
this
.
chart
.
resize
()
...
@@ -58,7 +60,6 @@ export default {
...
@@ -58,7 +60,6 @@ export default {
bottom
:
'
10
'
,
bottom
:
'
10
'
,
data
:
[
'
Industries
'
,
'
Technology
'
,
'
Forex
'
,
'
Gold
'
,
'
Forecasts
'
]
data
:
[
'
Industries
'
,
'
Technology
'
,
'
Forex
'
,
'
Gold
'
,
'
Forecasts
'
]
},
},
calculable
:
true
,
series
:
[
series
:
[
{
{
name
:
'
WEEKLY WRITE ARTICLES
'
,
name
:
'
WEEKLY WRITE ARTICLES
'
,
...
...
src/views/dashboard/admin/components/RaddarChart.vue
浏览文件 @
7b0d527b
...
@@ -30,7 +30,9 @@ export default {
...
@@ -30,7 +30,9 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
initChart
()
this
.
initChart
()
})
this
.
__resizeHandler
=
debounce
(()
=>
{
this
.
__resizeHandler
=
debounce
(()
=>
{
if
(
this
.
chart
)
{
if
(
this
.
chart
)
{
this
.
chart
.
resize
()
this
.
chart
.
resize
()
...
...
src/views/dashboard/admin/index.vue
浏览文件 @
7b0d527b
...
@@ -115,4 +115,10 @@ export default {
...
@@ -115,4 +115,10 @@ export default {
margin-bottom
:
32px
;
margin-bottom
:
32px
;
}
}
}
}
@media
(
max-width
:
1024px
)
{
.chart-wrapper
{
padding
:
8px
;
}
}
</
style
>
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录