easy3wui 2.0.7 → 2.0.8
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/Easy3wMButton.css +4 -0
- package/assets/Easy3wMGlobalFooter.css +3 -0
- package/assets/Easy3wMInsideLayout.css +31 -0
- package/assets/Easy3wMSpin.css +15 -0
- package/assets/Easy3wMUserLayout.css +9 -0
- package/assets/index.css +62 -0
- package/lib/Easy3wMSpin/index.js +10 -10
- package/lib/Easy3wMSpin/index.less +1 -1
- package/package.json +1 -1
|
@@ -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/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
|
+
}
|
package/lib/Easy3wMSpin/index.js
CHANGED
|
@@ -30,23 +30,23 @@ var _antdMobile = require('antd-mobile');
|
|
|
30
30
|
|
|
31
31
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
|
32
32
|
|
|
33
|
-
// import
|
|
33
|
+
// import Easy3wMSpinStyle from './index.less';
|
|
34
34
|
|
|
35
|
-
var
|
|
36
|
-
(0, _inherits3['default'])(
|
|
35
|
+
var Easy3wMSpin = function (_Component) {
|
|
36
|
+
(0, _inherits3['default'])(Easy3wMSpin, _Component);
|
|
37
37
|
|
|
38
|
-
function
|
|
39
|
-
(0, _classCallCheck3['default'])(this,
|
|
38
|
+
function Easy3wMSpin() {
|
|
39
|
+
(0, _classCallCheck3['default'])(this, Easy3wMSpin);
|
|
40
40
|
return (0, _possibleConstructorReturn3['default'])(this, _Component.apply(this, arguments));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Easy3wMSpin.prototype.render = function render() {
|
|
44
44
|
var spinLoading = this.props.spinLoading;
|
|
45
45
|
|
|
46
46
|
if (spinLoading) {
|
|
47
47
|
return _react2['default'].createElement(
|
|
48
48
|
'div',
|
|
49
|
-
{ id: '
|
|
49
|
+
{ id: 'Easy3wMSpin' },
|
|
50
50
|
_react2['default'].createElement(_antdMobile.SpinLoading, (0, _extends3['default'])({ color: 'primary', className: 'spinLoading' }, this.props))
|
|
51
51
|
);
|
|
52
52
|
} else {
|
|
@@ -54,11 +54,11 @@ var Easy3wSpin = function (_Component) {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
-
return
|
|
57
|
+
return Easy3wMSpin;
|
|
58
58
|
}(_react.Component);
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
Easy3wMSpin.propTypes = {
|
|
61
61
|
spinLoading: _propTypes2['default'].bool.isRequired // 是否锁屏
|
|
62
62
|
};
|
|
63
|
-
exports['default'] =
|
|
63
|
+
exports['default'] = Easy3wMSpin;
|
|
64
64
|
module.exports = exports['default'];
|