Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_45598856
white-jotter
提交
ffdb126a
W
white-jotter
项目概览
qq_45598856
/
white-jotter
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
white-jotter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ffdb126a
编写于
4月 27, 2019
作者:
E
Evan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Create admin page.
上级
f39d63b0
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
25 addition
and
18 deletion
+25
-18
wj-vue/package-lock.json
wj-vue/package-lock.json
+3
-3
wj-vue/package.json
wj-vue/package.json
+1
-1
wj-vue/src/components/admin/AdminIndex.vue
wj-vue/src/components/admin/AdminIndex.vue
+4
-4
wj-vue/src/components/admin/AdminMenu.vue
wj-vue/src/components/admin/AdminMenu.vue
+5
-2
wj-vue/src/components/admin/Header.vue
wj-vue/src/components/admin/Header.vue
+12
-8
未找到文件。
wj-vue/package-lock.json
浏览文件 @
ffdb126a
...
...
@@ -3967,9 +3967,9 @@
"dev": true
},
"element-ui": {
"version": "2.
7.0
",
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.
7.0
.tgz",
"integrity": "sha512-
FalWzOmT/K4w4C/8tw2kGvzzQnRJ5MqEvSL5rEKNa081PFGIcUS9exyVpYrNPKF8ua/W6qaqrXPC6DQ8sNcmOQ
==",
"version": "2.
8.2
",
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.
8.2
.tgz",
"integrity": "sha512-
LABKHKGUyewFNvpf9BQLecB659Wq0XYvyP1tBveZ4RWpdlPSylDfGW/RLvDYU7zuCBoRasdZAz7ryjOwq1lLNg
==",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
...
...
wj-vue/package.json
浏览文件 @
ffdb126a
...
...
@@ -15,7 +15,7 @@
},
"dependencies"
:
{
"axios"
:
"^0.18.0"
,
"element-ui"
:
"^2.
7.0
"
,
"element-ui"
:
"^2.
8.2
"
,
"mavon-editor"
:
"^2.6.17"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.0.1"
,
...
...
wj-vue/src/components/admin/AdminIndex.vue
浏览文件 @
ffdb126a
<
template
>
<div>
<el-row>
<Header></Header>
<el-row
style=
"z-index: 1;"
>
<Header
style=
"position: absolute;width: 100%;"
></Header>
</el-row>
<el-row>
<el-col
:span=
"4"
>
<el-row
style=
"z-index: 0;"
>
<el-col
style=
"width: 250px"
>
<admin-menu></admin-menu>
</el-col>
</el-row>
...
...
wj-vue/src/components/admin/AdminMenu.vue
浏览文件 @
ffdb126a
...
...
@@ -8,7 +8,8 @@
background-color=
"#545c64"
text-color=
"#fff"
active-text-color=
"#ffd04b"
>
<el-menu-item
v-for=
"(item,i) in navList"
:key=
"i"
:index=
"item.name"
>
<div
style=
"height: 80px;"
></div>
<el-menu-item
v-for=
"(item,i) in navList"
:key=
"i"
:index=
"item.name"
style=
"font-size: 18px"
>
<i
:class=
"item.icon"
></i>
{{
item
.
navItem
}}
</el-menu-item>
...
...
@@ -35,6 +36,8 @@
<
style
scoped
>
.el-menu-admin
{
height
:
1000px
;
height
:
1200px
;
font-size
:
30px
;
border-radius
:
5px
;
}
</
style
>
wj-vue/src/components/admin/Header.vue
浏览文件 @
ffdb126a
<
template
>
<el-card
class=
"admin-header"
>
<a
href=
"/index"
>
<img
src=
"../../assets/img/icon/icon2.png"
alt=
""
width=
"50px"
style=
"float: left;"
>
</a>
</el-card>
<el-card
class=
"admin-header"
>
<a
href=
"/index"
>
<img
src=
"../../assets/img/icon/icon2.png"
alt=
""
width=
"55px"
style=
"float: left;margin-top: -5px;"
>
</a>
<span
style=
"font-size: 32px;font-weight: bold;position:absolute;left: 100px"
>
白 卷
</span>
<i
class=
"el-icon-s-unfold"
style=
"font-size: 40px;float: right"
></i>
</el-card>
</
template
>
<
script
>
export
default
{
name
:
'
Header
'
}
export
default
{
name
:
'
Header
'
}
</
script
>
<
style
scoped
>
.admin-header
{
height
:
80px
;
opacity
:
0.85
;
line-height
:
40px
;
}
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录