Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zendata
提交
7a273dae
Z
zendata
项目概览
易企天创
/
zendata
11 个月 前同步成功
通知
17
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7a273dae
编写于
11月 06, 2020
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
layout
上级
3877f8c3
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
157 addition
and
13 deletion
+157
-13
ui/src/App.vue
ui/src/App.vue
+0
-4
ui/src/layout/Footer.vue
ui/src/layout/Footer.vue
+50
-0
ui/src/layout/Header.vue
ui/src/layout/Header.vue
+57
-0
ui/src/layout/MainLayout.less
ui/src/layout/MainLayout.less
+10
-2
ui/src/layout/MainLayout.vue
ui/src/layout/MainLayout.vue
+40
-5
ui/src/views/test/Test.vue
ui/src/views/test/Test.vue
+0
-2
未找到文件。
ui/src/App.vue
浏览文件 @
7a273dae
...
...
@@ -29,11 +29,7 @@ export default {
<
style
>
#app
{
font-family
:
Avenir
,
Helvetica
,
Arial
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
text-align
:
center
;
color
:
#2c3e50
;
margin-top
:
60px
;
}
</
style
>
ui/src/layout/Footer.vue
0 → 100644
浏览文件 @
7a273dae
<
template
>
<div
class=
"footer"
>
<span
class=
"copyright"
>
© 2019- 2020
<a
href=
"http://www.easycorp.cn"
target=
"_blank"
>
易企天创
</a>
</span>
<span
class=
"icp-info"
>
<a
href=
"http://beian.miit.gov.cn/"
class=
"common"
target=
"_blank"
>
鲁ICP备18054969号-14
</a>
</span>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
Footer
'
,
components
:
{
},
data
()
{
return
{
}
},
computed
:
{
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.footer {
height: 38px;
line-height: 38px;
text-align: center;
font-family: 'WenQuanYi Micro Hei';
span {
display: inline-block;
margin: 0 8px;
}
.icp-info {
a {
font-size: 12px;
}
}
}
</
style
>
ui/src/layout/Header.vue
0 → 100644
浏览文件 @
7a273dae
<
template
>
<div
class=
"header"
>
<h1
class=
"left"
>
<a
href=
"https://www.zendata.cn"
target=
"_blank"
>
zd.im
</a>
</h1>
<div
class=
"center"
></div>
<div
class=
"right"
>
<a
href=
"https://www.zendata.cn/book/zendata/"
target=
"_blank"
>
帮助
</a>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
Header
'
,
components
:
{
},
data
()
{
return
{
}
},
computed
:
{
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.header {
display: flex;
height: 48px;
line-height: 48px;
a {
color: #fff;
}
.left {
margin: 0 15px;
width: 100px;
color: #fff;
}
.center {
flex: 1;
}
.right {
margin: 0 15px;
width: 100px;
text-align: right;
}
}
</
style
>
ui/src/layout/MainLayout.less
浏览文件 @
7a273dae
@import "~ant-design-vue/es/style/themes/default.less";
.header {
color: red;
#app, body, .main {
height: 100%;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, 'PingFang SC', 'Source Han Sans CN', 'Source Han Sans', 'Source Han Serif', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft YaHei', sans-serif;
}
a.common {
color: rgba(0, 0, 0, 0.65) !important;
}
ui/src/layout/MainLayout.vue
浏览文件 @
7a273dae
<
template
>
<div>
<div
class=
"header"
>
HEADER
</div>
<router-view></router-view>
<div>
FOOTER
</div>
<div
class=
"main"
>
<div
class=
"header-container"
>
<Header></Header>
</div>
<div
class=
"content-container"
>
<router-view></router-view>
</div>
<div
class=
"footer-container"
>
<Footer></Footer>
</div>
</div>
</
template
>
<
script
>
import
Header
from
"
./Header
"
;
import
Footer
from
"
./Footer
"
;
export
default
{
name
:
'
MainLayout
'
,
components
:
{
Header
,
Footer
},
data
()
{
return
{
...
...
@@ -26,6 +36,31 @@ export default {
}
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
>
@import './MainLayout.less';
</
style
>
<
style
lang=
"less"
scoped
>
.main {
display:flex;
flex-flow: column;
height: 100%;
.header-container {
height: 50px;
color: #fff;
background-color: #1183fb;
border-bottom: 1px solid #e9f2fb;
}
.content-container {
flex: 1;
display:flex;
padding: 10px;
background: #fff;
}
.footer-container {
height: 40px;
background: #fff;
border-top: 1px solid #eff1f7;
}
}
</
style
>
ui/src/views/test/Test.vue
浏览文件 @
7a273dae
...
...
@@ -30,8 +30,6 @@ export default {
// this.defs = res
// })
console
.
log
(
"
========
"
)
const
def
=
{
name
:
"
myDef
"
}
saveDef
(
def
).
then
(
res
=>
{
console
.
log
(
'
saveDef
'
,
res
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录