tplus-portaltouch 3.25.4 → 3.25.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/dist/api/ModifyPassApi.js.map +1 -1
- package/dist/components/dutyandsettle/dutysettlebill.js.map +1 -1
- package/dist/components/dutyandsettle/dutysettlehistory.js +7 -7
- package/dist/components/dutyandsettle/dutysettlehistory.js.map +1 -1
- package/dist/components/dutyandsettle/index.js.map +1 -1
- package/dist/components/dutyandsettle/tipContent.js.map +1 -1
- package/dist/components/header/customUse.js.map +1 -1
- package/dist/components/header/headContent.js.map +1 -1
- package/dist/components/header/index.js +13 -13
- package/dist/components/header/index.js.map +1 -1
- package/dist/components/header/offlinePointDesc.js.map +1 -1
- package/dist/components/header/style.less +456 -456
- package/dist/components/header/themeModal.js.map +1 -1
- package/dist/components/header/uploadList.js +6 -6
- package/dist/components/header/uploadList.js.map +1 -1
- package/dist/components/header/vertical-touch.js.map +1 -1
- package/dist/components/header/vertical-touch.less +228 -228
- package/dist/containers/Main/index.js.map +1 -1
- package/dist/dutyService/index.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/middleWare/index.js.map +1 -1
- package/dist/modalRouter/StaticRouter.js.map +1 -1
- package/dist/modalRouter/index.js +8 -8
- package/dist/modalRouter/index.js.map +1 -1
- package/dist/pages/Modal/index.js.map +1 -1
- package/dist/pages/Modal/style.less +5 -5
- package/dist/pages/Portalbc/data.js +51 -7
- package/dist/pages/Portalbc/data.js.map +1 -1
- package/dist/pages/Portalbc/horizontalPadPortal.js.map +1 -1
- package/dist/pages/Portalbc/horizontalSunMiPortal.js.map +1 -1
- package/dist/pages/Portalbc/index.js +217 -116
- package/dist/pages/Portalbc/index.js.map +1 -1
- package/dist/pages/Portalbc/index.less +803 -777
- package/dist/pages/Portalbc/onframe.js.map +1 -1
- package/dist/pages/Portalbc/verticalPortal.js.map +1 -1
- package/dist/pages/dutyandsettle/AuthProcess.js.map +1 -1
- package/dist/pages/dutyandsettle/index.js.map +1 -1
- package/dist/pages/dutyandsettle/index.less +529 -529
- package/dist/pages/dutyandsettle/offDuty.js +7 -7
- package/dist/pages/dutyandsettle/offDuty.js.map +1 -1
- package/dist/pages/dutyandsettle/onDialy.js.map +1 -1
- package/dist/pages/dutyandsettle/onDuty.js.map +1 -1
- package/dist/pages/dutyandsettle/onUnDaily.js.map +1 -1
- package/dist/pages/dutyandsettle/settleDialy.js.map +1 -1
- package/dist/pages/index.js.map +1 -1
- package/dist/pages/modifyPass/index.js.map +1 -1
- package/dist/pages/modifyPass/style.less +71 -71
- package/dist/pages/notFound/index.js.map +1 -1
- package/dist/pages/notFound/style.less +17 -17
- package/dist/stores/ModalRouter.js.map +1 -1
- package/dist/stores/ModifyPassStore.js +4 -1
- package/dist/stores/ModifyPassStore.js.map +1 -1
- package/dist/stores/PortalStore.js +5 -5
- package/dist/stores/PortalStore.js.map +1 -1
- package/dist/stores/PosLoginStore.js.map +1 -1
- package/dist/stores/billHistoryStore.js.map +1 -1
- package/dist/stores/dutySettleStore.js.map +1 -1
- package/dist/stores/index.js.map +1 -1
- package/dist/utils/PrintProcess.js +10 -10
- package/dist/utils/PrintProcess.js.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/networkCheck.js.map +1 -1
- package/package.json +37 -37
- package/tsconfig.json +14 -14
|
@@ -49,12 +49,12 @@ var _inherits2 = require('babel-runtime/helpers/inherits');
|
|
|
49
49
|
|
|
50
50
|
var _inherits3 = _interopRequireDefault(_inherits2);
|
|
51
51
|
|
|
52
|
-
var _class, _class2, _temp; /*
|
|
53
|
-
* @Description:
|
|
54
|
-
* @Date: 2019-08-13 08:42:18
|
|
55
|
-
* @LastEditTime: 2021-
|
|
56
|
-
* @LastEditors: chenlongad
|
|
57
|
-
* @modify:修改跳转到T+的查询方案方式
|
|
52
|
+
var _class, _class2, _temp; /*
|
|
53
|
+
* @Description:
|
|
54
|
+
* @Date: 2019-08-13 08:42:18
|
|
55
|
+
* @LastEditTime: 2021-12-01 19:38:56
|
|
56
|
+
* @LastEditors: chenlongad
|
|
57
|
+
* @modify:修改跳转到T+的查询方案方式
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
60
|
|
|
@@ -135,44 +135,59 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
135
135
|
currentDay = Math.ceil(new Date() / 1000 / 60 / 60 / 24);
|
|
136
136
|
|
|
137
137
|
if (!(isLoginAfter == 1)) {
|
|
138
|
-
_context.next =
|
|
138
|
+
_context.next = 24;
|
|
139
139
|
break;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
if (!(!downloadCatcherDay || currentDay > downloadCatcherDay)) {
|
|
143
|
-
_context.next =
|
|
143
|
+
_context.next = 23;
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
_context.prev = 6;
|
|
148
|
+
|
|
147
149
|
downProgress = function downProgress(params) {
|
|
148
150
|
_tplusComponentsTouch.Loading.transfer(params);
|
|
149
151
|
};
|
|
150
152
|
|
|
151
153
|
_tplusComponentsTouch.Loading.show({
|
|
152
|
-
text: '
|
|
154
|
+
text: '离线数据下载中,请稍等...',
|
|
153
155
|
delay: 0,
|
|
154
156
|
showProgress: true
|
|
155
157
|
});
|
|
156
|
-
_context.next =
|
|
158
|
+
_context.next = 11;
|
|
157
159
|
return offlineSys.downloadCatcherData(downProgress);
|
|
158
160
|
|
|
159
|
-
case
|
|
161
|
+
case 11:
|
|
160
162
|
result = _context.sent;
|
|
161
163
|
|
|
164
|
+
if (result) _mutantsMicrofx.localStore.set("downloadCatcherDay", currentDay);
|
|
162
165
|
_tplusComponentsTouch.Loading.hide();
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
+
_context.next = 20;
|
|
167
|
+
break;
|
|
166
168
|
|
|
167
|
-
case
|
|
169
|
+
case 16:
|
|
170
|
+
_context.prev = 16;
|
|
171
|
+
_context.t0 = _context['catch'](6);
|
|
172
|
+
|
|
173
|
+
console.log('downloadCatcherData下载离线数据', _context.t0);
|
|
174
|
+
_tplusComponentsTouch.Loading.hide();
|
|
175
|
+
|
|
176
|
+
case 20:
|
|
177
|
+
_context.prev = 20;
|
|
178
|
+
|
|
179
|
+
_tplusComponentsTouch.Loading.hide();
|
|
180
|
+
return _context.finish(20);
|
|
181
|
+
|
|
182
|
+
case 23:
|
|
168
183
|
_mutantsMicrofx.localStore.set("isLoginAfter", 0);
|
|
169
184
|
|
|
170
|
-
case
|
|
185
|
+
case 24:
|
|
171
186
|
case 'end':
|
|
172
187
|
return _context.stop();
|
|
173
188
|
}
|
|
174
189
|
}
|
|
175
|
-
}, _callee, _this2);
|
|
190
|
+
}, _callee, _this2, [[6, 16, 20, 23]]);
|
|
176
191
|
}));
|
|
177
192
|
|
|
178
193
|
_this.getOperation = function () {
|
|
@@ -217,7 +232,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
217
232
|
|
|
218
233
|
case 7:
|
|
219
234
|
_tplusComponentsTouch.Loading.show({
|
|
220
|
-
text: '
|
|
235
|
+
text: '权限加载中,请稍等...',
|
|
221
236
|
delay: 2500
|
|
222
237
|
});
|
|
223
238
|
//权限加载
|
|
@@ -232,10 +247,16 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
232
247
|
case 13:
|
|
233
248
|
_context2.prev = 13;
|
|
234
249
|
_context2.t0 = _context2['catch'](8);
|
|
250
|
+
|
|
235
251
|
_tplusComponentsTouch.Loading.hide();
|
|
236
252
|
|
|
237
253
|
case 16:
|
|
254
|
+
_context2.prev = 16;
|
|
255
|
+
|
|
238
256
|
_tplusComponentsTouch.Loading.hide();
|
|
257
|
+
return _context2.finish(16);
|
|
258
|
+
|
|
259
|
+
case 19:
|
|
239
260
|
addClass && addClass(_this.state.id, 'portalHead');
|
|
240
261
|
// 初始化参数设置。
|
|
241
262
|
stores.setStore.initSetParams().then(function (ret) {
|
|
@@ -254,12 +275,12 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
254
275
|
});
|
|
255
276
|
_this.hsyBasicInfoInit();
|
|
256
277
|
|
|
257
|
-
case
|
|
278
|
+
case 22:
|
|
258
279
|
case 'end':
|
|
259
280
|
return _context2.stop();
|
|
260
281
|
}
|
|
261
282
|
}
|
|
262
|
-
}, _callee2, _this2, [[8, 13]]);
|
|
283
|
+
}, _callee2, _this2, [[8, 13, 16, 19]]);
|
|
263
284
|
}));
|
|
264
285
|
|
|
265
286
|
_this.initHsyPage = function () {
|
|
@@ -908,6 +929,15 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
908
929
|
|
|
909
930
|
_this.createLeftNode = function () {
|
|
910
931
|
var menu = _this.leftMenu;
|
|
932
|
+
var width = menu.length == 0 ? _this.isMobileEnvironment & !_this.isNewRetailBCPosTC ? 5 : 4 : 7;
|
|
933
|
+
if (menu.length == 0) {
|
|
934
|
+
return _react2.default.createElement(
|
|
935
|
+
_antd.Col,
|
|
936
|
+
{ xl: width, md: width, className: 'portal-left-col', key: 'left' },
|
|
937
|
+
_react2.default.createElement('div', { className: 'portal-left-content' })
|
|
938
|
+
);
|
|
939
|
+
// return null;
|
|
940
|
+
}
|
|
911
941
|
var menuNode = menu.map(function (v) {
|
|
912
942
|
return v.container ? _react2.default.createElement(
|
|
913
943
|
'div',
|
|
@@ -958,7 +988,15 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
958
988
|
v.icon && _react2.default.createElement(_tplusComponentsTouch.Ticon, { icon: v.icon })
|
|
959
989
|
);
|
|
960
990
|
});
|
|
961
|
-
return
|
|
991
|
+
return _react2.default.createElement(
|
|
992
|
+
_antd.Col,
|
|
993
|
+
{ xl: 7, md: 7, className: 'portal-left-col', key: 'left' },
|
|
994
|
+
_react2.default.createElement(
|
|
995
|
+
'div',
|
|
996
|
+
{ className: 'portal-left-content' },
|
|
997
|
+
menuNode
|
|
998
|
+
)
|
|
999
|
+
);
|
|
962
1000
|
};
|
|
963
1001
|
|
|
964
1002
|
_this.createCenterNode = function () {
|
|
@@ -1047,6 +1085,7 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
1047
1085
|
};
|
|
1048
1086
|
|
|
1049
1087
|
_this.createRightNode = function () {
|
|
1088
|
+
var width = _this.leftMenu.length == 0 ? _this.isMobileEnvironment & !_this.isNewRetailBCPosTC ? 9 : 10 : 7;
|
|
1050
1089
|
var node = _this.rightMenu.map(function (v) {
|
|
1051
1090
|
return v.container ? _react2.default.createElement(
|
|
1052
1091
|
'div',
|
|
@@ -1088,16 +1127,20 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
1088
1127
|
!!v.icon && _react2.default.createElement(_tplusComponentsTouch.Ticon, { icon: v.icon })
|
|
1089
1128
|
);
|
|
1090
1129
|
});
|
|
1091
|
-
return
|
|
1130
|
+
return _react2.default.createElement(
|
|
1131
|
+
_antd.Col,
|
|
1132
|
+
{ xl: width, md: width, className: 'portal-right-col', key: 'right' },
|
|
1133
|
+
_react2.default.createElement(
|
|
1134
|
+
'div',
|
|
1135
|
+
{ className: 'portal-right-content' },
|
|
1136
|
+
node
|
|
1137
|
+
)
|
|
1138
|
+
);
|
|
1092
1139
|
};
|
|
1093
1140
|
|
|
1094
1141
|
_this.createMoreNode = function () {
|
|
1095
|
-
var arrs = _this.
|
|
1096
|
-
|
|
1097
|
-
return vv.key == 'more';
|
|
1098
|
-
});
|
|
1099
|
-
}).sub[1];
|
|
1100
|
-
var items = _this.new_retail_app == 'cc' ? arrs.sub_cc : _this.new_retail_app == 'tc' || _this.new_retail_app == 'tczsy' || _this.new_retail_app == 'tcyzj' ? arrs.sub_tc : [];
|
|
1142
|
+
var arrs = _this.getMoreNodeInfo();
|
|
1143
|
+
var items = _this.isNewRetailBCPosTC ? arrs.sub_tc : arrs.sub_cc || [];
|
|
1101
1144
|
var node = items.length > 0 && items.map(function (v) {
|
|
1102
1145
|
return _react2.default.createElement(
|
|
1103
1146
|
'div',
|
|
@@ -1122,6 +1165,34 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
1122
1165
|
return node;
|
|
1123
1166
|
};
|
|
1124
1167
|
|
|
1168
|
+
_this.getMoreNodeInfo = function () {
|
|
1169
|
+
if (_this.isNewRetailBCPosTC) {
|
|
1170
|
+
if (_this.isMobileEnvironment) {
|
|
1171
|
+
return _this.centerRightMenu.find(function (vv) {
|
|
1172
|
+
return vv.key == 'more';
|
|
1173
|
+
}) || {};
|
|
1174
|
+
} else {
|
|
1175
|
+
return _this.centerRightMenu.find(function (v) {
|
|
1176
|
+
return v.sub && v.sub.find(function (vv) {
|
|
1177
|
+
return vv.key == 'more';
|
|
1178
|
+
});
|
|
1179
|
+
}).sub[1] || {};
|
|
1180
|
+
}
|
|
1181
|
+
} else {
|
|
1182
|
+
if (_this.isMobileEnvironment) {
|
|
1183
|
+
return _this.centerRightMenu.find(function (vv) {
|
|
1184
|
+
return vv.key == 'more';
|
|
1185
|
+
}) || {};
|
|
1186
|
+
} else {
|
|
1187
|
+
return _this.centerRightMenu.find(function (v) {
|
|
1188
|
+
return v.sub && v.sub.find(function (vv) {
|
|
1189
|
+
return vv.key == 'more';
|
|
1190
|
+
});
|
|
1191
|
+
}).sub[1] || {};
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1125
1196
|
_this.hasElectron = hasElectron;
|
|
1126
1197
|
_this.state = {
|
|
1127
1198
|
id: Date.now(),
|
|
@@ -1153,17 +1224,10 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
1153
1224
|
_this.new_retail_app = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('newRetailAppType');
|
|
1154
1225
|
|
|
1155
1226
|
//首页布局
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
leftMenuTC = _data2.default.leftMenuTC,
|
|
1161
|
-
rightMenuTC = _data2.default.rightMenuTC;
|
|
1162
|
-
|
|
1163
|
-
_this.leftMenu = isNewRetailBCPosTC ? leftMenuTC : leftMenu;
|
|
1164
|
-
_this.centerLeftMenu = centerLeftMenu;
|
|
1165
|
-
_this.centerRightMenu = centerRightMenu;
|
|
1166
|
-
_this.rightMenu = isNewRetailBCPosTC ? rightMenuTC : rightMenu;
|
|
1227
|
+
_this.leftMenu = _this.getMenuByPosition('left');
|
|
1228
|
+
_this.centerLeftMenu = _this.getMenuByPosition('centerLeft');
|
|
1229
|
+
_this.centerRightMenu = _this.getMenuByPosition('centerRight');
|
|
1230
|
+
_this.rightMenu = _this.getMenuByPosition('right');
|
|
1167
1231
|
_this.hsy_domain = _tplusApi.User && _tplusApi.User.getWebEntry();
|
|
1168
1232
|
_this.randomWord = _this.randomWord.bind(_this);
|
|
1169
1233
|
(0, _mobx.autorun)(function () {
|
|
@@ -1173,6 +1237,58 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
1173
1237
|
}
|
|
1174
1238
|
|
|
1175
1239
|
(0, _createClass3.default)(_default, [{
|
|
1240
|
+
key: 'getMenuByPosition',
|
|
1241
|
+
value: function getMenuByPosition(position) {
|
|
1242
|
+
var leftMenu = _data2.default.leftMenu,
|
|
1243
|
+
centerLeftMenu = _data2.default.centerLeftMenu,
|
|
1244
|
+
centerRightMenu = _data2.default.centerRightMenu,
|
|
1245
|
+
rightMenu = _data2.default.rightMenu,
|
|
1246
|
+
leftMenuTC = _data2.default.leftMenuTC,
|
|
1247
|
+
rightMenuTC = _data2.default.rightMenuTC,
|
|
1248
|
+
centerLeftMenuMobileCC = _data2.default.centerLeftMenuMobileCC,
|
|
1249
|
+
centerLeftMenuMobileTC = _data2.default.centerLeftMenuMobileTC,
|
|
1250
|
+
centerRightMenuMobileCC = _data2.default.centerRightMenuMobileCC,
|
|
1251
|
+
centerRightMenuMobileTC = _data2.default.centerRightMenuMobileTC,
|
|
1252
|
+
rightMenuMobileTC = _data2.default.rightMenuMobileTC,
|
|
1253
|
+
rightMenuMobileCC = _data2.default.rightMenuMobileCC;
|
|
1254
|
+
|
|
1255
|
+
switch (position) {
|
|
1256
|
+
case "left":
|
|
1257
|
+
{
|
|
1258
|
+
return this.getMenuByEnvironment(leftMenu, leftMenuTC, [], []);
|
|
1259
|
+
}
|
|
1260
|
+
case "centerLeft":
|
|
1261
|
+
{
|
|
1262
|
+
return this.getMenuByEnvironment(centerLeftMenu, centerLeftMenu, centerLeftMenuMobileTC, centerLeftMenuMobileCC);
|
|
1263
|
+
}
|
|
1264
|
+
case "centerRight":
|
|
1265
|
+
{
|
|
1266
|
+
return this.getMenuByEnvironment(centerRightMenu, centerRightMenu, centerRightMenuMobileTC, centerRightMenuMobileCC);
|
|
1267
|
+
}
|
|
1268
|
+
case "right":
|
|
1269
|
+
{
|
|
1270
|
+
return this.getMenuByEnvironment(rightMenu, rightMenuTC, rightMenuMobileTC, rightMenuMobileCC);
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
}, {
|
|
1275
|
+
key: 'getMenuByEnvironment',
|
|
1276
|
+
value: function getMenuByEnvironment(ccMenu, tcMenu, tcMobilMenu, ccMobilMenu) {
|
|
1277
|
+
if (this.isNewRetailBCPosTC) {
|
|
1278
|
+
if (this.isMobileEnvironment) {
|
|
1279
|
+
return tcMobilMenu;
|
|
1280
|
+
} else {
|
|
1281
|
+
return tcMenu;
|
|
1282
|
+
}
|
|
1283
|
+
} else {
|
|
1284
|
+
if (this.isMobileEnvironment) {
|
|
1285
|
+
return ccMobilMenu;
|
|
1286
|
+
} else {
|
|
1287
|
+
return ccMenu;
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
}, {
|
|
1176
1292
|
key: 'componentDidMount',
|
|
1177
1293
|
value: function componentDidMount() {
|
|
1178
1294
|
this.initPageData();
|
|
@@ -1270,88 +1386,73 @@ var _default = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (_C
|
|
|
1270
1386
|
|
|
1271
1387
|
var screenHeight = window.screen.availHeight - 100;
|
|
1272
1388
|
var htmlContent = null;
|
|
1273
|
-
if (this.isVerticalTouch) {
|
|
1274
|
-
|
|
1275
|
-
} else if (this.isHorizontalPad) {
|
|
1276
|
-
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1389
|
+
// if (this.isVerticalTouch) {
|
|
1390
|
+
// htmlContent = <VerticalPortal handelClick={this.handelClick} />
|
|
1391
|
+
// } else if (this.isHorizontalPad) {
|
|
1392
|
+
// htmlContent = <HorizontalPadPortal handelClick={this.handelClick} />
|
|
1393
|
+
// }
|
|
1394
|
+
// else {
|
|
1395
|
+
htmlContent = _react2.default.createElement(
|
|
1396
|
+
_tplusComponentsTouch.Layout,
|
|
1397
|
+
{ style: { height: '100%' }, className: 'portal-content' },
|
|
1398
|
+
_react2.default.createElement(
|
|
1399
|
+
Content,
|
|
1400
|
+
{ style: { paddingLeft: '50px', paddingRight: '50px' }, className: 'portal-container' },
|
|
1281
1401
|
_react2.default.createElement(
|
|
1282
|
-
|
|
1283
|
-
{
|
|
1402
|
+
_antd.Row,
|
|
1403
|
+
{ className: 'portal-content-row' },
|
|
1404
|
+
this.createLeftNode(),
|
|
1284
1405
|
_react2.default.createElement(
|
|
1285
|
-
_antd.
|
|
1286
|
-
|
|
1406
|
+
_antd.Col,
|
|
1407
|
+
{ xl: 10, md: 10, className: 'portal-center-col', key: 'center' },
|
|
1287
1408
|
_react2.default.createElement(
|
|
1288
|
-
|
|
1289
|
-
{
|
|
1290
|
-
|
|
1291
|
-
'div',
|
|
1292
|
-
{ className: 'portal-left-content' },
|
|
1293
|
-
this.createLeftNode()
|
|
1294
|
-
)
|
|
1295
|
-
),
|
|
1296
|
-
_react2.default.createElement(
|
|
1297
|
-
_antd.Col,
|
|
1298
|
-
{ xl: 10, md: 10, className: 'portal-center-col', key: 'center' },
|
|
1299
|
-
_react2.default.createElement(
|
|
1300
|
-
'div',
|
|
1301
|
-
{ className: 'portal-center-content' },
|
|
1302
|
-
this.createCenterNode()
|
|
1303
|
-
)
|
|
1304
|
-
),
|
|
1305
|
-
_react2.default.createElement(
|
|
1306
|
-
_antd.Col,
|
|
1307
|
-
{ xl: 7, md: 7, className: 'portal-right-col', key: 'right' },
|
|
1308
|
-
_react2.default.createElement(
|
|
1309
|
-
'div',
|
|
1310
|
-
{ className: 'portal-right-content' },
|
|
1311
|
-
this.createRightNode()
|
|
1312
|
-
)
|
|
1409
|
+
'div',
|
|
1410
|
+
{ className: 'portal-center-content' },
|
|
1411
|
+
this.createCenterNode()
|
|
1313
1412
|
)
|
|
1314
|
-
)
|
|
1315
|
-
|
|
1316
|
-
_react2.default.createElement(
|
|
1317
|
-
'div',
|
|
1318
|
-
{ className: loadHsyPage ? 'portal-hsy-tc-container' : 'portal-hsy-tc-container portal-hsy-tc-container-hide' },
|
|
1319
|
-
_react2.default.createElement('iframe', { src: loadHsyURL, width: '100%', height: '93%', frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true', id: 'external-frame-cc' })
|
|
1320
|
-
),
|
|
1321
|
-
_react2.default.createElement(
|
|
1322
|
-
'div',
|
|
1323
|
-
{ className: loadTcPage ? 'portal-hsy-tc-container' : 'portal-hsy-tc-container portal-hsy-tc-container-hide' },
|
|
1324
|
-
_react2.default.createElement('iframe', { src: loadTcURL, width: '100%', height: '93%', frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true', id: 'external-frame-tc' })
|
|
1325
|
-
),
|
|
1326
|
-
this.isMobileEnvironment && _react2.default.createElement(
|
|
1327
|
-
_antd.Modal,
|
|
1328
|
-
{
|
|
1329
|
-
visible: showModal,
|
|
1330
|
-
onCancel: this.closeFrameModal,
|
|
1331
|
-
width: '99%',
|
|
1332
|
-
height: '99%',
|
|
1333
|
-
footer: null
|
|
1334
|
-
},
|
|
1335
|
-
_react2.default.createElement('iframe', { src: modalURL, width: '100%', height: screenHeight, frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true' })
|
|
1336
|
-
),
|
|
1337
|
-
_react2.default.createElement(
|
|
1338
|
-
_antd.Modal,
|
|
1339
|
-
{
|
|
1340
|
-
title: '更多',
|
|
1341
|
-
className: 'portal-container-modal-more',
|
|
1342
|
-
visible: showMoreModal,
|
|
1343
|
-
onCancel: this.closeMoreModal,
|
|
1344
|
-
width: 800,
|
|
1345
|
-
height: 375,
|
|
1346
|
-
footer: null,
|
|
1347
|
-
centered: true,
|
|
1348
|
-
maskClosable: false,
|
|
1349
|
-
keyboard: false
|
|
1350
|
-
},
|
|
1351
|
-
this.createMoreNode()
|
|
1413
|
+
),
|
|
1414
|
+
this.createRightNode()
|
|
1352
1415
|
)
|
|
1353
|
-
)
|
|
1354
|
-
|
|
1416
|
+
),
|
|
1417
|
+
_react2.default.createElement(
|
|
1418
|
+
'div',
|
|
1419
|
+
{ className: loadHsyPage ? 'portal-hsy-tc-container' : 'portal-hsy-tc-container portal-hsy-tc-container-hide' },
|
|
1420
|
+
_react2.default.createElement('iframe', { src: loadHsyURL, width: '100%', height: '93%', frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true', id: 'external-frame-cc' })
|
|
1421
|
+
),
|
|
1422
|
+
_react2.default.createElement(
|
|
1423
|
+
'div',
|
|
1424
|
+
{ className: loadTcPage ? 'portal-hsy-tc-container' : 'portal-hsy-tc-container portal-hsy-tc-container-hide' },
|
|
1425
|
+
_react2.default.createElement('iframe', { src: loadTcURL, width: '100%', height: '93%', frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true', id: 'external-frame-tc' })
|
|
1426
|
+
),
|
|
1427
|
+
this.isMobileEnvironment && _react2.default.createElement(
|
|
1428
|
+
_antd.Modal,
|
|
1429
|
+
{
|
|
1430
|
+
visible: showModal,
|
|
1431
|
+
onCancel: this.closeFrameModal,
|
|
1432
|
+
width: '99%',
|
|
1433
|
+
height: '99%',
|
|
1434
|
+
footer: null
|
|
1435
|
+
},
|
|
1436
|
+
_react2.default.createElement('iframe', { src: modalURL, width: '100%', height: screenHeight, frameborder: 'no', border: '0', marginwidth: '0', marginheight: '0', scrolling: 'yes', allowtransparency: 'true' })
|
|
1437
|
+
),
|
|
1438
|
+
_react2.default.createElement(
|
|
1439
|
+
_antd.Modal,
|
|
1440
|
+
{
|
|
1441
|
+
title: '更多',
|
|
1442
|
+
className: 'portal-container-modal-more',
|
|
1443
|
+
visible: showMoreModal,
|
|
1444
|
+
onCancel: this.closeMoreModal,
|
|
1445
|
+
width: 800,
|
|
1446
|
+
height: 375,
|
|
1447
|
+
footer: null,
|
|
1448
|
+
centered: true,
|
|
1449
|
+
maskClosable: false,
|
|
1450
|
+
keyboard: false
|
|
1451
|
+
},
|
|
1452
|
+
this.createMoreNode()
|
|
1453
|
+
)
|
|
1454
|
+
);
|
|
1455
|
+
// }
|
|
1355
1456
|
return htmlContent;
|
|
1356
1457
|
}
|
|
1357
1458
|
}]);
|