Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
InJoyU
vue-element-admin
提交
d98c5032
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,发现更多精彩内容 >>
未验证
提交
d98c5032
编写于
7月 06, 2018
作者:
花
花裤衩
提交者:
GitHub
7月 06, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refine style (#843)
* refine style * refine 404 style * refine
上级
a575670c
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
57 addition
and
30 deletion
+57
-30
src/components/GithubCorner/index.vue
src/components/GithubCorner/index.vue
+1
-1
src/styles/sidebar.scss
src/styles/sidebar.scss
+1
-0
src/views/clipboard/index.vue
src/views/clipboard/index.vue
+1
-1
src/views/dashboard/admin/components/TransactionTable.vue
src/views/dashboard/admin/components/TransactionTable.vue
+4
-1
src/views/dashboard/admin/index.vue
src/views/dashboard/admin/index.vue
+5
-3
src/views/dashboard/editor/index.vue
src/views/dashboard/editor/index.vue
+2
-2
src/views/errorPage/401.vue
src/views/errorPage/401.vue
+1
-0
src/views/errorPage/404.vue
src/views/errorPage/404.vue
+29
-21
src/views/layout/components/AppMain.vue
src/views/layout/components/AppMain.vue
+13
-1
未找到文件。
src/components/GithubCorner/index.vue
浏览文件 @
d98c5032
<
template
>
<a
href=
"https://github.com/PanJiaChen/vue-element-admin"
target=
"_blank"
class=
"github-corner"
aria-label=
"View source on Github"
>
<svg
width=
"80"
height=
"80"
viewBox=
"0 0 250 250"
style=
"fill:#40c9c6; color:#fff;
position: absolute; top: 84px; border: 0; right: 0;
"
<svg
width=
"80"
height=
"80"
viewBox=
"0 0 250 250"
style=
"fill:#40c9c6; color:#fff;"
aria-hidden=
"true"
>
<path
d=
"M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"
></path>
<path
d=
"M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
...
...
src/styles/sidebar.scss
浏览文件 @
d98c5032
...
...
@@ -4,6 +4,7 @@
min-height
:
100%
;
transition
:
margin-left
.28s
;
margin-left
:
180px
;
position
:
relative
;
}
// 侧边栏
.sidebar-container
{
...
...
src/views/clipboard/index.vue
浏览文件 @
d98c5032
...
...
@@ -34,7 +34,7 @@ export default {
},
clipboardSuccess
()
{
this
.
$message
({
message
:
'
复制成功
'
,
message
:
'
Copy successfully
'
,
type
:
'
success
'
,
duration
:
1500
})
...
...
src/views/dashboard/admin/components/TransactionTable.vue
浏览文件 @
d98c5032
...
...
@@ -2,7 +2,7 @@
<el-table
:data=
"list"
style=
"width: 100%;padding-top: 15px;"
>
<el-table-column
label=
"Order_No"
min-width=
"200"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
order_no
}}
{{
scope
.
row
.
order_no
|
orderNoFilter
}}
</
template
>
</el-table-column>
<el-table-column
label=
"Price"
width=
"195"
align=
"center"
>
...
...
@@ -34,6 +34,9 @@ export default {
pending
:
'
danger
'
}
return
statusMap
[
status
]
},
orderNoFilter
(
str
)
{
return
str
.
substring
(
0
,
30
)
}
},
created
()
{
...
...
src/views/dashboard/admin/index.vue
浏览文件 @
d98c5032
<
template
>
<div
class=
"dashboard-editor-container"
>
<github-corner></github-corner>
<github-corner
style=
"position: absolute; top: 0px; border: 0; right: 0;"
></github-corner>
<panel-group
@
handleSetLineChartData=
"handleSetLineChartData"
></panel-group>
...
...
@@ -30,10 +31,10 @@
<el-col
:xs=
"
{span: 24}" :sm="{span: 24}" :md="{span: 24}" :lg="{span: 12}" :xl="{span: 12}" style="padding-right:8px;margin-bottom:30px;">
<transaction-table></transaction-table>
</el-col>
<el-col
:xs=
"
{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span:
5
}" style="margin-bottom:30px;">
<el-col
:xs=
"
{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span:
6
}" style="margin-bottom:30px;">
<todo-list></todo-list>
</el-col>
<el-col
:xs=
"
{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span:
5}" style="margin-bottom:30px;"
>
<el-col
:xs=
"
{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span:
6}" style="margin-bottom:30px;"
>
<box-card></box-card>
</el-col>
</el-row>
...
...
@@ -41,6 +42,7 @@
</div>
</
template
>
<
script
>
import
GithubCorner
from
'
@/components/GithubCorner
'
import
PanelGroup
from
'
./components/PanelGroup
'
...
...
src/views/dashboard/editor/index.vue
浏览文件 @
d98c5032
...
...
@@ -4,10 +4,10 @@
<pan-thumb
style=
"float: left"
:image=
"avatar"
>
Your roles:
<span
class=
"pan-info-roles"
:key=
'item'
v-for=
"item in roles"
>
{{
item
}}
</span>
</pan-thumb>
<github-corner></github-corner>
<github-corner
style=
"position: absolute; top: 0px; border: 0; right: 0;"
></github-corner>
<div
class=
"info-container"
>
<span
class=
"display_name"
>
{{
name
}}
</span>
<span
style=
"font-size:20px;padding-top:20px;display:inline-block;"
>
editor : d
ashboard
</span>
<span
style=
"font-size:20px;padding-top:20px;display:inline-block;"
>
Editor's D
ashboard
</span>
</div>
</div>
<div>
...
...
src/views/errorPage/401.vue
浏览文件 @
d98c5032
...
...
@@ -57,6 +57,7 @@ export default {
.pan-back-btn
{
background
:
#008489
;
color
:
#fff
;
border
:
none
!
important
;
}
.pan-gif
{
margin
:
0
auto
;
...
...
src/views/errorPage/404.vue
浏览文件 @
d98c5032
<
template
>
<div
style=
"background:#f0f2f5;margin-top: -20px;height:100%;"
>
<div
class=
"wscn-http404"
>
<div
class=
"pic-404"
>
<img
class=
"pic-404__parent"
:src=
"img_404"
alt=
"404"
>
<img
class=
"pic-404__child left"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child mid"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child right"
:src=
"img_404_cloud"
alt=
"404"
>
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
OOPS!
</div>
<div
class=
"bullshit__info"
>
版权所有
<a
class=
'link-type'
href=
'https://wallstreetcn.com'
target=
'_blank'
>
华尔街见闻
</a>
<div
style=
"background:#f0f2f5;height:100%;"
>
<div
class=
"wscn-http404-container"
>
<div
class=
"wscn-http404"
>
<div
class=
"pic-404"
>
<img
class=
"pic-404__parent"
:src=
"img_404"
alt=
"404"
>
<img
class=
"pic-404__child left"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child mid"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child right"
:src=
"img_404_cloud"
alt=
"404"
>
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
OOPS!
</div>
<div
class=
"bullshit__info"
>
版权所有
<a
class=
'link-type'
href=
'https://wallstreetcn.com'
target=
'_blank'
>
华尔街见闻
</a>
</div>
<div
class=
"bullshit__headline"
>
{{
message
}}
</div>
<div
class=
"bullshit__info"
>
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
</div>
<a
href=
""
class=
"bullshit__return-home"
>
返回首页
</a>
</div>
<div
class=
"bullshit__headline"
>
{{
message
}}
</div>
<div
class=
"bullshit__info"
>
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
</div>
<a
href=
""
class=
"bullshit__return-home"
>
返回首页
</a>
</div>
</div>
</div>
</
template
>
<
script
>
import
img_404
from
'
@/assets/404_images/404.png
'
import
img_404_cloud
from
'
@/assets/404_images/404_cloud.png
'
...
...
@@ -34,24 +37,28 @@ export default {
},
computed
:
{
message
()
{
return
'
特朗普
说这个页面你不能进......
'
return
'
网管
说这个页面你不能进......
'
}
}
}
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.wscn-http404-container
{
transform
:
translate
(
-50%
,-
50%
);
position
:
absolute
;
top
:
40%
;
left
:
50%
;
}
.wscn-http404
{
position
:
relative
;
width
:
1200px
;
margin
:
20px
auto
60px
;
padding
:
0
100px
;
padding
:
0
50px
;
overflow
:
hidden
;
.pic-404
{
position
:
relative
;
float
:
left
;
width
:
600px
;
padding
:
150px
0
;
overflow
:
hidden
;
&
__parent
{
width
:
100%
;
...
...
@@ -163,7 +170,7 @@ export default {
position
:
relative
;
float
:
left
;
width
:
300px
;
padding
:
15
0px
0
;
padding
:
3
0px
0
;
overflow
:
hidden
;
&
__oops
{
font-size
:
32px
;
...
...
@@ -179,7 +186,8 @@ export default {
&
__headline
{
font-size
:
20px
;
line-height
:
24px
;
color
:
#1482f0
;
color
:
#222
;
font-weight
:
bold
;
opacity
:
0
;
margin-bottom
:
10px
;
animation-name
:
slideUp
;
...
...
src/views/layout/components/AppMain.vue
浏览文件 @
d98c5032
<
template
>
<section
class=
"app-main"
style=
"min-height: 100%"
>
<section
class=
"app-main"
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<keep-alive
:include=
"cachedViews"
>
<router-view
:key=
"key"
></router-view>
...
...
@@ -21,3 +21,15 @@ export default {
}
}
</
script
>
<
style
scoped
>
.app-main
{
position
:
absolute
;
top
:
84px
;
/* navbar + tags-view = 50 +34 */
left
:
0
;
right
:
0
;
bottom
:
0
;
margin
:
auto
;
}
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录