Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
deba43c2
Commit
deba43c2
authored
May 10, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:优化样式
parent
bde60b8e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
src/modules/root/CollegeManagePage.jsx
+6
-1
src/modules/root/Header.jsx
+7
-1
src/modules/root/Header.less
+3
-3
No files found.
src/modules/root/CollegeManagePage.jsx
View file @
deba43c2
...
...
@@ -105,7 +105,12 @@ export default class CollegeManagePage extends React.Component {
handleLogout
()
{
BaseService
.
logout
({}).
then
((
res
)
=>
{
window
.
RCHistory
.
push
(
'/login'
);
User
.
removeUserId
();
User
.
removeToken
();
User
.
removeEnterpriseId
();
User
.
clearUserInfo
();
const
htmlUrl
=
`
${
LIVE_SHARE
}
store/index?id=
${
User
.
getCustomerStoreId
()
||
User
.
getStoreId
()}
&userId=
${
User
.
getUserId
()}
&from=work_weixin`
;
window
.
location
.
href
=
htmlUrl
;
});
}
...
...
src/modules/root/Header.jsx
View file @
deba43c2
...
...
@@ -184,7 +184,13 @@ function Header(props) {
function
handleLogout
()
{
BaseService
.
logout
({}).
then
((
res
)
=>
{
window
.
RCHistory
.
push
(
'/login'
);
User
.
removeUserId
();
User
.
removeToken
();
User
.
removeEnterpriseId
();
User
.
clearUserInfo
();
const
url
=
`
${
LIVE_SHARE
}
store/index?id=
${
User
.
getCustomerStoreId
()
||
User
.
getStoreId
()}
&userId=
${
User
.
getUserId
()}
&from=work_weixin`
;
window
.
location
.
href
=
url
;
});
}
...
...
src/modules/root/Header.less
View file @
deba43c2
...
...
@@ -197,7 +197,7 @@
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: 2
3
0px;
max-width: 2
8
0px;
}
.icon {
font-size: 14px;
...
...
@@ -211,7 +211,7 @@
.select-college {
position: absolute;
top: 50px;
left:
36
px;
left:
54
px;
background: #fff;
width: 282px;
padding: 14px;
...
...
@@ -236,7 +236,7 @@
}
.ant-radio-wrapper {
display: flex;
width: calc(~'100% -
2
8px');
width: calc(~'100% - 8px');
margin: 8px 0;
.ant-radio {
float: left;
...
...
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