tplus-portaltouch 3.23.1 → 3.23.5

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.
Files changed (80) hide show
  1. package/dist/api/ModifyPassApi.js +1 -1
  2. package/dist/api/ModifyPassApi.js.map +1 -1
  3. package/dist/components/dutyandsettle/dutysettlebill.js.map +1 -1
  4. package/dist/components/dutyandsettle/dutysettlehistory.js +45 -66
  5. package/dist/components/dutyandsettle/dutysettlehistory.js.map +1 -1
  6. package/dist/components/dutyandsettle/index.js.map +1 -1
  7. package/dist/components/dutyandsettle/tipContent.js.map +1 -1
  8. package/dist/components/header/customUse.js.map +1 -1
  9. package/dist/components/header/headContent.js +508 -38
  10. package/dist/components/header/headContent.js.map +1 -1
  11. package/dist/components/header/index.js +13 -13
  12. package/dist/components/header/index.js.map +1 -1
  13. package/dist/components/header/offlinePointDesc.js +7 -0
  14. package/dist/components/header/offlinePointDesc.js.map +1 -0
  15. package/dist/components/header/style.less +456 -351
  16. package/dist/components/header/themeModal.js.map +1 -1
  17. package/dist/components/header/uploadList.js +271 -0
  18. package/dist/components/header/uploadList.js.map +1 -0
  19. package/dist/components/header/vertical-touch.js.map +1 -1
  20. package/dist/components/header/vertical-touch.less +228 -228
  21. package/dist/containers/Main/index.js +17 -18
  22. package/dist/containers/Main/index.js.map +1 -1
  23. package/dist/dutyService/index.js.map +1 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/middleWare/index.js.map +1 -1
  26. package/dist/modalRouter/StaticRouter.js.map +1 -1
  27. package/dist/modalRouter/index.js +8 -8
  28. package/dist/modalRouter/index.js.map +1 -1
  29. package/dist/pages/Modal/index.js.map +1 -1
  30. package/dist/pages/Modal/style.less +5 -5
  31. package/dist/pages/Portalbc/data.js +60 -31
  32. package/dist/pages/Portalbc/data.js.map +1 -1
  33. package/dist/pages/Portalbc/horizontalPadPortal.js.map +1 -1
  34. package/dist/pages/Portalbc/horizontalSunMiPortal.js.map +1 -1
  35. package/dist/pages/Portalbc/index.js +470 -300
  36. package/dist/pages/Portalbc/index.js.map +1 -1
  37. package/dist/pages/Portalbc/index.less +777 -732
  38. package/dist/pages/Portalbc/onframe.js.map +1 -1
  39. package/dist/pages/Portalbc/verticalPortal.js +3 -1
  40. package/dist/pages/Portalbc/verticalPortal.js.map +1 -1
  41. package/dist/pages/dutyandsettle/AuthProcess.js.map +1 -1
  42. package/dist/pages/dutyandsettle/index.js.map +1 -1
  43. package/dist/pages/dutyandsettle/index.less +529 -529
  44. package/dist/pages/dutyandsettle/offDuty.js +89 -104
  45. package/dist/pages/dutyandsettle/offDuty.js.map +1 -1
  46. package/dist/pages/dutyandsettle/onDialy.js.map +1 -1
  47. package/dist/pages/dutyandsettle/onDuty.js.map +1 -1
  48. package/dist/pages/dutyandsettle/onUnDaily.js.map +1 -1
  49. package/dist/pages/dutyandsettle/settleDialy.js.map +1 -1
  50. package/dist/pages/index.js.map +1 -1
  51. package/dist/pages/modifyPass/index.js.map +1 -1
  52. package/dist/pages/modifyPass/style.less +71 -71
  53. package/dist/pages/notFound/index.js.map +1 -1
  54. package/dist/pages/notFound/style.less +17 -17
  55. package/dist/stores/ModalRouter.js.map +1 -1
  56. package/dist/stores/ModifyPassStore.js.map +1 -1
  57. package/dist/stores/PortalStore.js +5 -5
  58. package/dist/stores/PortalStore.js.map +1 -1
  59. package/dist/stores/PosLoginStore.js.map +1 -1
  60. package/dist/stores/billHistoryStore.js.map +1 -1
  61. package/dist/stores/dutySettleStore.js.map +1 -1
  62. package/dist/stores/index.js.map +1 -1
  63. package/dist/utils/PrintProcess.js +10 -10
  64. package/dist/utils/PrintProcess.js.map +1 -1
  65. package/dist/utils/index.js.map +1 -1
  66. package/dist/utils/networkCheck.js +8 -6
  67. package/dist/utils/networkCheck.js.map +1 -1
  68. package/package.json +2 -2
  69. package/tsconfig.json +14 -14
  70. package/dist/pages/Portal/data.js +0 -32
  71. package/dist/pages/Portal/data.js.map +0 -1
  72. package/dist/pages/Portal/horizontalPadPortal.js +0 -129
  73. package/dist/pages/Portal/horizontalPadPortal.js.map +0 -1
  74. package/dist/pages/Portal/horizontalSunMiPortal.js +0 -130
  75. package/dist/pages/Portal/horizontalSunMiPortal.js.map +0 -1
  76. package/dist/pages/Portal/index.js +0 -856
  77. package/dist/pages/Portal/index.js.map +0 -1
  78. package/dist/pages/Portal/index.less +0 -612
  79. package/dist/pages/Portal/verticalPortal.js +0 -126
  80. package/dist/pages/Portal/verticalPortal.js.map +0 -1
