easy3wui 2.0.7 → 2.0.10
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.
- package/assets/index.css +62 -0
- package/assets/mButton.css +4 -0
- package/assets/mGlobalFooter.css +3 -0
- package/assets/mInsideLayout.css +31 -0
- package/assets/mSpin.css +15 -0
- package/assets/mUserLayout.css +9 -0
- package/lib/Easy3wMSpin/index.js +13 -11
- package/lib/Easy3wMSpin/index.less +1 -1
- package/package.json +1 -1
package/assets/index.css
CHANGED
|
@@ -1452,3 +1452,65 @@ s {
|
|
|
1452
1452
|
.e3wResult .e3wResultActions e3wResultButton:not(:last-child) {
|
|
1453
1453
|
margin-right: 8px;
|
|
1454
1454
|
}
|
|
1455
|
+
#Easy3wMButton :global .adm-space-item {
|
|
1456
|
+
-ms-flex-positive: 1;
|
|
1457
|
+
flex-grow: 1;
|
|
1458
|
+
}
|
|
1459
|
+
#Easy3wMGlobalFooter {
|
|
1460
|
+
text-align: center;
|
|
1461
|
+
}
|
|
1462
|
+
#Easy3wMInsideLayout {
|
|
1463
|
+
overflow: hidden;
|
|
1464
|
+
}
|
|
1465
|
+
#Easy3wMInsideLayout .content {
|
|
1466
|
+
margin-top: 42px;
|
|
1467
|
+
}
|
|
1468
|
+
#Easy3wMInsideLayout .titleList {
|
|
1469
|
+
background: var(--adm-color-primary);
|
|
1470
|
+
color: var(--adm-color-white);
|
|
1471
|
+
font-size: var(--adm-font-size-8);
|
|
1472
|
+
position: fixed;
|
|
1473
|
+
height: 42px;
|
|
1474
|
+
text-align: center;
|
|
1475
|
+
line-height: 42px;
|
|
1476
|
+
top: 0;
|
|
1477
|
+
z-index: 10;
|
|
1478
|
+
width: 100%;
|
|
1479
|
+
}
|
|
1480
|
+
#Easy3wMInsideLayout .titleList .easy_backIcon {
|
|
1481
|
+
font-size: var(--adm-font-size-8);
|
|
1482
|
+
color: #fff;
|
|
1483
|
+
position: absolute;
|
|
1484
|
+
padding-left: 20px;
|
|
1485
|
+
text-align: left;
|
|
1486
|
+
top: 0;
|
|
1487
|
+
left: 0;
|
|
1488
|
+
z-index: 11;
|
|
1489
|
+
height: 42px;
|
|
1490
|
+
line-height: 60px;
|
|
1491
|
+
width: 30%;
|
|
1492
|
+
}
|
|
1493
|
+
#Easy3wMSpin {
|
|
1494
|
+
position: fixed;
|
|
1495
|
+
background: rgba(255, 255, 255, 0);
|
|
1496
|
+
top: 0;
|
|
1497
|
+
bottom: 0;
|
|
1498
|
+
left: 0;
|
|
1499
|
+
right: 0;
|
|
1500
|
+
z-index: 999;
|
|
1501
|
+
}
|
|
1502
|
+
#Easy3wMSpin .spinLoading {
|
|
1503
|
+
position: relative;
|
|
1504
|
+
left: 50%;
|
|
1505
|
+
top: 50%;
|
|
1506
|
+
--size: 48px;
|
|
1507
|
+
}
|
|
1508
|
+
#Easy3wMUserLayout .Easy3wMUserLayoutContent {
|
|
1509
|
+
background-color: #f0f2f5;
|
|
1510
|
+
width: 100%;
|
|
1511
|
+
min-height: 100%;
|
|
1512
|
+
background-repeat: no-repeat;
|
|
1513
|
+
background-position: center;
|
|
1514
|
+
background-size: 100%;
|
|
1515
|
+
padding: 40px 0 0 0;
|
|
1516
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#Easy3wMInsideLayout {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
}
|
|
4
|
+
#Easy3wMInsideLayout .content {
|
|
5
|
+
margin-top: 42px;
|
|
6
|
+
}
|
|
7
|
+
#Easy3wMInsideLayout .titleList {
|
|
8
|
+
background: var(--adm-color-primary);
|
|
9
|
+
color: var(--adm-color-white);
|
|
10
|
+
font-size: var(--adm-font-size-8);
|
|
11
|
+
position: fixed;
|
|
12
|
+
height: 42px;
|
|
13
|
+
text-align: center;
|
|
14
|
+
line-height: 42px;
|
|
15
|
+
top: 0;
|
|
16
|
+
z-index: 10;
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
#Easy3wMInsideLayout .titleList .easy_backIcon {
|
|
20
|
+
font-size: var(--adm-font-size-8);
|
|
21
|
+
color: #fff;
|
|
22
|
+
position: absolute;
|
|
23
|
+
padding-left: 20px;
|
|
24
|
+
text-align: left;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
z-index: 11;
|
|
28
|
+
height: 42px;
|
|
29
|
+
line-height: 60px;
|
|
30
|
+
width: 30%;
|
|
31
|
+
}
|
package/assets/mSpin.css
ADDED
package/lib/Easy3wMSpin/index.js
CHANGED
|
@@ -28,25 +28,27 @@ var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
|
28
28
|
|
|
29
29
|
var _antdMobile = require('antd-mobile');
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
var _index = require('./index.less');
|
|
32
|
+
|
|
33
|
+
var _index2 = _interopRequireDefault(_index);
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
34
36
|
|
|
35
|
-
var
|
|
36
|
-
(0, _inherits3['default'])(
|
|
37
|
+
var Easy3wMSpin = function (_Component) {
|
|
38
|
+
(0, _inherits3['default'])(Easy3wMSpin, _Component);
|
|
37
39
|
|
|
38
|
-
function
|
|
39
|
-
(0, _classCallCheck3['default'])(this,
|
|
40
|
+
function Easy3wMSpin() {
|
|
41
|
+
(0, _classCallCheck3['default'])(this, Easy3wMSpin);
|
|
40
42
|
return (0, _possibleConstructorReturn3['default'])(this, _Component.apply(this, arguments));
|
|
41
43
|
}
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
Easy3wMSpin.prototype.render = function render() {
|
|
44
46
|
var spinLoading = this.props.spinLoading;
|
|
45
47
|
|
|
46
48
|
if (spinLoading) {
|
|
47
49
|
return _react2['default'].createElement(
|
|
48
50
|
'div',
|
|
49
|
-
{ id: '
|
|
51
|
+
{ id: 'Easy3wMSpin' },
|
|
50
52
|
_react2['default'].createElement(_antdMobile.SpinLoading, (0, _extends3['default'])({ color: 'primary', className: 'spinLoading' }, this.props))
|
|
51
53
|
);
|
|
52
54
|
} else {
|
|
@@ -54,11 +56,11 @@ var Easy3wSpin = function (_Component) {
|
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
58
|
|
|
57
|
-
return
|
|
59
|
+
return Easy3wMSpin;
|
|
58
60
|
}(_react.Component);
|
|
59
61
|
|
|
60
|
-
|
|
62
|
+
Easy3wMSpin.propTypes = {
|
|
61
63
|
spinLoading: _propTypes2['default'].bool.isRequired // 是否锁屏
|
|
62
64
|
};
|
|
63
|
-
exports['default'] =
|
|
65
|
+
exports['default'] = Easy3wMSpin;
|
|
64
66
|
module.exports = exports['default'];
|