@yeeyoon/library 2.4.0 → 2.4.4

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.
@@ -56,7 +56,7 @@ const PlatformModal = (props) => {
56
56
  <Row gutter={16} style={{ padding: '10px' }}>
57
57
  {platforms.map((item, index) => {
58
58
  return (
59
- <Col span={8} key={index}>
59
+ <Col span={24 / platforms.length} key={index}>
60
60
  <Card key={index}>
61
61
  <div
62
62
  style={{
@@ -108,6 +108,7 @@ const ProductListMenu = (props) => {
108
108
  title="请选择平台"
109
109
  footer={null}
110
110
  onCancel={() => setPlatModal(false)}
111
+ width={700}
111
112
  >
112
113
  <PlatformModal platforms={platforms} tenantId={tenantId} />
113
114
  </Modal>
@@ -22,6 +22,7 @@
22
22
  border: 1px solid #f0f0f0;
23
23
  border-bottom-right-radius: 8px;
24
24
  border-bottom-left-radius: 8px;
25
+ padding-bottom: 40px;
25
26
  :global {
26
27
  .ant-pro-list-row-description {
27
28
  text-align: left;
@@ -29,16 +30,9 @@
29
30
  }
30
31
  }
31
32
  &__see-all {
32
- width: 100%;
33
- height: 50px;
34
- margin: 0;
35
- color: #fff;
36
- line-height: 50px;
37
- text-align: center;
38
- background-color: #4eaaeb;
39
- border-bottom-right-radius: 4px;
40
- border-bottom-left-radius: 4px;
41
- cursor: pointer;
33
+ position: absolute;
34
+ left: 0;
35
+ bottom: 0;
42
36
  }
43
37
  }
44
38
 
@@ -161,14 +161,14 @@ const RecentNotification = (props) => {
161
161
  },
162
162
  }}
163
163
  />
164
- <p
164
+ <Button
165
+ block
166
+ type="primary"
167
+ size="large"
165
168
  className={styles['notification-container__see-all']}
166
- onClick={() => {
167
- window.open(getMessageCenterRedirectUrl(), '_blank');
168
- }}
169
169
  >
170
170
  查看全部消息
171
- </p>
171
+ </Button>
172
172
  </div>
173
173
  )}
174
174
  </div>
package/lib/config/env.js CHANGED
@@ -1,4 +1,4 @@
1
- // const REACT_APP_ENV = REACT_APP_ENV || 'staging';
1
+ // const REACT_APP_ENV = REACT_APP_ENV || 'testing';
2
2
 
3
3
  const envApi = {
4
4
  // IAM
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "2.4.0",
3
+ "version": "2.4.4",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -12,8 +12,6 @@ export default function () {
12
12
  productName="profile"
13
13
  tenantId="053a033a063711ecb0c00c42a1ff8370"
14
14
  token="ZmI1YzU4NzEyOTdlNDM2MTg2YjI0N2IyZGQzOGI3NDg1NDE2MzI2MjU4NjMzNzY="
15
- avatar="https://demo-yeeyoon-fm.oss-cn-zhangjiakou.aliyuncs.com/userCenter/userAvatar/user_avatar2.png"
16
- userName="王甍"
17
15
  />
18
16
  {/* <TenantSelector
19
17
  tenantId="14bfb5d71d1011eca9820c42a1f6bf88"