@titaui/pc 1.9.26 → 1.9.27

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.
@@ -9,7 +9,9 @@
9
9
  .titaui-rect-btn--small {
10
10
  border-radius: 14px;
11
11
  height: 28px;
12
- line-height: 26px;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
13
15
  min-width: 64px;
14
16
  font-size: 13px;
15
17
  padding: 0 12px;
@@ -18,7 +20,9 @@
18
20
  .titaui-rect-btn--normal {
19
21
  border-radius: 16px;
20
22
  height: 32px;
21
- line-height: 30px;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
22
26
  min-width: 90px;
23
27
  padding: 0 12px;
24
28
  }
@@ -26,7 +30,9 @@
26
30
  .titaui-rect-btn--big {
27
31
  border-radius: 18px;
28
32
  height: 36px;
29
- line-height: 34px;
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: center;
30
36
  min-width: 90px;
31
37
  padding: 0 16px;
32
38
  }
@@ -86,18 +92,6 @@
86
92
  user-select: none;
87
93
  }
88
94
 
89
- .titaui-rect-btn--primary.titaui-rect-btn--small {
90
- line-height: 28px;
91
- }
92
-
93
- .titaui-rect-btn--primary.titaui-rect-btn--normal {
94
- line-height: 32px;
95
- }
96
-
97
- .titaui-rect-btn--primary.titaui-rect-btn--big {
98
- line-height: 36px;
99
- }
100
-
101
95
  .titaui-rect-btn--primary.titaui-rect-btn--disabled {
102
96
  background: #93BCFF;
103
97
  opacity: 1;
@@ -60,6 +60,7 @@
60
60
  }
61
61
 
62
62
  .persel-selector__input > input {
63
+ color: #3f4755;
63
64
  border: none;
64
65
  height: 22px;
65
66
  width: calc(100% - 20px);
@@ -137,7 +137,7 @@ var ChangePhoto = function ChangePhoto(props) {
137
137
 
138
138
  var handleSuccessSave = function handleSuccessSave(resp) {
139
139
  if (resp.Code === 1) {
140
- _toast["default"].Success('保存成功', {
140
+ _toast["default"].Success((0, _getLocale.getLocale)('Pro_page_Plan_Saved'), {
141
141
  style: {
142
142
  position: "fixed",
143
143
  top: " 36px",
@@ -29,5 +29,8 @@
29
29
  }
30
30
 
31
31
  .empty-tip {
32
+ font-size: 14px;
33
+ margin: 120px auto;
32
34
  color: #6F7886;
35
+ text-align: center;
33
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.9.26",
3
+ "version": "1.9.27",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "src/index.js",
@@ -8,7 +8,9 @@
8
8
  &--small {
9
9
  border-radius: 14px;
10
10
  height: 28px;
11
- line-height: 26px;
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
12
14
  min-width: 64px;
13
15
  font-size: 13px;
14
16
  padding: 0 12px;
@@ -17,7 +19,9 @@
17
19
  &--normal {
18
20
  border-radius: 16px;
19
21
  height: 32px;
20
- line-height: 30px;
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: center;
21
25
  min-width: 90px;
22
26
  padding: 0 12px;
23
27
  }
@@ -25,7 +29,9 @@
25
29
  &--big {
26
30
  border-radius: 18px;
27
31
  height: 36px;
28
- line-height: 34px;
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: center;
29
35
  min-width: 90px;
30
36
  padding: 0 16px;
31
37
  }
@@ -86,18 +92,6 @@
86
92
  }
87
93
  }
88
94
 
89
- .titaui-rect-btn--primary.titaui-rect-btn--small {
90
- line-height: 28px;
91
- }
92
-
93
- .titaui-rect-btn--primary.titaui-rect-btn--normal {
94
- line-height: 32px;
95
- }
96
-
97
- .titaui-rect-btn--primary.titaui-rect-btn--big {
98
- line-height: 36px;
99
- }
100
-
101
95
  .titaui-rect-btn--primary.titaui-rect-btn--disabled {
102
96
  background: #93BCFF;
103
97
  opacity: 1;
@@ -59,6 +59,7 @@
59
59
  width: calc(100% - 20px);
60
60
 
61
61
  & > input {
62
+ color: #3f4755;
62
63
  border: none;
63
64
  height: 22px;
64
65
  width: calc(100% - 20px);
@@ -77,7 +77,7 @@ const ChangePhoto = (props: Props) => {
77
77
 
78
78
  const handleSuccessSave = (resp) => {
79
79
  if (resp.Code === 1) {
80
- Toast.Success('保存成功', {
80
+ Toast.Success(getLocale('Pro_page_Plan_Saved'), {
81
81
  style: { position: "fixed", top: " 36px", left: "50%" },
82
82
  });
83
83
  onCancel();
@@ -29,5 +29,8 @@
29
29
  }
30
30
 
31
31
  .empty-tip {
32
- color: #6F7886;
32
+ font-size: 14px;
33
+ margin: 120px auto;
34
+ color:#6F7886;
35
+ text-align: center;
33
36
  }