@lambo-design/shared 1.0.0-beta.298 → 1.0.0-beta.299

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.
@@ -86,8 +86,11 @@
86
86
  }
87
87
  }
88
88
 
89
- .ivu-tree-title-selected .title-status.blue {
90
- color: var(--ind-white);
89
+ // 所有的状态,选中以后都是白色字体,绿色、红色在蓝色背景下字体识别困难
90
+ .ivu-tree-title-selected .title-status
91
+ // .blue
92
+ {
93
+ color: var(--ind-white) !important;
91
94
  }
92
95
 
93
96
  .emp-tree-box {
@@ -251,6 +251,9 @@ body > .ivu-tooltip-popper {
251
251
 
252
252
  .ivu-tabs-bar {
253
253
  flex-shrink: 0;
254
+ margin-bottom: 0px !important;
255
+ background-color: #f5f7f9;
256
+ border-bottom: 1px solid #bebebe;
254
257
  }
255
258
 
256
259
  .ivu-tabs-content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/shared",
3
- "version": "1.0.0-beta.298",
3
+ "version": "1.0.0-beta.299",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -132,6 +132,7 @@ let enUSData = {
132
132
  'input-phone': 'Please enter your phone number',
133
133
  'new-pas': 'New login password',
134
134
  'confirm-new-pas': 'Confirm new login password',
135
+ 'submit': 'Submit',
135
136
  'reset-success': 'Reset successful!',
136
137
  'redirect-later': 's automatically return to the login page',
137
138
  'redirect': 'ֱDirect jump',
@@ -132,6 +132,7 @@ let zhCNData = {
132
132
  'input-phone': '请输入手机号码',
133
133
  'new-pas': '新登录密码',
134
134
  'confirm-new-pas': '确认新登录密码',
135
+ 'submit': '提交',
135
136
  'reset-success': '重置成功!',
136
137
  'redirect-later': '秒后自动回到登录页',
137
138
  'redirect': '直接跳转',
package/utils/style.js CHANGED
@@ -1,24 +1,24 @@
1
- const SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g
2
- const MOZ_HACK_REGEXP = /^moz([A-Z])/
3
-
4
- function camelCase(name) {
5
- return name
6
- .replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {
7
- return offset ? letter.toUpperCase() : letter
8
- })
9
- .replace(MOZ_HACK_REGEXP, 'Moz$1')
10
- }
11
- // getStyle
12
- export function getStyle(element, styleName) {
13
- if (!element || !styleName) return null
14
- styleName = camelCase(styleName)
15
- if (styleName === 'float') {
16
- styleName = 'cssFloat'
17
- }
18
- try {
19
- const computed = document.defaultView.getComputedStyle(element, '')
20
- return element.style[styleName] || computed ? computed[styleName] : null
21
- } catch (e) {
22
- return element.style[styleName]
23
- }
24
- }
1
+ const SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g
2
+ const MOZ_HACK_REGEXP = /^moz([A-Z])/
3
+
4
+ function camelCase(name) {
5
+ return name
6
+ .replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {
7
+ return offset ? letter.toUpperCase() : letter
8
+ })
9
+ .replace(MOZ_HACK_REGEXP, 'Moz$1')
10
+ }
11
+ // getStyle
12
+ export function getStyle(element, styleName) {
13
+ if (!element || !styleName) return null
14
+ styleName = camelCase(styleName)
15
+ if (styleName === 'float') {
16
+ styleName = 'cssFloat'
17
+ }
18
+ try {
19
+ const computed = document.defaultView.getComputedStyle(element, '')
20
+ return element.style[styleName] || computed ? computed[styleName] : null
21
+ } catch (e) {
22
+ return element.style[styleName]
23
+ }
24
+ }
@@ -1,7 +1,7 @@
1
- let transferIndex = 1000
2
-
3
- function transferIncrease() {
4
- transferIndex++
5
- }
6
-
7
- export { transferIndex, transferIncrease }
1
+ let transferIndex = 1000
2
+
3
+ function transferIncrease() {
4
+ transferIndex++
5
+ }
6
+
7
+ export { transferIndex, transferIncrease }