Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
sage-front-framework
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
郁骅焌
sage-front-framework
Commits
70352c9a
提交
70352c9a
authored
5月 15, 2020
作者:
郁骅焌
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
整体样式修改
上级
7831604d
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
54 行增加
和
5 行删除
+54
-5
config.js
config/config.js
+1
-1
index.jsx
src/components/Common/Table/index.jsx
+0
-0
index.jsx
src/components/GlobalFooter/index.jsx
+12
-0
style.less
src/components/GlobalFooter/style.less
+11
-0
style.less
src/components/TabBar/style.less
+3
-0
global.less
src/global.less
+22
-3
BasicLayout.jsx
src/layouts/BasicLayout.jsx
+5
-1
没有找到文件。
config/config.js
浏览文件 @
70352c9a
...
@@ -71,7 +71,7 @@ export default defineConfig({
...
@@ -71,7 +71,7 @@ export default defineConfig({
routes
:
[
routes
:
[
{
{
path
:
'/system/role'
,
path
:
'/system/role'
,
name
:
'
role
'
,
name
:
'
角色管理
'
,
icon
:
'SolutionOutlined'
,
icon
:
'SolutionOutlined'
,
component
:
'./role'
,
component
:
'./role'
,
},
},
...
...
src/components/Common/Table/index.jsx
浏览文件 @
70352c9a
差异被折叠。
点击展开。
src/components/GlobalFooter/index.jsx
0 → 100644
浏览文件 @
70352c9a
import
React
from
'react'
;
import
'./style.less'
;
const
GlobalFooter
=
()
=>
{
return
(
<
div
className=
"sage-global-footer"
>
© 2020 江苏圣捷远创科技有限公司版权所有 ⋅ 苏ICP备17030519号
</
div
>
);
};
export
default
GlobalFooter
;
src/components/GlobalFooter/style.less
0 → 100644
浏览文件 @
70352c9a
.sage-global-footer {
position: fixed;
bottom: 0;
width: 100%;
height: 40px;
margin-left: -24px;
padding-left: 10px;
line-height: 40px;
background: #f0f2f5;
border-top: 1px solid #e7eaec;
}
src/components/TabBar/style.less
浏览文件 @
70352c9a
.sage-tabbar {
.sage-tabbar {
position: fixed;
z-index: 3;
display: flex;
display: flex;
width: calc(100% - 256px);
height: 40px;
height: 40px;
margin: -24px -24px -4px;
margin: -24px -24px -4px;
background: #fff;
background: #fff;
...
...
src/global.less
浏览文件 @
70352c9a
...
@@ -43,7 +43,28 @@ ol {
...
@@ -43,7 +43,28 @@ ol {
}
}
.ant-pro-basicLayout-content .ant-pro-page-header-wrap {
.ant-pro-basicLayout-content .ant-pro-page-header-wrap {
margin-top: 0px !important;
margin-top: 24px !important;
padding-bottom: 40px;
}
.ant-layout-header {
position: fixed;
top: 0;
width: calc(100% - 256px) !important;
}
.ant-pro-basicLayout-content {
position: absolute;
top: 64px;
width: calc(100% - 48px);
}
.ant-layout-footer {
display: none;
}
.ant-table-pagination-right {
margin-right: 10px !important;
}
}
// 公共样式
// 公共样式
...
@@ -53,8 +74,6 @@ ol {
...
@@ -53,8 +74,6 @@ ol {
// 新增组件样式
// 新增组件样式
@media (max-width: @screen-xs) {
@media (max-width: @screen-xs) {
.ant-table {
.ant-table {
width: 100%;
width: 100%;
...
...
src/layouts/BasicLayout.jsx
浏览文件 @
70352c9a
...
@@ -11,6 +11,7 @@ import { Result, Button } from 'antd';
...
@@ -11,6 +11,7 @@ import { Result, Button } from 'antd';
import
Authorized
from
'@/utils/Authorized'
;
import
Authorized
from
'@/utils/Authorized'
;
import
RightContent
from
'@/components/GlobalHeader/RightContent'
;
import
RightContent
from
'@/components/GlobalHeader/RightContent'
;
import
TabBar
from
'@/components/TabBar'
;
import
TabBar
from
'@/components/TabBar'
;
import
GlobalFooter
from
'@/components/GlobalFooter'
;
import
{
getAuthorityFromRouter
}
from
'@/utils/utils'
;
import
{
getAuthorityFromRouter
}
from
'@/utils/utils'
;
import
logo
from
'../assets/logo.svg'
;
import
logo
from
'../assets/logo.svg'
;
...
@@ -152,8 +153,11 @@ const BasicLayout = (props) => {
...
@@ -152,8 +153,11 @@ const BasicLayout = (props) => {
>
>
<
TabBar
ref=
{
tabBarRef
}
currentUser=
{
currentUser
}
/>
<
TabBar
ref=
{
tabBarRef
}
currentUser=
{
currentUser
}
/>
<
Authorized
authority=
{
authorized
.
authority
}
noMatch=
{
noMatch
}
>
<
Authorized
authority=
{
authorized
.
authority
}
noMatch=
{
noMatch
}
>
<
KeepAliveLayout
{
...
props
}
>
{
children
}
</
KeepAliveLayout
>
<
div
style=
{
{
position
:
'absolute'
,
top
:
0
,
bottom
:
0
,
left
:
0
,
right
:
0
}
}
>
<
KeepAliveLayout
{
...
props
}
>
{
children
}
</
KeepAliveLayout
>
</
div
>
</
Authorized
>
</
Authorized
>
<
GlobalFooter
/>
</
ProLayout
>
</
ProLayout
>
);
);
};
};
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论