@yeeyoon/library 2.2.7 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -252,7 +252,7 @@ const Header = (props) => {
252
252
  <Notification
253
253
  customStyles={{
254
254
  icon: { height: '62px', display: 'flex' },
255
- list: { top: '44px' },
255
+ list: { top: '40px' },
256
256
  }}
257
257
  userInfo={systemUserInfo}
258
258
  />
@@ -49,9 +49,9 @@ body {
49
49
  .ant-layout {
50
50
  background: transparent !important;
51
51
  }
52
- .ant-pro-basicLayout-content {
53
- margin: 0 !important;
54
- }
52
+ // .ant-pro-basicLayout-content {
53
+ // margin: 0 !important;
54
+ // }
55
55
  .ant-pro-table-list-toolbar-container {
56
56
  padding: 0 !important;
57
57
  }
@@ -12,10 +12,12 @@ const PageLoading = () => {
12
12
  return (
13
13
  <div
14
14
  style={{
15
- position: 'fixed',
16
- top: '50%',
17
- left: '50%',
18
- transform: 'translateX(-50%)',
15
+ display: 'flex',
16
+ alignItems: 'center',
17
+ justifyContent: 'center',
18
+ flexDirection: 'column',
19
+ width: '100%',
20
+ height: '100%',
19
21
  }}
20
22
  >
21
23
  <Spin size="large" indicator={LoadingIcon} />
package/lib/config/env.js CHANGED
@@ -1,11 +1,11 @@
1
- const REACT_APP_ENV = REACT_APP_ENV || 'testing';
1
+ // const REACT_APP_ENV = REACT_APP_ENV || 'staging';
2
2
 
3
3
  const envApi = {
4
4
  // IAM
5
5
  iam: {
6
6
  testing: 'testing-iam',
7
7
  demo: 'login',
8
- staging: 'iam',
8
+ staging: 'staging-iam',
9
9
  prod: 'iam',
10
10
  },
11
11
 
@@ -2,7 +2,7 @@
2
2
  @import '~antd/dist/antd.less';
3
3
 
4
4
  :global {
5
- .ant-pro-basicLayout {
5
+ // .ant-pro-basicLayout {
6
6
  .ant-layout-header {
7
7
  &:first-child {
8
8
  display: none;
@@ -27,7 +27,15 @@
27
27
  text-align: left;
28
28
  }
29
29
  }
30
- }
30
+ // }
31
+ .project-profile {
32
+ .ant-layout-header {
33
+ display: block !important;
34
+ }
35
+ .ant-pro-basicLayout-content {
36
+ margin: 0 24px !important;
37
+ }
38
+ }
31
39
  }
32
40
 
33
41
  body {
@@ -742,7 +750,7 @@ body {
742
750
  }
743
751
  .ant-menu-item-selected {
744
752
  color: @white;
745
- background: linear-gradient(46.62deg, #7367f0 0%, #9e95f5 93.64%);
753
+ background: linear-gradient(46.62deg, @primary-color 0%, @primary-color-gradient 93.64%);
746
754
  &:hover {
747
755
  color: @white !important;
748
756
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "2.2.7",
3
+ "version": "2.3.1",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -8,19 +8,19 @@ import PageLoading from '../../lib/components/PageLoading/';
8
8
  export default function () {
9
9
  return (
10
10
  <>
11
- {/* <Header
11
+ <Header
12
12
  productName="profile"
13
13
  tenantId="053a033a063711ecb0c00c42a1ff8370"
14
14
  token="ZmI1YzU4NzEyOTdlNDM2MTg2YjI0N2IyZGQzOGI3NDg1NDE2MzI2MjU4NjMzNzY="
15
15
  avatar="https://demo-yeeyoon-fm.oss-cn-zhangjiakou.aliyuncs.com/userCenter/userAvatar/user_avatar2.png"
16
16
  userName="王甍"
17
- /> */}
17
+ />
18
18
  {/* <TenantSelector
19
19
  tenantId="14bfb5d71d1011eca9820c42a1f6bf88"
20
20
  tenantIdChangeCb={(id) => console.log(id)}
21
21
  /> */}
22
22
  {/* <CustomDefaultFooter /> */}
23
- <PageLoading />
23
+ {/* <PageLoading /> */}
24
24
  </>
25
25
  );
26
26
  }