Auto Submit

dev_local_v9_test4
autosubmit 2 years ago
parent 4393ff847d
commit d89b8aabc3

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.4371957c.js"></script>
<script src="/react/build/umi.9c6e34f4.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

@ -1,150 +0,0 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[75786],{
/***/ 75011:
/*!************************************************************!*\
!*** ./src/layouts/LoginAndRegister/index.tsx + 1 modules ***!
\************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ layouts_LoginAndRegister; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/layouts/LoginAndRegister/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var LoginAndRegistermodules = ({"bg":"bg___jd0Hp","logo":"logo___ROAyE","outLetWrapper":"outLetWrapper___g0uSd","quickLogin":"quickLogin___ilamT","text":"text___Z9Y9R","dot":"dot___XM0SF","icon":"icon___mymBj","wx":"wx___mWm0f","qq":"qq___X5Onh","qrcodeModal":"qrcodeModal___p_trY"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(28679);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(92818);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(14103);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/layouts/LoginAndRegister/index.tsx
var HOST = window.location.host;
var redirect_uri = env/* default */.Z.QQLoginCB;
function onQQLogin() {
if ((0,util/* isPc */.b9)()) {
window.location.href = "https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(redirect_uri, "%2fotherloginqq&state=null,").concat(HOST, "&response_type=code");
} else {
(0,util/* openNewWindow */.xg)("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=".concat(redirect_uri, "%2fotherloginqq&state=null,").concat(HOST, "&response_type=code"));
}
}
function onWechatLogin() {
modal/* default */.Z.info({
icon: null,
closable: true,
centered: true,
maskClosable: true,
className: LoginAndRegistermodules.qrcodeModal,
content: /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", {
frameBorder: "0",
sandbox: "allow-scripts allow-same-origin allow-top-navigation",
scrolling: "no",
src: "https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=".concat(redirect_uri, "%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(HOST, "#wechat_redirect")
})
});
}
var LoginAndRegister = function LoginAndRegister(_ref) {
var _globalSetting$settin, _globalSetting$settin2, _globalSetting$settin3;
var globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch;
(0,_react_17_0_2_react.useEffect)(function () {
if (!globalSetting.setting) {
dispatch({
type: 'globalSetting/query'
});
}
}, []);
var is_main_site = (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.main_site;
var login_logo_url = (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.login_logo_url;
var is_local = (_globalSetting$settin3 = globalSetting.setting) === null || _globalSetting$settin3 === void 0 ? void 0 : _globalSetting$settin3.is_local;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: LoginAndRegistermodules.bg,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
className: LoginAndRegistermodules.logo,
justify: "center",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
alt: "logo",
src: login_logo_url ? "".concat(env/* default */.Z.IMG_SERVER, "/").concat(login_logo_url) : '',
onClick: function onClick() {
return _umi_production_exports.history.push('/');
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: LoginAndRegistermodules.outLetWrapper,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
gutter: 8,
className: LoginAndRegistermodules.quickLogin,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: 1,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: LoginAndRegistermodules.dot
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: LoginAndRegistermodules.text,
children: "\u5FEB\u901F\u767B\u5F55"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: 1,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: LoginAndRegistermodules.dot
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
justify: "center",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u4F7F\u7528\u5FAE\u4FE1\u8D26\u53F7\u767B\u5F55",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(LoginAndRegistermodules.icon, " ").concat(LoginAndRegistermodules.wx),
onClick: onWechatLogin
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u4F7F\u7528QQ\u8D26\u53F7\u767B\u5F55",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(LoginAndRegistermodules.icon, " ").concat(LoginAndRegistermodules.qq),
onClick: onQQLogin
})
})
})]
})]
})]
});
};
/* harmony default export */ var layouts_LoginAndRegister = ((0,_umi_production_exports.connect)(function (_ref2) {
var globalSetting = _ref2.globalSetting;
return {
globalSetting: globalSetting
};
})(LoginAndRegister));
/***/ })
}]);

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>头歌实践教学平台</title>
<title></title>
<!-- <link id="dynamic-favicon" rel="shortcut icon"
href="https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202"> -->
</head>

@ -655,7 +655,7 @@ var CollegesPage = function CollegesPage(_ref) {
});
case 2:
res = _context.sent;
(0,util/* setDocumentTitle */.Dk)((res === null || res === void 0 ? void 0 : res.school) || '');
(0,util/* setDocumentTitle */.Dk)((res === null || res === void 0 ? void 0 : res.school) || '实践教学平台');
setHeadData(res || {});
case 5:
case "end":

@ -4225,7 +4225,7 @@ var IndexPage = function IndexPage(_ref) {
(0,_react_17_0_2_react.useEffect)(function () {
var _globalSetting$settin;
(0,util/* setDocumentTitle */.Dk)((globalSetting === null || globalSetting === void 0 || (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.name) || '');
(0,util/* setDocumentTitle */.Dk)((globalSetting === null || globalSetting === void 0 || (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.name) || '实践教学平台');
}, [globalSetting.setting]);
function getHomeNotice() {
return _getHomeNotice.apply(this, arguments);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save