@@ -1,229 +1,229 @@
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
- }
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
229
  }
@@ -80,10 +80,6 @@ var _header = require('../../components/header');
80
80
 
81
81
  var _header2 = _interopRequireDefault(_header);
82
82
 
83
- var _Portal = require('../../pages/Portal');
84
-
85
- var _Portal2 = _interopRequireDefault(_Portal);
86
-
87
83
  var _Portalbc = require('../../pages/Portalbc');
88
84
 
89
85
  var _Portalbc2 = _interopRequireDefault(_Portalbc);
@@ -209,7 +205,7 @@ var MainContainer = (0, _mobxReact.observer)(_class = (_temp = _class2 = functio
209
205
 
210
206
  var bcParams = isNewRetailBCPos ? '-bc' : '';
211
207
  var theme = _mutantsMicrofx.stores.portalStore.themeStore;
212
- var defualtImage = isVerticalTouch === true ? 'https://newretail.static.chanjet.com/tinified/logo' + bcParams + '.png' : 'https://newretail.static.chanjet.com/' + (!hsy_s && isPortal || theme === 'dark' && !isLogin ? 'protal-chanjet' : 'chanjet') + '-logo' + bcParams + '.png';
208
+ var defualtImage = isVerticalTouch === true ? 'https://newretail.static.chanjet.com/tinified/logo' + bcParams + '.png' : 'https://newretail.static.chanjet.com/' + (!hsy_s && isPortal || theme === 'dark' && !isLogin ? 'protal-chanjet' : 'chanjet') + '-logo' + bcParams + '.png?v=1';
213
209
  if (hsy_s === true) {
214
210
  return _react2.default.createElement(
215
211
  'div',
@@ -435,17 +431,20 @@ var MainContainer = (0, _mobxReact.observer)(_class = (_temp = _class2 = functio
435
431
  _tplusApi.User.logout();
436
432
  break;
437
433
  case 'modifypass':
438
- _mutantsMicrofx.stores.modalRouter.show({
439
- url: '/modifypass',
440
- title: '修改密码',
441
- className: 'modify-password',
442
- width: 402,
443
- footer: footer, modalType: 'mid',
444
- onHide: function onHide() {
445
- return _mutantsMicrofx.stores.modalRouter.hide('/modifypass');
446
- },
447
- destroyOnClose: true
448
- });
434
+ {
435
+ if (!_mutantsMicrofx.stores.offlineSys.shouldInOffline()) return;
436
+ _mutantsMicrofx.stores.modalRouter.show({
437
+ url: '/modifypass',
438
+ title: '修改密码',
439
+ className: 'modify-password',
440
+ width: 402,
441
+ footer: footer, modalType: 'mid',
442
+ onHide: function onHide() {
443
+ return _mutantsMicrofx.stores.modalRouter.hide('/modifypass');
444
+ },
445
+ destroyOnClose: true
446
+ });
447
+ }
449
448
  break;
450
449
  default:
451
450
  _mutantsMicrofx.history.push('/' + key);
@@ -538,7 +537,7 @@ var MainContainer = (0, _mobxReact.observer)(_class = (_temp = _class2 = functio
538
537
  _tplusComponentsTouch.ModalWraper.confirm({
539
538
  className: 'tplus-confirm-modal',
540
539
  title: "温馨提示",
541
- content: 'T+新零售POS端不允许浏览器直接访问,请从T+产品中下载安装客户端程序使用!',
540
+ content: '智+新零售POS端不允许浏览器直接访问,请从智+产品中下载安装客户端程序使用!',
542
541
  cancelable: false,
543
542
  onOk: function onOk() {
544
543
  (0, _index.closeWebPage)();
@@ -632,7 +631,7 @@ var MainContainer = (0, _mobxReact.observer)(_class = (_temp = _class2 = functio
632
631
  _react2.default.createElement(
633
632
  _tplusComponentsTouch.Layout.Content,
634
633
  null,
635
- this.props.match.isExact ? isNewRetailBCPos ? _react2.default.createElement(_Portalbc2.default, null) : _react2.default.createElement(_Portal2.default, null) : _react2.default.createElement(
634
+ this.props.match.isExact ? _react2.default.createElement(_Portalbc2.default, null) : _react2.default.createElement(
636
635
  _mutantsMicrofx.Switch,
637
636
  null,
638
637
  this.props.routes