Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
4700f3e8
Commit
4700f3e8
authored
Aug 02, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改logo名称
parent
a02c476b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
3 deletions
+39
-3
defaultSettings.js
config/defaultSettings.js
+1
-1
logo.png
src/assets/logo.png
+0
-0
BasicLayout.jsx
src/layouts/BasicLayout.jsx
+14
-1
BasicLayout.less
src/layouts/BasicLayout.less
+23
-0
document.ejs
src/pages/document.ejs
+1
-1
No files found.
config/defaultSettings.js
View file @
4700f3e8
...
...
@@ -10,7 +10,7 @@ export default {
menu
:
{
locale
:
true
,
},
title
:
'
商户管理后台
'
,
// title: '量星球商户管理系统
',
pwa
:
false
,
iconfontUrl
:
''
,
};
src/assets/logo.png
0 → 100644
View file @
4700f3e8
262 KB
src/layouts/BasicLayout.jsx
View file @
4700f3e8
...
...
@@ -13,7 +13,7 @@ import { Result, Button, Layout, Menu } from 'antd';
import
Authorized
from
'
@/utils/Authorized
'
;
import
RightContent
from
'
@/components/GlobalHeader/RightContent
'
;
import
{
getAuthorityFromRouter
}
from
'
@/utils/utils
'
;
import
logo
from
'
../assets/
favicon
.png
'
;
import
logo
from
'
../assets/
logo
.png
'
;
import
style
from
'
./BasicLayout.less
'
;
const
{
Sider
}
=
Layout
;
...
...
@@ -68,12 +68,14 @@ const BasicLayout = props => {
*/
const
handleMenuCollapse
=
payload
=>
{
console
.
log
(
'
payload :>>
'
,
payload
);
if
(
dispatch
)
{
dispatch
({
type
:
'
global/changeLayoutCollapsed
'
,
payload
,
});
}
setSiderCollapsed
(
payload
);
};
// get children authority
const
authorized
=
getAuthorityFromRouter
(
props
.
route
.
routes
,
location
.
pathname
||
'
/
'
);
...
...
@@ -151,6 +153,17 @@ const BasicLayout = props => {
menuDataRender=
{
()
=>
menuData
}
rightContentRender=
{
rightProps
=>
<
RightContent
{
...
rightProps
}
/>
}
pageTitleRender=
{
()
=>
''
}
menuHeaderRender=
{
()
=>
(
<
div
className=
{
style
[
'
custom-title-box
'
]
}
>
<
div
className=
{
style
[
'
custom-title-box-logo
'
]
}
>
<
div
>
<
img
className=
{
style
[
'
custom-title-box-logoImg
'
]
}
alt=
"量星球"
src=
{
logo
}
/>
</
div
>
{
!
siderCollapsed
&&
<
div
className=
{
style
[
'
custom-title-box-logoName
'
]
}
>
量星球
</
div
>
}
</
div
>
{
!
siderCollapsed
&&
<
div
className=
{
style
[
'
custom-title-box-title
'
]
}
>
商户管理系统
</
div
>
}
</
div
>
)
}
{
...
props
}
{
...
settings
}
>
...
...
src/layouts/BasicLayout.less
View file @
4700f3e8
.layout {
height: 100%;
}
.custom-title-box {
display: flex;
flex-wrap: wrap;
width: 208px;
padding-top: 14px;
color: #fff;
font-size: 22px;
&-logo {
display: flex;
}
&-title {
box-sizing: border-box;
width: 208px;
padding-left: 6px;
}
&-logoName {
margin-left: 5px;
}
&-logoImg {
display: block;
height: 32px;
}
}
:global {
#micro {
...
...
src/pages/document.ejs
View file @
4700f3e8
...
...
@@ -7,7 +7,7 @@
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<title>
商户管理后台
</title>
<title>
量星球商户管理系统
</title>
<link
rel=
"icon"
href=
"/favicon.png"
type=
"image/x-icon"
/>
</head>
<body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment