easy3wmui 0.0.42-beta20 → 0.0.42-beta22
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
CHANGED
|
@@ -134,11 +134,6 @@
|
|
|
134
134
|
#Easy3wMGlobalFooter {
|
|
135
135
|
text-align: center;
|
|
136
136
|
}
|
|
137
|
-
#Easy3wMGlobalFooter.bottomFixed {
|
|
138
|
-
width: 100%;
|
|
139
|
-
position: fixed;
|
|
140
|
-
bottom: 0;
|
|
141
|
-
}
|
|
142
137
|
#Easy3wMInsideLayout {
|
|
143
138
|
overflow: hidden;
|
|
144
139
|
}
|
|
@@ -344,7 +339,13 @@
|
|
|
344
339
|
border-left: 0;
|
|
345
340
|
background-color: transparent;
|
|
346
341
|
}
|
|
347
|
-
#Easy3wMLogin .
|
|
342
|
+
#Easy3wMLogin .funArea {
|
|
348
343
|
text-align: right;
|
|
349
344
|
margin-bottom: 24px;
|
|
350
345
|
}
|
|
346
|
+
#Easy3wMLogin .funArea > a {
|
|
347
|
+
padding-right: 12px;
|
|
348
|
+
}
|
|
349
|
+
#Easy3wMLogin .funArea > a:last-child {
|
|
350
|
+
padding-right: 0;
|
|
351
|
+
}
|
package/assets/mGlobalFooter.css
CHANGED
package/assets/mLogin.css
CHANGED
|
@@ -46,7 +46,13 @@
|
|
|
46
46
|
border-left: 0;
|
|
47
47
|
background-color: transparent;
|
|
48
48
|
}
|
|
49
|
-
#Easy3wMLogin .
|
|
49
|
+
#Easy3wMLogin .funArea {
|
|
50
50
|
text-align: right;
|
|
51
51
|
margin-bottom: 24px;
|
|
52
52
|
}
|
|
53
|
+
#Easy3wMLogin .funArea > a {
|
|
54
|
+
padding-right: 12px;
|
|
55
|
+
}
|
|
56
|
+
#Easy3wMLogin .funArea > a:last-child {
|
|
57
|
+
padding-right: 0;
|
|
58
|
+
}
|
|
@@ -36,15 +36,13 @@ var Easy3wMGlobalFooter = function (_Component) {
|
|
|
36
36
|
|
|
37
37
|
Easy3wMGlobalFooter.prototype.render = function render() {
|
|
38
38
|
var _props = this.props,
|
|
39
|
-
bottomFixed = _props.bottomFixed,
|
|
40
39
|
className = _props.className,
|
|
41
40
|
links = _props.links,
|
|
42
41
|
copyright = _props.copyright;
|
|
43
42
|
|
|
44
|
-
var clsString = (0, _classnames2['default'])(className, { bottomFixed: bottomFixed });
|
|
45
43
|
return _react2['default'].createElement(
|
|
46
44
|
'div',
|
|
47
|
-
{ id: 'Easy3wMGlobalFooter', className:
|
|
45
|
+
{ id: 'Easy3wMGlobalFooter', className: (0, _classnames2['default'])(className) },
|
|
48
46
|
links && _react2['default'].createElement(
|
|
49
47
|
'div',
|
|
50
48
|
null,
|
|
@@ -89,11 +89,19 @@ var Easy3wMLogin = function (_Component) {
|
|
|
89
89
|
});
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
_this.
|
|
93
|
-
var
|
|
92
|
+
_this.toPage = function (operationType) {
|
|
93
|
+
var toPage = _this.props.toPage;
|
|
94
94
|
|
|
95
|
-
if (
|
|
96
|
-
|
|
95
|
+
if (toPage && typeof toPage === 'function') {
|
|
96
|
+
toPage(operationType);
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
_this.showModal = function (operationType) {
|
|
101
|
+
var showModal = _this.props.showModal;
|
|
102
|
+
|
|
103
|
+
if (showModal && typeof showModal === 'function') {
|
|
104
|
+
showModal(operationType);
|
|
97
105
|
}
|
|
98
106
|
};
|
|
99
107
|
|
|
@@ -156,6 +164,8 @@ var Easy3wMLogin = function (_Component) {
|
|
|
156
164
|
|
|
157
165
|
// 跳转忘记密码
|
|
158
166
|
|
|
167
|
+
// 显示联系客服弹窗
|
|
168
|
+
|
|
159
169
|
// --------------------------------------- 账号密码登录 end -----------------------------------------
|
|
160
170
|
// --------------------------------------- 手机验证码登录 start ---------------------------------------
|
|
161
171
|
// 发送验证码
|
|
@@ -165,6 +175,8 @@ var Easy3wMLogin = function (_Component) {
|
|
|
165
175
|
|
|
166
176
|
|
|
167
177
|
Easy3wMLogin.prototype.render = function render() {
|
|
178
|
+
var _this2 = this;
|
|
179
|
+
|
|
168
180
|
var _state = this.state,
|
|
169
181
|
visible = _state.visible,
|
|
170
182
|
activeKey = _state.activeKey,
|
|
@@ -203,11 +215,20 @@ var Easy3wMLogin = function (_Component) {
|
|
|
203
215
|
null,
|
|
204
216
|
_react2['default'].createElement(
|
|
205
217
|
'div',
|
|
206
|
-
{ className: '
|
|
218
|
+
{ className: 'funArea' },
|
|
207
219
|
_react2['default'].createElement(
|
|
208
220
|
'a',
|
|
209
|
-
{ onClick:
|
|
221
|
+
{ onClick: function onClick() {
|
|
222
|
+
return _this2.toPage('forgotPassword');
|
|
223
|
+
} },
|
|
210
224
|
'\u5FD8\u8BB0\u5BC6\u7801'
|
|
225
|
+
),
|
|
226
|
+
_react2['default'].createElement(
|
|
227
|
+
'a',
|
|
228
|
+
{ onClick: function onClick() {
|
|
229
|
+
return _this2.showModal('customerService');
|
|
230
|
+
} },
|
|
231
|
+
'\u8054\u7CFB\u5BA2\u670D'
|
|
211
232
|
)
|
|
212
233
|
),
|
|
213
234
|
_react2['default'].createElement(
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
#Easy3wMUserLayout {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: 100%;
|
|
2
5
|
.Easy3wMUserLayoutContent { // 内容
|
|
3
6
|
background-color: #f0f2f5;
|
|
4
7
|
width: 100%;
|
|
5
|
-
min-height: 100%;
|
|
8
|
+
// min-height: 100%;
|
|
6
9
|
background-repeat: no-repeat;
|
|
7
10
|
background-position: center;
|
|
8
11
|
background-size: 100%;
|
|
9
12
|
padding: 40px 0 0 0;
|
|
13
|
+
flex-grow: 1;
|
|
10
14
|
}
|
|
11
15
|
}
|