glcc地址栏优化

This commit is contained in:
谢思 2022-06-29 14:27:54 +08:00
parent edf2777215
commit 393f167133
12 changed files with 144 additions and 11 deletions

View File

@ -66,7 +66,7 @@
"static/css/44.432fe0e8.chunk.css": "/react/build/static/css/44.432fe0e8.chunk.css",
"./static/js/44.587f82cb.chunk.js": "/react/build/./static/js/44.587f82cb.chunk.js",
"static/css/45.b96984b7.chunk.css": "/react/build/static/css/45.b96984b7.chunk.css",
"./static/js/45.dc33ddde.chunk.js": "/react/build/./static/js/45.dc33ddde.chunk.js",
"./static/js/45.82d91025.chunk.js": "/react/build/./static/js/45.82d91025.chunk.js",
"static/css/46.432fe0e8.chunk.css": "/react/build/static/css/46.432fe0e8.chunk.css",
"./static/js/46.ab5206b0.chunk.js": "/react/build/./static/js/46.ab5206b0.chunk.js",
"static/css/47.432fe0e8.chunk.css": "/react/build/static/css/47.432fe0e8.chunk.css",
@ -76,12 +76,12 @@
"static/css/49.23e457c6.chunk.css": "/react/build/static/css/49.23e457c6.chunk.css",
"./static/js/49.9d3ffc78.chunk.js": "/react/build/./static/js/49.9d3ffc78.chunk.js",
"static/css/50.e89f0956.chunk.css": "/react/build/static/css/50.e89f0956.chunk.css",
"./static/js/50.f195819a.chunk.js": "/react/build/./static/js/50.f195819a.chunk.js",
"./static/js/50.db04e8e8.chunk.js": "/react/build/./static/js/50.db04e8e8.chunk.js",
"static/css/51.603371ff.chunk.css": "/react/build/static/css/51.603371ff.chunk.css",
"./static/js/51.ec06ce35.chunk.js": "/react/build/./static/js/51.ec06ce35.chunk.js",
"./static/js/52.132dfb7a.chunk.js": "/react/build/./static/js/52.132dfb7a.chunk.js",
"static/css/53.6436558f.chunk.css": "/react/build/static/css/53.6436558f.chunk.css",
"./static/js/53.c52606a5.chunk.js": "/react/build/./static/js/53.c52606a5.chunk.js",
"./static/js/53.035ef3bb.chunk.js": "/react/build/./static/js/53.035ef3bb.chunk.js",
"static/css/54.d55eee2b.chunk.css": "/react/build/static/css/54.d55eee2b.chunk.css",
"./static/js/54.d770eca2.chunk.js": "/react/build/./static/js/54.d770eca2.chunk.js",
"static/css/55.d55eee2b.chunk.css": "/react/build/static/css/55.d55eee2b.chunk.css",
@ -96,7 +96,7 @@
"./static/js/59.d4f12fa9.chunk.js": "/react/build/./static/js/59.d4f12fa9.chunk.js",
"./static/js/60.08d51a4d.chunk.js": "/react/build/./static/js/60.08d51a4d.chunk.js",
"static/css/61.7b8a6eb0.chunk.css": "/react/build/static/css/61.7b8a6eb0.chunk.css",
"./static/js/61.ec048a84.chunk.js": "/react/build/./static/js/61.ec048a84.chunk.js",
"./static/js/61.11113cfa.chunk.js": "/react/build/./static/js/61.11113cfa.chunk.js",
"./static/js/62.6436b159.chunk.js": "/react/build/./static/js/62.6436b159.chunk.js",
"static/css/63.2b4fa75d.chunk.css": "/react/build/static/css/63.2b4fa75d.chunk.css",
"./static/js/63.a916add2.chunk.js": "/react/build/./static/js/63.a916add2.chunk.js",
@ -167,7 +167,7 @@
"static/css/104.a56d4b4c.chunk.css": "/react/build/static/css/104.a56d4b4c.chunk.css",
"./static/js/104.81c28fba.chunk.js": "/react/build/./static/js/104.81c28fba.chunk.js",
"static/css/105.2646da34.chunk.css": "/react/build/static/css/105.2646da34.chunk.css",
"./static/js/105.75cfd823.chunk.js": "/react/build/./static/js/105.75cfd823.chunk.js",
"./static/js/105.a4d98f60.chunk.js": "/react/build/./static/js/105.a4d98f60.chunk.js",
"./static/js/106.b8401527.chunk.js": "/react/build/./static/js/106.b8401527.chunk.js",
"./static/js/107.782f49e4.chunk.js": "/react/build/./static/js/107.782f49e4.chunk.js",
"./static/js/108.e9a6aa0f.chunk.js": "/react/build/./static/js/108.e9a6aa0f.chunk.js",
@ -191,7 +191,7 @@
"static/css/119.41b8aabd.chunk.css": "/react/build/static/css/119.41b8aabd.chunk.css",
"./static/js/119.9e386d01.chunk.js": "/react/build/./static/js/119.9e386d01.chunk.js",
"static/css/120.142cff28.chunk.css": "/react/build/static/css/120.142cff28.chunk.css",
"./static/js/120.13b3d6f5.chunk.js": "/react/build/./static/js/120.13b3d6f5.chunk.js",
"./static/js/120.08e0879e.chunk.js": "/react/build/./static/js/120.08e0879e.chunk.js",
"./static/js/121.9ba6fc58.chunk.js": "/react/build/./static/js/121.9ba6fc58.chunk.js",
"static/css/122.11a04942.chunk.css": "/react/build/static/css/122.11a04942.chunk.css",
"./static/js/122.fcf98abe.chunk.js": "/react/build/./static/js/122.fcf98abe.chunk.js",
@ -299,8 +299,8 @@
"./static/js/207.c07978ed.chunk.js": "/react/build/./static/js/207.c07978ed.chunk.js",
"./static/js/208.8b78c760.chunk.js": "/react/build/./static/js/208.8b78c760.chunk.js",
"main.css": "/react/build/static/css/main.5260e1d5.chunk.css",
"main.js": "/react/build/./static/js/main.70d54e47.chunk.js",
"runtime~main.js": "/react/build/./static/js/runtime~main.ca3ecda7.js",
"main.js": "/react/build/./static/js/main.74df89cd.chunk.js",
"runtime~main.js": "/react/build/./static/js/runtime~main.50ee7798.js",
"./static/js/131.b72be66a.chunk.js.LICENSE.txt": "/react/build/./static/js/131.b72be66a.chunk.js.LICENSE.txt",
"./static/js/161.a485bfee.chunk.js.LICENSE.txt": "/react/build/./static/js/161.a485bfee.chunk.js.LICENSE.txt",
"./static/js/203.95f56f45.chunk.js.LICENSE.txt": "/react/build/./static/js/203.95f56f45.chunk.js.LICENSE.txt",
@ -308,7 +308,7 @@
"./static/js/37.3fe674f6.chunk.js.LICENSE.txt": "/react/build/./static/js/37.3fe674f6.chunk.js.LICENSE.txt",
"./static/js/5.ab9433b7.chunk.js.LICENSE.txt": "/react/build/./static/js/5.ab9433b7.chunk.js.LICENSE.txt",
"./static/js/9.82653a40.chunk.js.LICENSE.txt": "/react/build/./static/js/9.82653a40.chunk.js.LICENSE.txt",
"./static/js/main.70d54e47.chunk.js.LICENSE.txt": "/react/build/./static/js/main.70d54e47.chunk.js.LICENSE.txt",
"./static/js/main.74df89cd.chunk.js.LICENSE.txt": "/react/build/./static/js/main.74df89cd.chunk.js.LICENSE.txt",
"css.worker.js": "/react/build/css.worker.js",
"editor.worker.js": "/react/build/editor.worker.js",
"html.worker.js": "/react/build/html.worker.js",

