Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
兵
兵役_吉林工业
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
麦嘉得
兵役_吉林工业
提交
3fd9a846
提交
3fd9a846
编写于
7月 13, 2018
作者:
Pan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
keep in sync with vue-element-admin
上级
dd37f247
变更
5
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
32 行增加
和
10 行删除
+32
-10
sidebar.scss
src/styles/sidebar.scss
+1
-0
404.vue
src/views/404.vue
+16
-9
Layout.vue
src/views/layout/Layout.vue
+5
-0
AppMain.vue
src/views/layout/components/AppMain.vue
+9
-0
index.vue
src/views/table/index.vue
+1
-1
未找到文件。
src/styles/sidebar.scss
浏览文件 @
3fd9a846
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
min-height
:
100%
;
min-height
:
100%
;
transition
:
margin-left
.28s
;
transition
:
margin-left
.28s
;
margin-left
:
180px
;
margin-left
:
180px
;
position
:
relative
;
}
}
// 侧边栏
// 侧边栏
.sidebar-container
{
.sidebar-container
{
...
...
src/views/404.vue
浏览文件 @
3fd9a846
<
template
>
<
template
>
<div
style=
"background:#f0f2f5;margin-top: -20px;
"
>
<div
class=
"wscn-http404-container
"
>
<div
class=
"wscn-http404"
>
<div
class=
"wscn-http404"
>
<div
class=
"pic-404"
>
<div
class=
"pic-404"
>
<img
class=
"pic-404__parent"
:src=
"img_404"
alt=
"404"
>
<img
class=
"pic-404__parent"
:src=
"img_404"
alt=
"404"
>
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
</div>
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
OOPS!
</div>
<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__info"
>
版权所有
<a
class=
'link-type'
href=
'https://wallstreetcn.com'
target=
'_blank'
>
华尔街见闻
</a>
</div>
<div
class=
"bullshit__headline"
>
{{
message
}}
</div>
<div
class=
"bullshit__headline"
>
{{
message
}}
</div>
<div
class=
"bullshit__info"
>
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
</div>
<div
class=
"bullshit__info"
>
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
</div>
<a
href=
""
class=
"bullshit__return-home"
>
返回首页
</a>
<a
href=
""
class=
"bullshit__return-home"
>
返回首页
</a>
...
@@ -23,6 +25,7 @@ import img_404 from '@/assets/404_images/404.png'
...
@@ -23,6 +25,7 @@ import img_404 from '@/assets/404_images/404.png'
import
img_404_cloud
from
'
@/assets/404_images/404_cloud.png
'
import
img_404_cloud
from
'
@/assets/404_images/404_cloud.png
'
export
default
{
export
default
{
name
:
'
page404
'
,
data
()
{
data
()
{
return
{
return
{
img_404
,
img_404
,
...
@@ -31,24 +34,28 @@ export default {
...
@@ -31,24 +34,28 @@ export default {
},
},
computed
:
{
computed
:
{
message
()
{
message
()
{
return
'
特朗普
说这个页面你不能进......
'
return
'
网管
说这个页面你不能进......
'
}
}
}
}
}
}
</
script
>
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.wscn-http404-container
{
transform
:
translate
(
-50%
,-
50%
);
position
:
absolute
;
top
:
40%
;
left
:
50%
;
}
.wscn-http404
{
.wscn-http404
{
position
:
relative
;
position
:
relative
;
width
:
1200px
;
width
:
1200px
;
margin
:
20px
auto
60px
;
padding
:
0
50px
;
padding
:
0
100px
;
overflow
:
hidden
;
overflow
:
hidden
;
.pic-404
{
.pic-404
{
position
:
relative
;
position
:
relative
;
float
:
left
;
float
:
left
;
width
:
600px
;
width
:
600px
;
padding
:
150px
0
;
overflow
:
hidden
;
overflow
:
hidden
;
&
__parent
{
&
__parent
{
width
:
100%
;
width
:
100%
;
...
@@ -160,7 +167,7 @@ export default {
...
@@ -160,7 +167,7 @@ export default {
position
:
relative
;
position
:
relative
;
float
:
left
;
float
:
left
;
width
:
300px
;
width
:
300px
;
padding
:
15
0px
0
;
padding
:
3
0px
0
;
overflow
:
hidden
;
overflow
:
hidden
;
&
__oops
{
&
__oops
{
font-size
:
32px
;
font-size
:
32px
;
...
@@ -176,7 +183,8 @@ export default {
...
@@ -176,7 +183,8 @@ export default {
&
__headline
{
&
__headline
{
font-size
:
20px
;
font-size
:
20px
;
line-height
:
24px
;
line-height
:
24px
;
color
:
#1482f0
;
color
:
#222
;
font-weight
:
bold
;
opacity
:
0
;
opacity
:
0
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
animation-name
:
slideUp
;
animation-name
:
slideUp
;
...
@@ -225,5 +233,4 @@ export default {
...
@@ -225,5 +233,4 @@ export default {
}
}
}
}
}
}
</
style
>
</
style
>
src/views/layout/Layout.vue
浏览文件 @
3fd9a846
...
@@ -31,6 +31,7 @@ export default {
...
@@ -31,6 +31,7 @@ export default {
classObj
()
{
classObj
()
{
return
{
return
{
hideSidebar
:
!
this
.
sidebar
.
opened
,
hideSidebar
:
!
this
.
sidebar
.
opened
,
openSidebar
:
this
.
sidebar
.
opened
,
withoutAnimation
:
this
.
sidebar
.
withoutAnimation
,
withoutAnimation
:
this
.
sidebar
.
withoutAnimation
,
mobile
:
this
.
device
===
'
mobile
'
mobile
:
this
.
device
===
'
mobile
'
}
}
...
@@ -51,6 +52,10 @@ export default {
...
@@ -51,6 +52,10 @@ export default {
position
:
relative
;
position
:
relative
;
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
&
.mobile.openSidebar
{
position
:
fixed
;
top
:
0
;
}
}
}
.drawer-bg
{
.drawer-bg
{
background
:
#000
;
background
:
#000
;
...
...
src/views/layout/components/AppMain.vue
浏览文件 @
3fd9a846
...
@@ -17,3 +17,12 @@ export default {
...
@@ -17,3 +17,12 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
.app-main
{
/*50 = navbar */
min-height
:
calc
(
100vh
-
50px
);
position
:
relative
;
overflow
:
hidden
;
}
</
style
>
src/views/table/index.vue
浏览文件 @
3fd9a846
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-table
:data=
"list"
v-loading
.body
=
"listLoading"
element-loading-text=
"Loading"
border
fit
highlight-current-row
>
<el-table
:data=
"list"
v-loading=
"listLoading"
element-loading-text=
"Loading"
border
fit
highlight-current-row
>
<el-table-column
align=
"center"
label=
'ID'
width=
"95"
>
<el-table-column
align=
"center"
label=
'ID'
width=
"95"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
}}
{{
scope
.
$index
}}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录