tplus-portaltouch 3.27.1 → 3.28.2
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/package.json +4 -4
- package/tsconfig.json +14 -14
- package/dist/api/ModifyPassApi.js +0 -165
- package/dist/api/ModifyPassApi.js.map +0 -1
- package/dist/components/dutyandsettle/dutysettlebill.js +0 -1058
- package/dist/components/dutyandsettle/dutysettlebill.js.map +0 -1
- package/dist/components/dutyandsettle/dutysettlehistory.js +0 -247
- package/dist/components/dutyandsettle/dutysettlehistory.js.map +0 -1
- package/dist/components/dutyandsettle/index.js +0 -25
- package/dist/components/dutyandsettle/index.js.map +0 -1
- package/dist/components/dutyandsettle/tipContent.js +0 -101
- package/dist/components/dutyandsettle/tipContent.js.map +0 -1
- package/dist/components/header/customUse.js +0 -79
- package/dist/components/header/customUse.js.map +0 -1
- package/dist/components/header/headContent.js +0 -888
- package/dist/components/header/headContent.js.map +0 -1
- package/dist/components/header/index.js +0 -102
- package/dist/components/header/index.js.map +0 -1
- package/dist/components/header/offlinePointDesc.js +0 -7
- package/dist/components/header/offlinePointDesc.js.map +0 -1
- package/dist/components/header/style.less +0 -457
- package/dist/components/header/themeModal.js +0 -135
- package/dist/components/header/themeModal.js.map +0 -1
- package/dist/components/header/uploadList.js +0 -271
- package/dist/components/header/uploadList.js.map +0 -1
- package/dist/components/header/vertical-touch.js +0 -285
- package/dist/components/header/vertical-touch.js.map +0 -1
- package/dist/components/header/vertical-touch.less +0 -229
- package/dist/containers/Main/index.js +0 -666
- package/dist/containers/Main/index.js.map +0 -1
- package/dist/dutyService/index.js +0 -276
- package/dist/dutyService/index.js.map +0 -1
- package/dist/index.js +0 -40
- package/dist/index.js.map +0 -1
- package/dist/middleWare/index.js +0 -75
- package/dist/middleWare/index.js.map +0 -1
- package/dist/modalRouter/StaticRouter.js +0 -134
- package/dist/modalRouter/StaticRouter.js.map +0 -1
- package/dist/modalRouter/index.js +0 -141
- package/dist/modalRouter/index.js.map +0 -1
- package/dist/pages/Modal/index.js +0 -71
- package/dist/pages/Modal/index.js.map +0 -1
- package/dist/pages/Modal/style.less +0 -5
- package/dist/pages/Portalbc/data.js +0 -724
- package/dist/pages/Portalbc/data.js.map +0 -1
- package/dist/pages/Portalbc/horizontalPadPortal.js +0 -129
- package/dist/pages/Portalbc/horizontalPadPortal.js.map +0 -1
- package/dist/pages/Portalbc/horizontalSunMiPortal.js +0 -130
- package/dist/pages/Portalbc/horizontalSunMiPortal.js.map +0 -1
- package/dist/pages/Portalbc/index.js +0 -1370
- package/dist/pages/Portalbc/index.js.map +0 -1
- package/dist/pages/Portalbc/index.less +0 -787
- package/dist/pages/Portalbc/onframe.js +0 -259
- package/dist/pages/Portalbc/onframe.js.map +0 -1
- package/dist/pages/Portalbc/verticalPortal.js +0 -134
- package/dist/pages/Portalbc/verticalPortal.js.map +0 -1
- package/dist/pages/dutyandsettle/AuthProcess.js +0 -42
- package/dist/pages/dutyandsettle/AuthProcess.js.map +0 -1
- package/dist/pages/dutyandsettle/index.js +0 -37
- package/dist/pages/dutyandsettle/index.js.map +0 -1
- package/dist/pages/dutyandsettle/index.less +0 -529
- package/dist/pages/dutyandsettle/offDuty.js +0 -571
- package/dist/pages/dutyandsettle/offDuty.js.map +0 -1
- package/dist/pages/dutyandsettle/onDialy.js +0 -182
- package/dist/pages/dutyandsettle/onDialy.js.map +0 -1
- package/dist/pages/dutyandsettle/onDuty.js +0 -242
- package/dist/pages/dutyandsettle/onDuty.js.map +0 -1
- package/dist/pages/dutyandsettle/onUnDaily.js +0 -138
- package/dist/pages/dutyandsettle/onUnDaily.js.map +0 -1
- package/dist/pages/dutyandsettle/settleDialy.js +0 -116
- package/dist/pages/dutyandsettle/settleDialy.js.map +0 -1
- package/dist/pages/index.js +0 -54
- package/dist/pages/index.js.map +0 -1
- package/dist/pages/modifyPass/index.js +0 -174
- package/dist/pages/modifyPass/index.js.map +0 -1
- package/dist/pages/modifyPass/style.less +0 -71
- package/dist/pages/notFound/index.js +0 -85
- package/dist/pages/notFound/index.js.map +0 -1
- package/dist/pages/notFound/style.less +0 -17
- package/dist/stores/ModalRouter.js +0 -182
- package/dist/stores/ModalRouter.js.map +0 -1
- package/dist/stores/ModifyPassStore.js +0 -207
- package/dist/stores/ModifyPassStore.js.map +0 -1
- package/dist/stores/PortalStore.js +0 -285
- package/dist/stores/PortalStore.js.map +0 -1
- package/dist/stores/PosLoginStore.js +0 -111
- package/dist/stores/PosLoginStore.js.map +0 -1
- package/dist/stores/billHistoryStore.js +0 -114
- package/dist/stores/billHistoryStore.js.map +0 -1
- package/dist/stores/dutySettleStore.js +0 -115
- package/dist/stores/dutySettleStore.js.map +0 -1
- package/dist/stores/index.js +0 -36
- package/dist/stores/index.js.map +0 -1
- package/dist/utils/PrintProcess.js +0 -112
- package/dist/utils/PrintProcess.js.map +0 -1
- package/dist/utils/index.js +0 -93
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/networkCheck.js +0 -33
- package/dist/utils/networkCheck.js.map +0 -1
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _extends2 = require('babel-runtime/helpers/extends');
|
|
8
|
-
|
|
9
|
-
var _extends3 = _interopRequireDefault(_extends2);
|
|
10
|
-
|
|
11
|
-
var _promise = require('babel-runtime/core-js/promise');
|
|
12
|
-
|
|
13
|
-
var _promise2 = _interopRequireDefault(_promise);
|
|
14
|
-
|
|
15
|
-
exports.verticalHeadTime = verticalHeadTime;
|
|
16
|
-
exports.verticalHeadContent = verticalHeadContent;
|
|
17
|
-
|
|
18
|
-
var _react = require('react');
|
|
19
|
-
|
|
20
|
-
var _react2 = _interopRequireDefault(_react);
|
|
21
|
-
|
|
22
|
-
var _tplusComponentsTouch = require('tplus-components-touch');
|
|
23
|
-
|
|
24
|
-
var _mutantsMicrofx = require('mutants-microfx');
|
|
25
|
-
|
|
26
|
-
var _tplusApi = require('tplus-api');
|
|
27
|
-
|
|
28
|
-
var _antd = require('antd');
|
|
29
|
-
|
|
30
|
-
var _customUse = require('./customUse');
|
|
31
|
-
|
|
32
|
-
var _themeModal = require('./themeModal');
|
|
33
|
-
|
|
34
|
-
var _themeModal2 = _interopRequireDefault(_themeModal);
|
|
35
|
-
|
|
36
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
|
-
|
|
38
|
-
var Item = _antd.Menu.Item;
|
|
39
|
-
function verticalHeadTime(_ref) {
|
|
40
|
-
var date_HMS = _ref.date_HMS;
|
|
41
|
-
|
|
42
|
-
return _react2.default.createElement(
|
|
43
|
-
'span',
|
|
44
|
-
null,
|
|
45
|
-
date_HMS
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
function memberHeaderClick() {
|
|
49
|
-
_mutantsMicrofx.stores.voucherStore.voucherVM.controllerEvent('changeMember', {});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function justifyPathname(pathname) {
|
|
53
|
-
if (pathname !== "/RE/RE01") {
|
|
54
|
-
if (document.getElementsByClassName('member-name')[0] && document.getElementById('header-triangle-down')) {
|
|
55
|
-
document.getElementById('header-triangle-down').style.display = 'none';
|
|
56
|
-
}
|
|
57
|
-
} else {
|
|
58
|
-
if (document.getElementsByClassName('member-name')[0] && document.getElementById('header-triangle-down')) {
|
|
59
|
-
document.getElementById('header-triangle-down').style.display = 'inline';
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
var mouseUp = false;
|
|
65
|
-
function verticalHeadContent(_ref2) {
|
|
66
|
-
var style = _ref2.style,
|
|
67
|
-
releaseVersion = _ref2.releaseVersion,
|
|
68
|
-
releaseDate = _ref2.releaseDate,
|
|
69
|
-
time = _ref2.time,
|
|
70
|
-
dateFormat = _ref2.dateFormat,
|
|
71
|
-
logo = _ref2.logo,
|
|
72
|
-
HeadTime = _ref2.HeadTime,
|
|
73
|
-
headControlNode = _ref2.headControlNode,
|
|
74
|
-
location = _ref2.location,
|
|
75
|
-
history = _ref2.history,
|
|
76
|
-
clickTheme = _ref2.clickTheme,
|
|
77
|
-
themeVisible = _ref2.themeVisible,
|
|
78
|
-
isPortal = _ref2.isPortal,
|
|
79
|
-
isLogin = _ref2.isLogin;
|
|
80
|
-
|
|
81
|
-
var renderNode = (0, _customUse.useRender)();
|
|
82
|
-
var dropContent = function () {
|
|
83
|
-
var selectMemberInfo = _mutantsMicrofx.stores.selectMemberStore.selectMemberInfo; //selectMemberInfo 用作触发mobox render
|
|
84
|
-
|
|
85
|
-
return _react2.default.createElement(
|
|
86
|
-
_antd.Dropdown,
|
|
87
|
-
{ overlayClassName: 'verticalTouchDropdownClass', trigger: ['click'],
|
|
88
|
-
overlay: _react2.default.createElement(
|
|
89
|
-
_antd.Menu,
|
|
90
|
-
{ onClick: memberHeaderClick },
|
|
91
|
-
_react2.default.createElement(
|
|
92
|
-
Item,
|
|
93
|
-
{ key: '1' },
|
|
94
|
-
_react2.default.createElement(_tplusComponentsTouch.Ticon, { icon: 'zhuxiao' }),
|
|
95
|
-
_react2.default.createElement(
|
|
96
|
-
'span',
|
|
97
|
-
null,
|
|
98
|
-
'\u9000\u51FA\u4F1A\u5458'
|
|
99
|
-
)
|
|
100
|
-
)
|
|
101
|
-
) },
|
|
102
|
-
_react2.default.createElement('i', { id: 'header-triangle-down', className: 'header-triangle-down' })
|
|
103
|
-
);
|
|
104
|
-
}();
|
|
105
|
-
|
|
106
|
-
var _ref3 = location || {},
|
|
107
|
-
pathname = _ref3.pathname;
|
|
108
|
-
|
|
109
|
-
justifyPathname(pathname);
|
|
110
|
-
var memberName = (0, _customUse.useMemberName)(undefined, function (value) {
|
|
111
|
-
return !value || _react2.default.createElement(
|
|
112
|
-
'div',
|
|
113
|
-
{ className: 'member-name' },
|
|
114
|
-
'\u6B22\u8FCE\u60A8 ',
|
|
115
|
-
_react2.default.createElement(
|
|
116
|
-
'span',
|
|
117
|
-
{ className: 'memberWord primary-color' },
|
|
118
|
-
value
|
|
119
|
-
),
|
|
120
|
-
dropContent
|
|
121
|
-
);
|
|
122
|
-
});
|
|
123
|
-
var canRouteChange = ['/portsetting', '/'].includes(pathname);
|
|
124
|
-
function longPress(isMouseUp) {
|
|
125
|
-
if (canRouteChange) return history.push('/');
|
|
126
|
-
mouseUp = false;
|
|
127
|
-
if (isMouseUp) return mouseUp = true;
|
|
128
|
-
|
|
129
|
-
var setLongPressTime = 1000;
|
|
130
|
-
var pressStart = +new Date();
|
|
131
|
-
|
|
132
|
-
(function longPressTime() {
|
|
133
|
-
if (mouseUp) return;
|
|
134
|
-
setTimeout(function () {
|
|
135
|
-
if (+new Date() - pressStart < setLongPressTime) {
|
|
136
|
-
longPressTime();
|
|
137
|
-
} else {
|
|
138
|
-
var _ref4 = _mutantsMicrofx.localStore.get('AuthKey') || {},
|
|
139
|
-
username = _ref4.username,
|
|
140
|
-
password = _ref4.password;
|
|
141
|
-
|
|
142
|
-
var pass = '';
|
|
143
|
-
var passRef = _react2.default.createRef();
|
|
144
|
-
|
|
145
|
-
_tplusComponentsTouch.ModalWraper.confirm({
|
|
146
|
-
vertical: true,
|
|
147
|
-
className: 'tplus-confirm-modal router-change-confirm',
|
|
148
|
-
title: '返回首页',
|
|
149
|
-
icon: false,
|
|
150
|
-
wrapperControl: true,
|
|
151
|
-
onCancel: function onCancel() {
|
|
152
|
-
_tplusComponentsTouch.Keyboard.close();
|
|
153
|
-
},
|
|
154
|
-
onOk: function onOk() {
|
|
155
|
-
if (!pass.trim()) {
|
|
156
|
-
_tplusComponentsTouch.Message.toast('您输入密码格式不正确');
|
|
157
|
-
return false;
|
|
158
|
-
}
|
|
159
|
-
_tplusComponentsTouch.Message.loading('身份校验中,请稍后...');
|
|
160
|
-
return new _promise2.default(function (resolve) {
|
|
161
|
-
setTimeout(function () {
|
|
162
|
-
if (_tplusApi.User.pwdEncrypt(pass) === password) {
|
|
163
|
-
_tplusComponentsTouch.Message.loading('校验成功,即将跳转到首页');
|
|
164
|
-
setTimeout(function () {
|
|
165
|
-
_tplusComponentsTouch.Message.destroy();
|
|
166
|
-
resolve('closeModal');
|
|
167
|
-
_mutantsMicrofx.stores.voucherStore.clearData();
|
|
168
|
-
history.push('/');
|
|
169
|
-
rx$.memberNameSubject.next('');
|
|
170
|
-
_tplusComponentsTouch.Keyboard.close();
|
|
171
|
-
}, 1000);
|
|
172
|
-
} else {
|
|
173
|
-
_tplusComponentsTouch.Message.toast('您输入密码不正确');
|
|
174
|
-
}
|
|
175
|
-
}, Math.random() * 500 + 500);
|
|
176
|
-
});
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
content: _react2.default.createElement(
|
|
180
|
-
'div',
|
|
181
|
-
{ className: 'inputs-content' },
|
|
182
|
-
_react2.default.createElement(_tplusComponentsTouch.Input, {
|
|
183
|
-
vertical: true,
|
|
184
|
-
title: '\u8D26\u53F7',
|
|
185
|
-
tplusInput: true,
|
|
186
|
-
placeholder: '\u8BF7\u8F93\u5165\u8D26\u53F7',
|
|
187
|
-
type: 'native',
|
|
188
|
-
suffix: 'zhanghu',
|
|
189
|
-
value: username,
|
|
190
|
-
disabled: true
|
|
191
|
-
}),
|
|
192
|
-
_react2.default.createElement(_tplusComponentsTouch.Input, {
|
|
193
|
-
vertical: true,
|
|
194
|
-
title: '\u5BC6\u7801',
|
|
195
|
-
tplusInput: true,
|
|
196
|
-
placeholder: '\u8BF7\u8F93\u5165\u5BC6\u7801',
|
|
197
|
-
htmlType: 'password',
|
|
198
|
-
type: 'native',
|
|
199
|
-
suffix: 'xiugaimima1',
|
|
200
|
-
onChange: function onChange(e) {
|
|
201
|
-
return pass = e.target.value;
|
|
202
|
-
},
|
|
203
|
-
inputRef: passRef,
|
|
204
|
-
onFocus: function onFocus(_ref5) {
|
|
205
|
-
var target = _ref5.target;
|
|
206
|
-
|
|
207
|
-
_tplusComponentsTouch.Keyboard.open(function (v) {
|
|
208
|
-
var value = _tplusComponentsTouch.Keyboard.getNewValue(target, target.value, v);
|
|
209
|
-
target.value = pass = value;
|
|
210
|
-
}, function () {
|
|
211
|
-
var r = document.querySelector('.router-change-confirm .ant-btn-primary');
|
|
212
|
-
r && r.click && r.click();
|
|
213
|
-
}, function () {
|
|
214
|
-
passRef && passRef.current && passRef.current.blur();
|
|
215
|
-
_tplusComponentsTouch.Keyboard.close();
|
|
216
|
-
})();
|
|
217
|
-
}
|
|
218
|
-
})
|
|
219
|
-
)
|
|
220
|
-
});
|
|
221
|
-
setTimeout(function () {
|
|
222
|
-
return passRef && passRef.current && passRef.current.focus();
|
|
223
|
-
}, 100);
|
|
224
|
-
}
|
|
225
|
-
}, 100);
|
|
226
|
-
})();
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
var _ref6 = _mutantsMicrofx.stores.user.options.get('store') || {},
|
|
230
|
-
posCode = _ref6.posCode;
|
|
231
|
-
|
|
232
|
-
function toggle() {
|
|
233
|
-
clickTheme(true);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
return _react2.default.createElement(
|
|
237
|
-
'div',
|
|
238
|
-
{
|
|
239
|
-
style: (0, _extends3.default)({ display: 'inline-block', width: '100%', height: '100%' }, style),
|
|
240
|
-
className: 'head-content',
|
|
241
|
-
'data-release': releaseVersion + ' ' + releaseDate
|
|
242
|
-
},
|
|
243
|
-
_react2.default.createElement(
|
|
244
|
-
'div',
|
|
245
|
-
{ className: 'head-content-left' },
|
|
246
|
-
!!logo && _react2.default.createElement(
|
|
247
|
-
'div',
|
|
248
|
-
{
|
|
249
|
-
className: 'business-logo',
|
|
250
|
-
onTouchStart: function onTouchStart() {
|
|
251
|
-
return longPress();
|
|
252
|
-
},
|
|
253
|
-
onTouchEnd: function onTouchEnd() {
|
|
254
|
-
return longPress(true);
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
logo
|
|
258
|
-
),
|
|
259
|
-
posCode && _react2.default.createElement(
|
|
260
|
-
'div',
|
|
261
|
-
{ className: 'pos-code' },
|
|
262
|
-
posCode
|
|
263
|
-
)
|
|
264
|
-
),
|
|
265
|
-
['/', '/login'].includes(pathname) && headControlNode,
|
|
266
|
-
!isLogin && _react2.default.createElement(_tplusComponentsTouch.Ticon, { icon: 'huanfu', className: 'theme-icon ' + (!isPortal ? 'pos-page' : ''), onClick: function onClick() {
|
|
267
|
-
return toggle();
|
|
268
|
-
} }),
|
|
269
|
-
_react2.default.createElement(
|
|
270
|
-
'div',
|
|
271
|
-
{ className: 'head-content-right' },
|
|
272
|
-
memberName,
|
|
273
|
-
renderNode
|
|
274
|
-
),
|
|
275
|
-
_react2.default.createElement(_themeModal2.default, {
|
|
276
|
-
visible: themeVisible,
|
|
277
|
-
isVertical: true,
|
|
278
|
-
isPortal: isPortal,
|
|
279
|
-
closeFn: function closeFn(isShow) {
|
|
280
|
-
return clickTheme(isShow);
|
|
281
|
-
}
|
|
282
|
-
})
|
|
283
|
-
);
|
|
284
|
-
}
|
|
285
|
-
//# sourceMappingURL=vertical-touch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["tplus-portaltouch/components/header/vertical-touch.js"],"names":["verticalHeadTime","verticalHeadContent","Item","Menu","date_HMS","memberHeaderClick","stores","voucherStore","voucherVM","controllerEvent","justifyPathname","pathname","document","getElementsByClassName","getElementById","style","display","mouseUp","releaseVersion","releaseDate","time","dateFormat","logo","HeadTime","headControlNode","location","history","clickTheme","themeVisible","isPortal","isLogin","renderNode","dropContent","selectMemberInfo","selectMemberStore","memberName","undefined","value","canRouteChange","includes","longPress","isMouseUp","push","setLongPressTime","pressStart","Date","longPressTime","setTimeout","localStore","get","username","password","pass","passRef","React","createRef","ModalWraper","confirm","vertical","className","title","icon","wrapperControl","onCancel","Keyboard","close","onOk","trim","Message","toast","loading","User","pwdEncrypt","destroy","resolve","clearData","rx$","memberNameSubject","next","Math","random","content","e","target","open","getNewValue","v","r","querySelector","click","current","blur","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';\r\nimport { ModalWraper, Input, Message, Keyboard, Ticon } from 'tplus-components-touch';\r\nimport { localStore, stores } from 'mutants-microfx';\r\nimport { User } from 'tplus-api';\r\nimport { Dropdown, Menu } from 'antd';\r\nimport { useRender, useMemberName } from './customUse';\r\nimport ThemeModal from \"./themeModal\";\r\nconst { Item } = Menu;\r\n\r\nexport function verticalHeadTime({ date_HMS }) {\r\n return <span>{date_HMS}</span>;\r\n}\r\nfunction memberHeaderClick() {\r\n stores.voucherStore.voucherVM.controllerEvent('changeMember', {})\r\n}\r\n\r\nfunction justifyPathname (pathname) {\r\n if (pathname !== \"/RE/RE01\") {\r\n if (document.getElementsByClassName('member-name')[0] && document.getElementById('header-triangle-down')){\r\n document.getElementById('header-triangle-down').style.display = 'none'\r\n }\r\n } else {\r\n if (document.getElementsByClassName('member-name')[0] && document.getElementById('header-triangle-down')){\r\n document.getElementById('header-triangle-down').style.display = 'inline'\r\n }\r\n }\r\n}\r\n\r\nlet mouseUp = false;\r\nexport function verticalHeadContent({ style, releaseVersion, releaseDate, time, dateFormat, logo, HeadTime, headControlNode, location, history, clickTheme, themeVisible, isPortal, isLogin }) {\r\n const renderNode = useRender();\r\n const dropContent = function () {\r\n const { selectMemberInfo } = stores.selectMemberStore; //selectMemberInfo 用作触发mobox render\r\n return (<Dropdown overlayClassName='verticalTouchDropdownClass' trigger={['click']}\r\n overlay={\r\n <Menu onClick={memberHeaderClick}>\r\n <Item key=\"1\">\r\n <Ticon icon='zhuxiao' />\r\n <span>退出会员</span>\r\n </Item>\r\n </Menu>\r\n }>\r\n <i id='header-triangle-down' className='header-triangle-down'></i>\r\n </Dropdown>\r\n )\r\n }();\r\n const { pathname } = location || {};\r\n justifyPathname(pathname)\r\n const memberName = useMemberName(undefined, value => !value || <div className='member-name'>欢迎您 <span className='memberWord primary-color'>{value}</span>{dropContent}</div>)\r\n const canRouteChange = ['/portsetting', '/'].includes(pathname);\r\n function longPress(isMouseUp) {\r\n if (canRouteChange) return history.push('/');\r\n mouseUp = false;\r\n if (isMouseUp) return mouseUp = true;\r\n\r\n const setLongPressTime = 1000;\r\n const pressStart = +new Date();\r\n\r\n (function longPressTime() {\r\n if (mouseUp) return;\r\n setTimeout(() => {\r\n if (+new Date() - pressStart < setLongPressTime) {\r\n longPressTime();\r\n } else {\r\n const { username, password } = localStore.get('AuthKey') || {};\r\n let pass = '';\r\n let passRef = React.createRef();\r\n\r\n ModalWraper.confirm({\r\n vertical: true,\r\n className: 'tplus-confirm-modal router-change-confirm',\r\n title: '返回首页',\r\n icon: false,\r\n wrapperControl: true,\r\n onCancel() {\r\n Keyboard.close();\r\n },\r\n onOk() {\r\n if (!pass.trim()) {\r\n Message.toast('您输入密码格式不正确');\r\n return false;\r\n }\r\n Message.loading('身份校验中,请稍后...');\r\n return new Promise(resolve => {\r\n setTimeout(() => {\r\n if (User.pwdEncrypt(pass) === password) {\r\n Message.loading('校验成功,即将跳转到首页');\r\n setTimeout(() => {\r\n Message.destroy();\r\n resolve('closeModal');\r\n stores.voucherStore.clearData();\r\n history.push('/');\r\n rx$.memberNameSubject.next('');\r\n Keyboard.close();\r\n }, 1000);\r\n } else {\r\n Message.toast('您输入密码不正确');\r\n }\r\n }, Math.random() * 500 + 500);\r\n })\r\n },\r\n content: <div className='inputs-content'>\r\n <Input\r\n vertical\r\n title='账号'\r\n tplusInput\r\n placeholder='请输入账号'\r\n type='native'\r\n suffix='zhanghu'\r\n value={username}\r\n disabled\r\n />\r\n <Input\r\n vertical\r\n title='密码'\r\n tplusInput\r\n placeholder='请输入密码'\r\n htmlType='password'\r\n type='native'\r\n suffix='xiugaimima1'\r\n onChange={e => pass = e.target.value}\r\n inputRef={passRef}\r\n onFocus={({ target }) => {\r\n Keyboard.open(v => {\r\n const value = Keyboard.getNewValue(target, target.value, v);\r\n target.value = pass = value;\r\n }, () => {\r\n const r = document.querySelector('.router-change-confirm .ant-btn-primary');\r\n r && r.click && r.click();\r\n }, () => {\r\n passRef && passRef.current && passRef.current.blur();\r\n Keyboard.close();\r\n })();\r\n }}\r\n />\r\n </div>\r\n });\r\n setTimeout(() => passRef && passRef.current && passRef.current.focus(), 100);\r\n }\r\n }, 100);\r\n })();\r\n }\r\n const { posCode } = stores.user.options.get('store') || {};\r\n function toggle(){\r\n clickTheme(true);\r\n }\r\n\r\n return (<div\r\n style={{ display: 'inline-block', width: '100%', height: '100%', ...style }}\r\n className='head-content'\r\n data-release={`${releaseVersion} ${releaseDate}`}\r\n >\r\n <div className=\"head-content-left\">\r\n {!!logo && <div\r\n className='business-logo'\r\n onTouchStart={() => longPress()}\r\n onTouchEnd={() => longPress(true)}\r\n >{logo}</div>}\r\n {posCode && <div className='pos-code'>{posCode}</div>}\r\n </div>\r\n {['/', '/login'].includes(pathname) && headControlNode}\r\n {!isLogin && <Ticon icon=\"huanfu\" className={`theme-icon ${!isPortal ? 'pos-page' : ''}` } onClick={() => toggle()}/>}\r\n <div className=\"head-content-right\">\r\n {memberName}\r\n {renderNode}\r\n </div>\r\n <ThemeModal\r\n visible={themeVisible}\r\n isVertical={true}\r\n isPortal={isPortal}\r\n closeFn={(isShow) => clickTheme(isShow)}\r\n />\r\n </div>);\r\n}"]}
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
.vertical-touch-platform {
|
|
2
|
-
.pos-header {
|
|
3
|
-
height: 120px;
|
|
4
|
-
|
|
5
|
-
&.isPortal-head {
|
|
6
|
-
.head-content-right {
|
|
7
|
-
span {
|
|
8
|
-
color: #fff;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.head-content-right {
|
|
15
|
-
span {
|
|
16
|
-
height : 100%;
|
|
17
|
-
display : block;
|
|
18
|
-
line-height: 120px;
|
|
19
|
-
font-size : 22px;
|
|
20
|
-
width : 130px;
|
|
21
|
-
float : right;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&>div {
|
|
25
|
-
float: right;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.member-name {
|
|
29
|
-
font-size : 28px;
|
|
30
|
-
color : #333333;
|
|
31
|
-
height: 120px;
|
|
32
|
-
line-height: 120px;
|
|
33
|
-
position: relative;
|
|
34
|
-
right: 20px;
|
|
35
|
-
padding-left: 20px;
|
|
36
|
-
|
|
37
|
-
.header-triangle-down {
|
|
38
|
-
top: 50%;
|
|
39
|
-
border-width: 10px 8px 0px 8px;
|
|
40
|
-
right: -16px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.memberWord {
|
|
44
|
-
font-size : 28px;
|
|
45
|
-
padding-left: 12px;
|
|
46
|
-
padding-right: 5px;
|
|
47
|
-
width : auto;
|
|
48
|
-
max-width: 200px;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
white-space: nowrap;
|
|
51
|
-
text-overflow: ellipsis;
|
|
52
|
-
text-align: right;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.head-content-left {
|
|
58
|
-
.business-logo {
|
|
59
|
-
padding-left: 30px;
|
|
60
|
-
|
|
61
|
-
&>img.example-logo {
|
|
62
|
-
margin: 0px;
|
|
63
|
-
height: 48px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.pos-code {
|
|
68
|
-
float : left;
|
|
69
|
-
font-size : 24px;
|
|
70
|
-
color : #333333;
|
|
71
|
-
height : 100%;
|
|
72
|
-
line-height: 120px;
|
|
73
|
-
margin-left: 10px;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.theme-icon{
|
|
78
|
-
float: right;
|
|
79
|
-
height: 100%;
|
|
80
|
-
width: 50px;
|
|
81
|
-
text-align: center;
|
|
82
|
-
padding-top: 28px;
|
|
83
|
-
font-size: 26px;
|
|
84
|
-
color: #fff;
|
|
85
|
-
&.pos-page{
|
|
86
|
-
color: #666;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.isPortal-layout {
|
|
91
|
-
.pos-code {
|
|
92
|
-
color: #fff !important;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.head-content-control {
|
|
97
|
-
padding-top: 28px;
|
|
98
|
-
|
|
99
|
-
.iconfont {
|
|
100
|
-
font-size: 34px;
|
|
101
|
-
padding : 0 15px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.portal-content {
|
|
106
|
-
.portal-center-content {
|
|
107
|
-
transform: translate3d(0, 50%, 0);
|
|
108
|
-
top : 20%;
|
|
109
|
-
|
|
110
|
-
&>div {
|
|
111
|
-
display: inline-block;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
width: 840px;
|
|
115
|
-
|
|
116
|
-
.worktop-item {
|
|
117
|
-
border-radius: 20px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.worktop-container-left {
|
|
121
|
-
width : 540px;
|
|
122
|
-
margin-right: 30px;
|
|
123
|
-
|
|
124
|
-
.worktop-item-cashier {
|
|
125
|
-
height: 360px;
|
|
126
|
-
|
|
127
|
-
h1 {
|
|
128
|
-
font-size: 76px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.iconfont {
|
|
132
|
-
font-size : 140px;
|
|
133
|
-
width : 140px;
|
|
134
|
-
height : 140px;
|
|
135
|
-
margin-left: -62px;
|
|
136
|
-
margin-top : -20px;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.worktop-container-right {
|
|
142
|
-
width: 270px;
|
|
143
|
-
|
|
144
|
-
.worktop-item-hardware {
|
|
145
|
-
height : 360px;
|
|
146
|
-
padding : 28px;
|
|
147
|
-
|
|
148
|
-
h1 {
|
|
149
|
-
font-size: 34px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.iconfont {
|
|
153
|
-
font-size: 82px;
|
|
154
|
-
bottom : 70px;
|
|
155
|
-
right : 30px;
|
|
156
|
-
width : 80px;
|
|
157
|
-
height : 80px;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.router-change-confirm {
|
|
166
|
-
.ant-modal-confirm-btns{
|
|
167
|
-
display: none;
|
|
168
|
-
}
|
|
169
|
-
.ant-modal-body {
|
|
170
|
-
.ant-modal-confirm-content {
|
|
171
|
-
.content1 {
|
|
172
|
-
padding: 60px 10px 10px 10px !important;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.inputs-content {
|
|
176
|
-
.tplus-input-container {
|
|
177
|
-
&:first-child {
|
|
178
|
-
margin-bottom: 30px;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
input::-webkit-input-placeholder{
|
|
184
|
-
font-size: 26px;
|
|
185
|
-
}
|
|
186
|
-
.ant-btn{
|
|
187
|
-
height: auto;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.verticalTouchDropdownClass {
|
|
193
|
-
z-index: 99999999;
|
|
194
|
-
border-top-left-radius: 10px;
|
|
195
|
-
border-bottom-left-radius: 10px;
|
|
196
|
-
&.ant-dropdown{
|
|
197
|
-
.ant-dropdown-menu {
|
|
198
|
-
width : 174px;
|
|
199
|
-
margin : 5px 0 0;
|
|
200
|
-
padding: 0;
|
|
201
|
-
background-color: rgba(0, 0, 0, 0.65) !important;
|
|
202
|
-
|
|
203
|
-
.ant-dropdown-menu-item {
|
|
204
|
-
padding: 24px 12px;
|
|
205
|
-
i {
|
|
206
|
-
font-size : 25px;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
i,
|
|
210
|
-
span {
|
|
211
|
-
color: #fff;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
span {
|
|
215
|
-
font-size : 24px;
|
|
216
|
-
margin-left: 16px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
&.ant-dropdown-menu-item-selected {
|
|
220
|
-
background-color: rgba(0, 0, 0, .3);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.ant-dropdown-menu-item-active {
|
|
225
|
-
background-color: rgba(0, 0, 0, .3);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|