View File

@ -1 +1 @@
<!doctype html><html lang="zh-CN" class="notranslate translated-ltr" translate="no"><head><meta charset="utf-8"><meta name="”Keywords”" content="”trustie,trustieforge,forge,确实让创建更美好,协同开发平台″"><meta name="”Keywords”" content="”TrustieOpenSourceProject″"><meta name="”Keywords”" content="”issue,bug,tracker,软件工程,课程实践″"><meta name="”Description”" content="”持续构建协同、共享、可信的软件创建生态开源创作与软件生产相结合,支持大规模群体开展软件协同创新活动”"><meta name="theme-color" content="#000000"><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/><link rel="manifest" href="/react/build//manifest.json"><link rel="stylesheet" href="/react/build/css/iconfont.css"><link rel="stylesheet" href="/react/build/css/edu-purge.css"><link rel="stylesheet" href="/react/build/css/editormd.min.css"><link rel="stylesheet" href="/react/build/css/merge.css"><link href="/react/build/static/css/main.5260e1d5.chunk.css" rel="stylesheet"></head><body><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit widthunit"></div><div id="picture_display" style="display:none"></div><script src="/react/build/js/jquery-1.8.3.min.js"></script><script src="/react/build/js/js_min_all.js"></script><script src="/react/build/js/codemirror/codemirror.js"></script><script src="/react/build/js/editormd/editormd.min.js"></script><script src="/react/build/js/codemirror/merge/merge.js"></script><script src="/react/build/./static/js/runtime~main.ca3ecda7.js"></script><script src="/react/build/./static/js/main.70d54e47.chunk.js"></script></body></html>
<!doctype html><html lang="zh-CN" class="notranslate translated-ltr" translate="no"><head><meta charset="utf-8"><meta name="”Keywords”" content="”trustie,trustieforge,forge,确实让创建更美好,协同开发平台″"><meta name="”Keywords”" content="”TrustieOpenSourceProject″"><meta name="”Keywords”" content="”issue,bug,tracker,软件工程,课程实践″"><meta name="”Description”" content="”持续构建协同、共享、可信的软件创建生态开源创作与软件生产相结合,支持大规模群体开展软件协同创新活动”"><meta name="theme-color" content="#000000"><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/><link rel="manifest" href="/react/build//manifest.json"><link rel="stylesheet" href="/react/build/css/iconfont.css"><link rel="stylesheet" href="/react/build/css/edu-purge.css"><link rel="stylesheet" href="/react/build/css/editormd.min.css"><link rel="stylesheet" href="/react/build/css/merge.css"><link href="/react/build/static/css/main.5260e1d5.chunk.css" rel="stylesheet"></head><body><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit widthunit"></div><div id="picture_display" style="display:none"></div><script src="/react/build/js/jquery-1.8.3.min.js"></script><script src="/react/build/js/js_min_all.js"></script><script src="/react/build/js/codemirror/codemirror.js"></script><script src="/react/build/js/editormd/editormd.min.js"></script><script src="/react/build/js/codemirror/merge/merge.js"></script><script src="/react/build/./static/js/runtime~main.50ee7798.js"></script><script src="/react/build/./static/js/main.74df89cd.chunk.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(this.webpackJsonp=this.webpackJsonp||[]).push([[120],{"9Rdz":function(e,t,a){"use strict";a.r(t),t.default=a.p+"static/media/bgPng.ed010245.png"},GVBq:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=m(a("W9HT")),n=m(a("3S7+")),c=m(a("2/Rp")),s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],l=!0,n=!1,c=void 0;try{for(var s,r=e[Symbol.iterator]();!(l=(s=r.next()).done)&&(a.push(s.value),!t||a.length!==t);l=!0);}catch(e){n=!0,c=e}finally{try{!l&&r.return&&r.return()}finally{if(n)throw c}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};a("T2oS"),a("5Dmo"),a("+L6B");var r=a("q1tI"),u=m(r),d=a("hJRQ"),i=m(a("9Rdz"));function m(e){return e&&e.__esModule?e:{default:e}}a("LnQG"),a("gWjc"),t.default=function(e){var t=e.match,a=(e.location,e.isStudentApplyDate),m=e.secondStudentApplyDate,f=e.applyTaskId,o=e.applyTask,p=Number(t.params.taskId),E=(0,r.useState)(void 0),y=s(E,2),N=y[0],v=y[1];return(0,r.useEffect)((function(){(0,d.getTaskById)(p).then((function(e){e&&"success"===e.message&&v(e.data)}))}),[]),u.default.createElement("div",{className:"taskDetailBgBox"},u.default.createElement(l.default,{spinning:!N},N&&u.default.createElement("div",{className:"bgBox"},u.default.createElement("div",{className:"detailBox"},u.default.createElement("div",{className:"goBackBox"},u.default.createElement("a",{href:"/glcc"},"开源夏令营 / "),u.default.createElement("a",{href:"/glcc/subjects"},"课题及项目列表 / "),"课题详情")),u.default.createElement("div",{className:"detailContent"},u.default.createElement("div",{className:"detailHead"},u.default.createElement("div",{className:"title"},N.taskName),u.default.createElement("div",{className:"box"},N.projectType&&u.default.createElement("span",{className:"classify"},N.projectType),N.taskUrl&&u.default.createElement("span",null,"课题链接: ",u.default.createElement("a",{href:N.taskUrl,className:"link"},N.taskUrl)))),u.default.createElement("div",{className:"detailCont"},u.default.createElement("div",null,u.default.createElement("span",{className:"smallTil"},"所属项目"),N.projectName),u.default.createElement("div",{className:"moneyBox"},u.default.createElement("span",{className:"smallTil"},"课题奖金"),u.default.createElement("span",{className:"money"},"¥",N.taskReward)),u.default.createElement("div",null,u.default.createElement("span",{className:"smallTil"},"导师信息"),N.tutorName,N.tutorMail&&" | "+N.tutorMail),u.default.createElement("div",{className:"bor"}),u.default.createElement("div",null,u.default.createElement("span",{className:"smallTil"},"课题简介")),u.default.createElement("div",{className:"desc"},N.taskDesc)),f&&Object.keys(f).includes(p.toString())&&u.default.createElement(c.default,{onClick:function(){window.location.href="/glcc/student/apply/"+p},className:"lookDetail detailBut"},"报名详情"),a&&!(f&&Object.keys(f).includes(p.toString()))&&u.default.createElement(c.default,{type:"primary",className:"applyBut detailBut",onClick:function(){o(p)}},"申请课题"),m&&!(f&&Object.keys(f).includes(p.toString()))&&(N.locked?u.default.createElement(n.default,{title:"该课题已有学生入选"},u.default.createElement(c.default,{type:"primary",className:"mr10 detailBut",disabled:!0},"申请课题")):u.default.createElement(c.default,{type:"primary",className:"applyBut mr10 detailBut",onClick:function(){o(p)}},"申请课题"))),u.default.createElement("img",{src:i.default,alt:"",className:"bgPng1"}),u.default.createElement("img",{src:i.default,alt:"",className:"bgPng2"}))))}},LnQG:function(e,t,a){},gWjc:function(e,t,a){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,124 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
/*!
* Programatically add the following
*/
/*!
* Quill Editor v1.3.7
* https://quilljs.com/
* Copyright (c) 2014, Jason Chen
* Copyright (c) 2013, salesforce.com
*/
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
/*!
* cookie
* Copyright(c) 2012-2014 Roman Shtylman
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
/*! showdown v 1.9.1 - 02-11-2019 */
/**
* CSS Vendor prefix detection and property feature testing.
*
* @copyright Oleg Slobodskoi 2015
* @website https://github.com/jsstyles/css-vendor
* @license MIT
*/
/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**!
* @preserve
Based on ASCIIMathTeXImg.js but now part of https://github.com/obedm503/showdown-katex
Based on ASCIIMathML, Version 1.4.7 Aug 30, 2005, (c) Peter Jipsen http://www.chapman.edu/~jipsen
Modified with TeX conversion for IMG rendering Sept 6, 2006 (c) David Lippman http://www.pierce.ctc.edu/dlippman
Updated to match ver 2.2 Mar 3, 2014
Latest at https://github.com/mathjax/asciimathml
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/**!
* @author obedm503
* @git https://github.com/obedm503/showdown-katex.git
* @examples https://obedm503.github.io/showdown-katex/
* @license MIT
*/

File diff suppressed because one or more lines are too long