Commit deba43c2 by chenshu

fix:优化样式

parent bde60b8e
...@@ -105,7 +105,12 @@ export default class CollegeManagePage extends React.Component { ...@@ -105,7 +105,12 @@ export default class CollegeManagePage extends React.Component {
handleLogout() { handleLogout() {
BaseService.logout({}).then((res) => { 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;
}); });
} }
......
...@@ -184,7 +184,13 @@ function Header(props) { ...@@ -184,7 +184,13 @@ function Header(props) {
function handleLogout() { function handleLogout() {
BaseService.logout({}).then((res) => { 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;
}); });
} }
......
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
max-width: 230px; max-width: 280px;
} }
.icon { .icon {
font-size: 14px; font-size: 14px;
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
.select-college { .select-college {
position: absolute; position: absolute;
top: 50px; top: 50px;
left: 36px; left: 54px;
background: #fff; background: #fff;
width: 282px; width: 282px;
padding: 14px; padding: 14px;
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
} }
.ant-radio-wrapper { .ant-radio-wrapper {
display: flex; display: flex;
width: calc(~'100% - 28px'); width: calc(~'100% - 8px');
margin: 8px 0; margin: 8px 0;
.ant-radio { .ant-radio {
float: left; float: left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment