From 4bfd4234b5dc01b166f6f72a82e7f6437afb9e25 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 28 Apr 2020 17:23:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 21 - add.txt | 8 +- config/env.js | 2 +- config/webpack.config.dev.js | 97 +- config/webpack.config.prod.js | 290 +- index.js | 46 - package-lock.json | 15882 +++++++++------- package.json | 104 +- public/assets/kindeditor/kindeditor.js | 6272 ++++++ public/assets/kindeditor/lang/zh_CN.js | 239 + .../plugins/autoheight/autoheight.js | 71 + .../kindeditor/plugins/code/previewcode.css | 56 + .../assets/kindeditor/plugins/paste/paste.js | 361 + .../kindeditor/themes/default/default.css | 1168 ++ public/css/css_min_all.css | 1907 -- public/css/demo_index.html | 644 + public/css/edu-all.css | 9952 +++++++--- public/css/edu-common.css | 3519 ++++ public/css/edu-main.css | 4255 +++++ public/css/edu-public.css | 2411 +++ public/css/edu-purge.css | 6742 +++++++ public/css/edu_public.css | 481 - public/css/iconfont.css | 125 +- public/css/iconfont.eot | Bin 87360 -> 93780 bytes public/css/iconfont.js | 2 +- public/css/iconfont.json | 196 + public/css/iconfont.svg | 84 + public/css/iconfont.ttf | Bin 87192 -> 93612 bytes public/css/iconfont.woff | Bin 55256 -> 58876 bytes public/css/iconfont.woff2 | Bin 46304 -> 49260 bytes public/css/merge.css | 122 +- public/css/taskstyle.css | 2806 ++- public/index.html | 140 +- public/js/applications.js | 2 +- public/js/create_kindeditor.js | 378 +- public/js/editormd/editormd.min.js | 4332 ++--- public/js/edu_application.js | 0 public/js/flv.min.js | 7 + public/js/jsFromMiddleLayer/main.js | 40 +- public/js/js_min_all.js | 1446 +- scripts/build.js | 96 +- scripts/concat.js | 112 +- scripts/purge-css.js | 21 + scripts/start.js | 9 +- src/App.css | 46 +- src/App.js | 498 +- src/AppConfig.js | 421 +- src/Loading.js | 27 +- src/app-test.jsx | 9 + src/college/College.js | 18 +- src/college/colleagecss/colleage.css | 373 +- src/common/DateUtil.js | 32 +- src/common/LoadingSpin.js | 4 +- src/common/LogUtil.js | 10 +- src/common/SnackbarHOC.js | 128 +- src/common/TextUtil.js | 246 +- src/common/UrlTool.js | 86 +- src/common/components/Cropper.js | 265 +- src/common/components/DragValidator.js | 116 - src/common/components/LinkAfterLogin.js | 32 +- src/common/components/comment/CommentForm.js | 55 +- src/common/components/comment/CommentItem.js | 80 +- src/common/components/comment/index.js | 35 +- src/common/components/comment/util.js | 6 +- src/common/components/custom-editor/index.jsx | 64 + .../components/custom-editor/index.scss | 46 + src/common/components/form/City.js | 5 +- src/common/components/markdown/DMDEditor.css | 12 - src/common/components/markdown/DMDEditor.js | 83 - src/common/components/media/AliyunUploader.js | 62 +- .../components/media/AliyunUploaderDemo.js | 66 +- src/common/course/ActionBtn.js | 23 +- src/common/course/WordsBtn.js | 24 +- src/common/educoder.js | 70 +- src/common/hooks/ImageLayer2.js | 8 +- src/common/mediator.js | 46 + src/common/quillForEditor/FillBlot.js | 31 +- src/common/quillForEditor/ImageBlot.js | 52 +- src/common/quillForEditor/font.css | 66 + src/common/quillForEditor/index.js | 400 +- src/common/quillForEditor/index.scss | 132 +- src/common/quillForEditor/link-blot.js | 21 + src/common/quillForEditor/quill.core.css | 18 + src/common/quillForEditor/quill.snow.css | 28 + src/common/reactQuill/ImageBlot.js | 54 - src/common/reactQuill/ReactQuill.js | 45 - src/common/reactQuill/deepEqual.js | 47 - src/common/reactQuill/flatten.js | 26 - src/common/reactQuill/index.js | 108 - src/common/reactQuill/index.scss | 32 - src/common/reactQuill/lib.js | 13 - src/common/reactQuill/useDeepEqualMemo.js | 27 - src/common/reactQuill/useMountQuill.js | 148 - src/common/reactQuill/useQuill.js | 60 - src/common/reactQuill/useQuillOnChange.js | 33 - src/common/reactQuill/useQuillPlaceholder.js | 22 - src/common/reactQuill/useQuillValueSync.js | 31 - src/common/util/ShareUtil.js | 18 +- src/components/mini-pagination/index.jsx | 32 + src/components/mini-pagination/index.scss | 65 + src/components/modal.jsx | 21 + .../monaco-editor/TPIMonacoConfig.js | 117 + src/components/monaco-editor/index.css | 438 + src/components/monaco-editor/index.jsx | 238 + src/components/nodata-panel/index.jsx | 14 + src/components/nodata-panel/index.scss | 22 + src/components/render-html.jsx | 20 + src/components/shixun-card-list/index.jsx | 75 + src/components/shixun-card-list/index.scss | 36 + src/components/tabs/A.jsx | 10 + src/components/tabs/index.jsx | 18 + src/components/tabs/index.scss | 31 + src/constants/index.js | 27 +- src/context/TPIContextProvider.js | 675 +- src/forge/Merge/MessageCount.js | 83 +- src/forge/Merge/NewMerge.js | 24 +- src/forge/Order/Detail.js | 60 +- src/forge/Order/New.js | 53 +- src/forge/Order/Tags.js | 3 +- src/forge/Order/UpdateDetail.js | 32 +- src/images/forge/project.jpg | Bin 24960 -> 0 bytes src/index.css | 187 +- src/index.js | 30 +- src/indexPlus.css | 4 - src/logo.svg | 7 - src/modal/GotoQQgroup.js | 32 +- src/modules/comment/Comment.css | 391 +- src/modules/comment/CommentContainer.js | 13 +- src/modules/comment/CommentInput.js | 179 +- src/modules/comment/CommentItemKEEditor.js | 72 - src/modules/comment/CommentItemMDEditor.css | 59 +- src/modules/comment/CommentItemMDEditor.js | 138 - src/modules/comment/Comments.js | 565 +- src/modules/comment/CommentsHOC.js | 865 +- src/modules/comment/comment-input.jsx | 61 + src/modules/comment/comment-input.scss | 74 + src/modules/comment/comment-item-editor.jsx | 53 + .../competition/competmodal/PersonModal.js | 513 +- .../personal/PersonalCompetititem.js | 563 +- .../Competition_teams/Competitionteams.js | 2 +- .../Competitioncommon/CompetitionCommon.js | 12 +- .../CompetitionContentsMd.js | 2 +- .../Bankcardnumberverification.js | 84 +- .../CompetitionContentspdfpeopledata.js | 3 +- src/modules/courses/BoardIndex.js | 161 +- src/modules/courses/Index.js | 187 +- src/modules/courses/ListPageIndex.js | 532 +- src/modules/courses/Resource/Fileslistitem.js | 302 +- src/modules/courses/Resource/index.js | 1590 +- src/modules/courses/Resource/style.css | 7 + src/modules/courses/Video/Live.js | 56 +- src/modules/courses/Video/LiveItem.js | 41 +- src/modules/courses/Video/LiveNew.js | 24 +- src/modules/courses/Video/MoveBox.js | 137 + src/modules/courses/Video/Video.js | 337 +- src/modules/courses/Video/VideoIndex.js | 692 +- src/modules/courses/Video/VideoLink.js | 96 + src/modules/courses/Video/images/zoom.png | Bin 0 -> 3403 bytes .../courses/Video/video-play/index.jsx | 197 + src/modules/courses/Video/video.css | 14 +- src/modules/courses/boards/BoardsListItem.js | 180 +- src/modules/courses/boards/BoardsNew.js | 385 +- src/modules/courses/boards/TopicDetail.js | 1205 +- src/modules/courses/boards/common.js | 132 +- src/modules/courses/boards/index.js | 349 +- .../courses/busyWork/CommonWorkAppraise.js | 385 +- .../CommonWorkAppraiseReviseAttachments.js | 6 +- .../courses/busyWork/CommonWorkDetailIndex.js | 546 +- .../courses/busyWork/CommonWorkItem.js | 64 +- .../courses/busyWork/CommonWorkList.js | 169 +- .../busyWork/CommonWorkListTemplate.js | 18 +- .../courses/busyWork/CommonWorkPost.js | 998 +- .../courses/busyWork/CommonWorkQuestion.js | 80 +- .../courses/busyWork/CommonWorkSetting.js | 37 +- .../courses/busyWork/ConnectProject.js | 152 +- src/modules/courses/busyWork/Index.js | 341 +- src/modules/courses/busyWork/IndexGroup.js | 331 +- src/modules/courses/busyWork/NewWork.js | 88 +- .../courses/busyWork/PublishRightnow.js | 291 +- src/modules/courses/busyWork/UseBank.js | 7 +- src/modules/courses/busyWork/common.js | 98 +- .../busyWork/common/WorkDetailPageHeader.js | 16 +- src/modules/courses/busyWork/commonWork.js | 520 +- .../busyWork/reply/CommonWorkAppraiseReply.js | 27 +- src/modules/courses/common/CDropdown.js | 30 +- .../courses/common/CourseLayoutComponent.js | 147 +- src/modules/courses/common/ModalWrapper.js | 2 +- .../courses/common/button/CheckAllGroup.js | 131 +- .../courses/common/comments/CCommentItem.js | 517 +- .../courses/common/comments/CommonReply.js | 172 +- .../Competition_teams/Competitionteams.js | 2 +- .../CompetitionContentsMd.js | 2 +- .../Bankcardnumberverification.js | 84 +- .../CompetitionContentspdfpeopledata.js | 3 +- .../courses/coursesDetail/CoursesBanner.js | 1527 +- .../courses/coursesDetail/CoursesDetail.js | 211 +- .../courses/coursesDetail/CoursesGuide.js | 32 +- .../courses/coursesDetail/CoursesLeftNav.js | 1868 +- .../courses/coursesDetail/MainLeftNav.css | 10 + .../courses/coursesDetail/course-banner.css | 7 + .../courses/coursesHome/CoursesHome.js | 229 +- .../courses/coursesHome/CoursesHomeCard.js | 16 +- src/modules/courses/coursesHome/btn-join.png | Bin 0 -> 1591 bytes src/modules/courses/coursesHome/btn-new.png | Bin 0 -> 1988 bytes .../courses/coursesPublic/AccessoryModal2.js | 47 - .../courses/coursesPublic/Addcourses.js | 558 +- .../courses/coursesPublic/Associationmodel.js | 11 +- .../courses/coursesPublic/CourseTag.js | 16 +- .../courses/coursesPublic/CoursesListType.js | 117 +- .../courses/coursesPublic/CoursesMarkdown.js | 223 - .../courses/coursesPublic/HomeworkModal.js | 10 +- .../courses/coursesPublic/ModalsRename.js | 10 + .../coursesPublic/ModulationModal_exercise.js | 5 +- .../courses/coursesPublic/NewShixunModel.js | 2 +- src/modules/courses/coursesPublic/NoneData.js | 7 +- .../coursesPublic/OneSelfOrderModal.js | 72 +- .../courses/coursesPublic/ShixunModal.js | 555 +- .../courses/coursesPublic/Startshixuntask.js | 123 +- .../courses/coursesPublic/sendResource.js | 2 + .../courses/coursesPublic/sendResources.js | 595 + .../courses/coursmodel/authenmodels.css | 1888 +- src/modules/courses/css/Courses.css | 2939 +-- src/modules/courses/elearning/Elearning.js | 3 - .../courses/elearning/YslDetailCards.js | 6 - .../courses/exercise/Ecerciseallbackagain.js | 4 +- src/modules/courses/exercise/Exercise.js | 29 +- .../courses/exercise/ExerciseDisplay.js | 110 +- .../courses/exercise/ExerciseListItem.js | 81 +- src/modules/courses/exercise/ExerciseNew.js | 109 +- .../courses/exercise/ExerciseNewCommon.js | 556 +- .../exercise/ExerciseReviewAndAnswer.js | 1407 +- .../courses/exercise/Exercisesetting.js | 203 +- .../exercise/Exercisestatisticalresult.js | 16 +- .../Exercisestatisticalresulttabel.js | 3 - .../courses/exercise/Exercisetablesmubu.js | 41 +- .../exercise/Studentshavecompletedthelist.js | 1391 +- .../exercise/Testpapersettinghomepage.js | 81 +- .../exercise/exercise-new-form/index.jsx | 64 + .../exercise/exercise-new-form/index.scss | 43 + .../courses/exercise/new/JudgeDisplay.js | 106 +- .../courses/exercise/new/JudgeEditor.js | 207 +- .../courses/exercise/new/MainDisplay.js | 87 +- .../courses/exercise/new/MainEditor.js | 182 +- .../courses/exercise/new/NullChildEditor.js | 133 +- .../courses/exercise/new/NullDisplay.js | 128 +- .../courses/exercise/new/NullEditor.js | 333 +- .../courses/exercise/new/NullMDEditor.js | 80 +- .../exercise/new/QestionDisplayHeader.js | 138 +- .../courses/exercise/new/ShixunDisplay.js | 208 +- .../courses/exercise/new/ShixunEditor.js | 259 +- .../courses/exercise/new/ShixunProgramming.js | 94 + .../courses/exercise/new/SingleDisplay.js | 137 +- .../courses/exercise/new/SingleEditor.js | 341 +- src/modules/courses/exercise/new/common.css | 77 +- src/modules/courses/exercise/new/common.js | 2 + .../courses/exercise/question/Progques.js | 58 + .../exercise/question/ShixunProgrDetail.js | 91 + .../exercise/question/ShowProgramming.js | 146 + .../courses/exercise/question/fillEmpty.js | 199 +- .../courses/exercise/question/multiple.js | 111 +- .../courses/exercise/question/shixunAnswer.js | 383 +- .../exercise/question/shixunAnswerDetail.js | 74 +- .../courses/exercise/question/simpleAnswer.js | 117 +- .../courses/exercise/question/single.js | 105 +- .../courses/gradinforms/Bullsubdirectory.js | 2 +- .../graduation/tasks/GraduateTaskItem.js | 28 +- .../graduation/tasks/GraduationAcross.js | 28 +- .../graduation/tasks/GraduationTaskDetail.js | 40 +- .../tasks/GraduationTasksSubmitedit.js | 10 +- .../tasks/GraduationTasksSubmitnew.js | 18 +- .../tasks/GraduationTasksappraise.js | 10 +- .../GraduationTasksappraiseMainEditor.js | 8 +- .../graduation/tasks/GraduationTasksedit.js | 64 +- .../graduation/tasks/GraduationTasksnew.js | 8 +- .../tasks/GraduationTaskssetting.js | 11 +- .../tasks/GraduationTaskssettinglist.js | 8 +- .../tasks/GraduationTaskssettingquestions.js | 6 +- src/modules/courses/graduation/tasks/index.js | 8 +- .../graduation/topics/GraduateTopicDetail.js | 12 +- .../topics/GraduateTopicDetailTable.js | 18 +- .../graduation/topics/GraduateTopicItem.js | 18 +- .../graduation/topics/GraduateTopicNew.js | 26 +- .../courses/graduation/topics/index.js | 610 +- .../courses/members/CourseGroupChooser.js | 81 +- .../courses/members/CourseGroupList.js | 21 +- .../courses/members/CourseGroupListTable.js | 44 +- .../courses/members/modal/AddStudentModal.js | 483 +- .../courses/members/modal/AddTeacherModal.js | 561 +- .../members/modal/CourseGroupChooserModal.js | 13 +- src/modules/courses/members/studentsList.js | 612 +- src/modules/courses/members/teacherList.js | 589 +- src/modules/courses/new/CoursesNew.js | 59 +- src/modules/courses/new/Goldsubject.js | 13 +- src/modules/courses/ordering/Ordering.js | 9 +- src/modules/courses/poll/Poll.js | 62 +- src/modules/courses/poll/PollDetailIndex.js | 30 +- .../courses/poll/PollDetailTabFirst.js | 14 +- .../courses/poll/PollDetailTabForthRules.js | 4 +- src/modules/courses/poll/PollInfo.js | 70 +- src/modules/courses/poll/PollListItem.js | 30 +- src/modules/courses/poll/PollNew.js | 24 +- src/modules/courses/poll/PollNewQuestbank.js | 8 +- .../poll/pollPublicBtn/ImmediatelyPublish.js | 21 +- src/modules/courses/publicNav/listNav.js | 68 +- .../courses/shixunHomework/Challenges.css | 4 + .../courses/shixunHomework/Chongzuomodel.js | 68 + .../courses/shixunHomework/CommitSummary.js | 97 +- .../shixunHomework/Listofworksstudentone.js | 370 +- .../shixunHomework/ShixunHomeworkPage.js | 235 +- .../shixunHomework/ShixunStudentWork.js | 790 +- .../shixunHomework/ShixunWorkDetails.js | 6 +- .../shixunHomework/ShixunWorkReport.js | 70 +- .../shixunHomework/ShixunhomeWorkItem.js | 36 +- .../Shixunworkdetails/ShixunWorkModal.js | 4 +- .../TraineetraininginformationModal.js | 4 +- .../shixunHomework/Trainingjobsetting.js | 219 +- .../shixunHomework/Workquestionandanswer.js | 14 +- .../courses/shixunHomework/shixunHomework.js | 81 +- .../OfficialAcademicTranscript.js | 31 +- .../shixunreport/Shixunbage.css | 15 + .../Signinstatistics/Signinstatistics.js | 296 + .../courses/signin/component/Detailss.js | 203 + .../courses/signin/component/NoneDatas.js | 36 + .../courses/signin/component/Teacherentry.js | 227 + .../teachercomponent/Histeacomponent.js | 33 + .../teachercomponent/Signteacomponent.js | 33 + .../teachercomponent/Teaccomponent.js | 200 + .../courses/signin/css/Signinstatistics.css | 233 + .../courses/signin/css/dot-green@2x.png | Bin 0 -> 740 bytes .../courses/signin/css/dot-orange@2x.png | Bin 0 -> 729 bytes .../courses/signin/css/dot-orange@2x1.png | Bin 0 -> 777 bytes src/modules/courses/signin/css/signincdi.css | 647 + .../courses/signin/model/Createsignmodel.js | 450 + .../courses/signin/model/Qrcodesignin.js | 77 + .../courses/signin/model/Signinname.js | 105 + .../courses/signin/model/Studentssignmodel.js | 107 + .../courses/signin/model/sigininmodes.js | 0 .../courses/signin/mymain/Signinmain.js | 15 + .../courses/signin/student/Signedinlist.js | 404 + .../courses/signin/student/Signindetails.js | 71 + .../courses/signin/teacher/Teachers_signin.js | 399 + src/modules/courses/statistics/Statistics.js | 3 + .../videostatistics/Videostatistics.js | 134 + .../component/Studenticscom.js | 119 + .../component/Studentstatistics.js | 350 + .../component/Videostatisticscom.js | 119 + .../component/Videostatisticscomtwo.js | 641 + .../component/Videostatisticslist.js | 350 + .../components/controlSetting/index.js | 103 +- .../components/controlSetting/index.scss | 128 +- .../developer/components/errorResult/index.js | 65 +- .../developer/components/execResult/index.js | 62 +- .../components/execResult/index.scss | 32 +- .../developer/components/initTabCtx/index.js | 49 +- .../components/initTabCtx/index.scss | 50 +- .../developer/components/initTabCtx/index1.js | 10 +- .../developer/components/knowledge/index.js | 3 +- .../components/monacoSetting/index.js | 29 +- .../components/myMonacoEditor/index.js | 123 +- .../components/myMonacoEditor/index.scss | 55 +- .../components/myMonacoEditor/index2.js | 48 - .../developer/components/userInfo/index.js | 6 +- src/modules/developer/newOrEditTask/index.js | 239 +- .../leftpane/editorTab/AddTestDemo.js | 51 +- .../newOrEditTask/leftpane/editorTab/index.js | 275 +- .../leftpane/editorTab/index.scss | 75 +- .../leftpane/editorTab/index2.js | 23 +- .../developer/newOrEditTask/leftpane/index.js | 9 +- .../newOrEditTask/leftpane/prevTab/index.js | 21 +- .../newOrEditTask/rightpane/index.js | 51 +- .../newOrEditTask/rightpane/index.scss | 84 +- .../rightpane/initTabCtx/index.js | 10 +- src/modules/developer/recordDetail/index.js | 55 +- src/modules/developer/recordDetail/index.scss | 62 +- src/modules/developer/split_pane_resizer.scss | 170 +- src/modules/developer/studentStudy/index.js | 148 +- src/modules/developer/studentStudy/index.scss | 28 +- .../leftpane/commitRecord/index.js | 91 +- .../developer/studentStudy/leftpane/index.js | 54 +- .../leftpane/taskDescription/index.js | 22 +- .../developer/studentStudy/rightpane/index.js | 99 +- .../ecs/EcSetting/CourseSupports/index.js | 949 +- src/modules/ecs/EcSetting/index.js | 12 +- .../EcSetting/reachCalculationInfo/index.js | 819 +- src/modules/ecs/Ecs.js | 94 +- src/modules/ecs/curriculum/Curriculum.js | 285 +- .../ecs/curriculum/CurriculumSubpage.js | 4 +- .../EcCompletionCalculation.js | 782 +- .../EcCourseEvaluationsbottom.js | 1855 +- .../EditableCourseSupportSetting.js | 764 +- .../ShowTableCourseSupportSetting.js | 110 +- .../subroute/ecCourseSupportSetting/index.js | 357 +- .../subroute/ecStudentList/EcStudentList.js | 651 +- src/modules/forums/MemoDetail.js | 1517 +- src/modules/forums/MemoDetailKEEditor.js | 66 - src/modules/forums/MemoDetailMDEditor.js | 112 +- src/modules/forums/MemoDetailMDEditortwo.js | 173 - src/modules/forums/MemoList.js | 69 +- src/modules/forums/MemoNew.js | 1209 +- src/modules/forums/PostItem.js | 280 +- src/modules/forums/RightHotLabel.js | 70 +- src/modules/forums/RightMemoLabel.js | 58 +- src/modules/forums/UserSection.js | 58 +- src/modules/forums/shixun/MemoShixun.js | 3 +- src/modules/home/home.css | 79 - src/modules/home/index.jsx | 97 + src/modules/home/index.scss | 57 + src/modules/home/list-container.jsx | 17 + src/modules/home/nav-list.jsx | 44 + src/modules/home/shixunsHome.js | 14 +- src/modules/login/EducoderInteresse.js | 2 +- src/modules/login/EducoderLogin.js | 6 +- src/modules/login/LoginDialog.js | 33 +- src/modules/login/Otherloginqq.js | 15 + src/modules/login/Otherloginstart.js | 2 + src/modules/login/Trialapplication.js | 6 +- src/modules/login/Trialapplicationysl.js | 6 +- src/modules/message/js/Leftdialogue.js | 3 +- src/modules/message/js/MessagChat.js | 2 +- src/modules/message/js/MessagSub.js | 100 +- src/modules/modals/Bottomsubmit.js | 31 +- src/modules/modals/Certifiedprofessional.js | 77 +- src/modules/modals/Jointheclass.js | 2 +- src/modules/modals/Modals.js | 84 +- src/modules/modals/SendTopics.js | 24 +- src/modules/moop_cases/CaseDetail.js | 114 +- src/modules/moop_cases/CaseList.js | 144 +- src/modules/moop_cases/CaseNew.js | 2 +- src/modules/page/Header.js | 158 +- src/modules/page/Index.js | 331 +- src/modules/page/LeftNav.js | 2 +- src/modules/page/MainContent.js | 248 +- src/modules/page/MainContentContainer.js | 1031 +- src/modules/page/VNCContainer.js | 149 +- .../page/component/ChooseAnswerView.js | 57 +- src/modules/page/component/FloatButton.js | 22 +- src/modules/page/component/TPICodeMirror.css | 80 - src/modules/page/component/TPICodeMirror.js | 533 - src/modules/page/component/TPICodeSetting.js | 215 - src/modules/page/component/UpdateDrawer.js | 242 +- src/modules/page/component/WebSSHTimer.js | 223 +- .../page/component/monaco/TPIMonaco.js | 547 +- .../page/component/tpi-code-setting/index.jsx | 81 + .../component/tpi-code-setting/index.scss | 55 + src/modules/page/header.scss | 19 +- src/modules/page/layers/ImageLayer.js | 86 +- .../page/layers/ImageLayerOfCommentHOC.js | 50 +- src/modules/page/layers/TaskResultLayer.css | 11 +- src/modules/page/layers/TaskResultLayer.js | 378 +- src/modules/page/main/ActionView.js | 219 +- src/modules/page/main/ChooseRepositoryView.js | 44 +- src/modules/page/main/CodeEvaluateView.js | 345 +- src/modules/page/main/CodeRepositoryView.css | 238 +- src/modules/page/main/CodeRepositoryView.js | 343 +- .../page/main/CodeRepositoryViewContainer.js | 250 +- src/modules/page/main/LeftView.js | 475 +- src/modules/page/main/LeftViewContainer.js | 589 +- src/modules/page/main/answer/AnswerList.js | 85 +- src/modules/page/main/leftView.css | 136 +- src/modules/page/readme.txt | 2 +- src/modules/page/taskList/TaskList.js | 222 +- src/modules/page/tpiPage.css | 761 +- src/modules/paths/Index.js | 37 +- src/modules/paths/PathDetail/Addshixuns.js | 2 +- src/modules/paths/PathDetail/DetailCards.js | 6 +- .../paths/PathDetail/DetailCardsEditAndAdd.js | 2 +- .../PathDetail/DetailCardsEditAndEdit.js | 697 +- src/modules/paths/PathDetail/DetailTop.js | 999 +- src/modules/paths/PathDetail/OpenCourse.js | 6 +- .../paths/PathDetail/PathDetailIndex.js | 446 +- src/modules/paths/PathDetail/sendPanel.js | 14 +- src/modules/paths/PathNew.js | 188 +- .../paths/SchoolStatistics/Statistics.js | 34 +- src/modules/paths/ShixunPathCard.js | 112 +- src/modules/paths/ShixunPathSearch.js | 363 +- src/modules/paths/ShixunPaths.css | 253 +- src/modules/paths/btn-new.png | Bin 0 -> 2745 bytes src/modules/paths/statics/DisplayTableData.js | 74 +- src/modules/paths/statics/index.js | 384 +- src/modules/projectPackages/MDEditors.js | 337 - .../PackageIndexNEIBanner.js | 2 +- .../PackageIndexNEIBannerConcent.js | 2 +- src/modules/question/NewMyShixunModel.js | 960 +- src/modules/question/Paperreview.js | 98 +- src/modules/question/Paperreview_item.js | 261 +- src/modules/question/Paperreview_items.js | 52 - src/modules/question/Paperreview_judgment.js | 112 - src/modules/question/Paperreview_multlple.js | 112 - src/modules/question/Paperreview_program.js | 112 - src/modules/question/Paperreview_single.js | 203 +- src/modules/question/Question.js | 1030 +- src/modules/question/Questionitem_banks.js | 216 +- src/modules/question/animation/parabola.js | 51 - .../question/component/ChoquesEditor.js | 401 +- .../question/component/ComquestionEditor.js | 0 src/modules/question/component/Contentpart.js | 511 +- .../question/component/Contentquestionbank.js | 49 +- .../question/component/Headplugselections.js | 74 +- .../question/component/Itembankstop.js | 49 +- .../question/component/JudquestionEditor.js | 327 +- src/modules/question/component/Listjihe.js | 716 +- .../question/component/Newknledpots.js | 75 +- .../question/component/PaperDeletModel.js | 10 - .../question/component/PaperDeletModels.js | 10 - .../component/Paperreview_itemModel.js | 25 +- .../component/Paperreview_itemModels.js | 26 +- .../question/component/QuestionModal.js | 39 +- .../component/QuestionModalPicture.js | 58 + .../question/component/QuestionModalys.js | 42 + src/modules/question/component/SiderBars.js | 145 +- .../question/component/SingleEditor.js | 447 +- .../question/component/SubquestionEditor.js | 81 + src/modules/question/component/list-jihe.scss | 72 + .../comthetestpaper/Comthetestpaperst.js | 96 +- .../comthetestpaper/Intelligentcomponents.js | 69 +- src/modules/question/questioncss/font.css | 67 + .../question/questioncss/questioncom.css | 190 +- .../question/questioncss/quill.core.css | 18 + .../question/questioncss/quill.snow.css | 28 + src/modules/recruitment/EditResume.js | 410 + .../recruitment/Resume/EduExperienceItem.js | 52 + .../recruitment/Resume/Educationitem.js | 173 + .../recruitment/Resume/ResumeDetails.js | 426 + .../recruitment/Resume/WorkExperience.js | 49 + src/modules/recruitment/Resume/WorkItem.js | 164 + src/modules/recruitment/Route-shoyushen.js | 23 + src/modules/recruitment/Tecruitment.js | 119 + src/modules/recruitment/data/genUuid.js | 13 + src/modules/recruitment/data/getAppliers.js | 51 + src/modules/recruitment/data/getCurrCity.js | 26 + src/modules/recruitment/data/getHotCity.js | 5 + src/modules/recruitment/data/getJobCate.js | 51 + src/modules/recruitment/data/getJobInfo.js | 46 + src/modules/recruitment/data/getProfileLoc.js | 8 + src/modules/recruitment/data/getResume.js | 6 + src/modules/recruitment/data/ifHaveResume.js | 10 + src/modules/recruitment/data/locData.js | 5332 ++++++ src/modules/recruitment/data/mapJobData.js | 64 + src/modules/recruitment/data/mapResumeData.js | 34 + src/modules/recruitment/data/submitData.js | 32 + src/modules/recruitment/data/sumitResume.js | 42 + src/modules/recruitment/data/updateResume.js | 8 + src/modules/recruitment/jobAppliers/Header.js | 28 + src/modules/recruitment/jobAppliers/Item.js | 71 + src/modules/recruitment/jobAppliers/List.js | 36 + src/modules/recruitment/jobAppliers/config.js | 10 + src/modules/recruitment/jobDetail/Address.js | 22 + src/modules/recruitment/jobDetail/Comp.js | 31 + .../recruitment/jobDetail/ConfirmModal.js | 26 + src/modules/recruitment/jobDetail/Header.js | 69 + src/modules/recruitment/jobDetail/ItemBase.js | 42 + src/modules/recruitment/jobDetail/JobInfo.js | 22 + .../recruitment/jobDetail/icon/Icon.js | 7 + .../recruitment/jobDetail/icon/com.png | Bin 0 -> 735 bytes .../recruitment/jobDetail/icon/job.png | Bin 0 -> 322 bytes .../recruitment/jobDetail/icon/loc.png | Bin 0 -> 1846 bytes src/modules/recruitment/jobForm/FormPage.js | 47 + src/modules/recruitment/jobForm/JobForm.js | 196 + .../recruitment/jobForm/popup/AddClass.js | 51 + .../recruitment/jobForm/popup/SelectClass.js | 66 + .../jobForm/popup/selectWidget/FatherItem.js | 29 + .../jobForm/popup/selectWidget/FatherNav.js | 14 + .../jobForm/popup/selectWidget/SonArea.js | 19 + .../recruitment/jobForm/widget/CateSelect.js | 61 + .../jobForm/widget/InputWithLen.js | 7 + .../recruitment/jobForm/widget/TextArea.js | 6 + .../recrulistcss/recrulistcss.scss | 260 + .../recruitment/resumeForm/CompanyHeader.js | 38 + src/modules/recruitment/resumeForm/Form.js | 7 + .../recruitment/resumeForm/NormalForm.js | 240 + .../recruitment/resumeForm/popup/CityPopup.js | 51 + .../recruitment/resumeForm/popup/JobPopup.js | 68 + .../recruitment/resumeForm/popup/Modal.js | 15 + .../resumeForm/popup/city/CityList.js | 49 + .../resumeForm/popup/city/SelectedCity.js | 47 + .../resumeForm/popup/jobClass/FatherItem.js | 32 + .../resumeForm/popup/jobClass/FatherNav.js | 14 + .../resumeForm/popup/jobClass/SonArea.js | 13 + .../resumeForm/popup/jobClass/Tiltle.js | 41 + .../recruitment/resumeForm/widget/Button.js | 37 + .../recruitment/resumeForm/widget/EduItem.js | 101 + .../resumeForm/widget/ImageUploader.js | 73 + .../resumeForm/widget/JobExpect.js | 138 + .../resumeForm/widget/MothPicker.js | 16 + .../resumeForm/widget/ResumesUploader.js | 82 + .../recruitment/resumeForm/widget/WorkItem.js | 72 + .../recruitment/routePage/AddJobPage.js | 52 + .../recruitment/routePage/AddResumePage.js | 63 + .../recruitment/routePage/ApplierPage.js | 63 + .../routePage/DetailAddResumePage.js | 74 + .../recruitment/routePage/EditJobPage.js | 48 + .../recruitment/routePage/EditResumePage.js | 82 + .../recruitment/routePage/JobDetailPage.js | 107 + .../recruitment/tablist/RecruitList.js | 400 + .../tablist/component/InfoModal.js | 21 + .../recruitment/tablist/component/Tabhead.js | 218 + .../tablist/component/TabheadSekinds.js | 106 + .../tablist/component/Tablereacts.js | 67 + .../recruitment/tablist/component/Tabrecru.js | 199 + .../recruitment/tablist/tableColumnsConfig.js | 406 + src/modules/recruitment/util/Button.js | 14 + src/modules/recruitment/util/GeneralButton.js | 53 + src/modules/recruitment/util/Layout.js | 7 + src/modules/recruitment/util/Loading.js | 12 + src/modules/recruitment/util/Modal.js | 22 + src/modules/recruitment/util/Nav.js | 22 + src/modules/recruitment/util/cssMixin.js | 24 + src/modules/recruitment/util/hooks.js | 65 + src/modules/test/TestCrop.js | 25 - src/modules/test/codemirror/TestCodeMirror.js | 10 +- src/modules/test/md/TestMaterialDesign.js | 122 +- src/modules/test/md/ii_debug.js | 2 +- src/modules/testpaper/Intecomponents.js | 258 +- src/modules/testpaper/Paperlibraryeditid.js | 137 +- src/modules/testpaper/Paperlibraryseeid.js | 143 +- src/modules/testpaper/Testpaperlibrary.js | 381 +- .../testpaper/component/Contentpart.js | 360 +- src/modules/testpaper/component/Listjihe.js | 238 +- .../component/Paperlibraryseeid_item.js | 146 +- .../component/Paperlibraryseeid_items.js | 198 +- .../component/Paperlibraryseeid_itemss.js | 161 +- .../component/Paperlibraryseeid_itemsss.js | 73 +- .../testpaper/component/QuestionModalys.js | 42 + .../testpaper/component/Seeoagertits.js | 2 +- .../testpaper/component/SendTopicsModel.js | 202 + .../testpaper/testioncss/testioncss.css | 26 +- src/modules/tpm/1.js | 83 - src/modules/tpm/Audit_situationComponent.js | 2 +- src/modules/tpm/SiderBar.js | 171 +- src/modules/tpm/TPMBanner.js | 796 +- src/modules/tpm/TPMChallenge.js | 75 +- src/modules/tpm/TPMChallengeContainer.js | 33 +- src/modules/tpm/TPMDataset.js | 4 +- src/modules/tpm/TPMFork/TPMForklist.js | 148 +- src/modules/tpm/TPMIndex.css | 495 +- src/modules/tpm/TPMIndex.js | 899 +- src/modules/tpm/TPMIndexHOC.js | 1362 +- src/modules/tpm/TPMRepository.js | 19 +- src/modules/tpm/TPMRepositoryComponent.js | 126 +- .../tpm/TPMRepositoryComponentdetails.js | 232 + src/modules/tpm/TPMShixunDiscuss.js | 79 +- src/modules/tpm/TPMsettings/Configuration.js | 22 +- .../tpm/TPMsettings/LearningSettings.js | 2 +- .../tpm/TPMsettings/Shixuninformation.js | 641 +- src/modules/tpm/TPMsettings/TPMsettings.js | 105 +- .../tpm/TPMsettings/css/TPMsettings.css | 13 + src/modules/tpm/TPMsettings/oldTPMsettings.js | 1089 +- src/modules/tpm/challengesnew/TPMMDEditor.js | 602 +- .../tpm/challengesnew/TPMchallengesnew.js | 1662 +- .../tpm/challengesnew/TPMevaluation.js | 51 +- src/modules/tpm/challengesnew/TPMquestion.js | 1001 +- .../challengesnew/css/TPMchallengesnew.css | 509 +- src/modules/tpm/challengesnew/editorMD.js | 122 - .../tpm/challengesnew/old/TPManswer.js | 367 - .../tpm/challengesnew/old/TPMchallengesnew.js | 617 - .../tpm/challengesnew/tpm-md-editor.js | 273 + src/modules/tpm/component/TPMNav.js | 91 +- src/modules/tpm/component/TPMRightSection.js | 107 +- src/modules/tpm/newshixuns/Newshixuns.js | 159 +- src/modules/tpm/newshixuns/css/Newshixuns.css | 1 - src/modules/tpm/newshixuns/oldNewshixuns.js | 1356 -- .../tpm/shixunchild/Challenges/Challenges.js | 839 +- .../Challenges/Challengesjupyter.js | 20 +- .../shixunchild/Challenges/Showmarkdown.js | 37 + .../Collaborators/Collaborators.js | 477 +- .../tpm/shixunchild/Repository/Repository.css | 75 + .../tpm/shixunchild/Repository/Repository.js | 458 +- .../Repository/RepositoryAddFile.js | 167 +- .../RepositoryAddFileupload_file.js | 326 + .../Repository/RepositoryCodeEditor.js | 92 +- .../Repository/RepositoryCombinePath.js | 78 +- .../Repository/RepositoryDirectories.js | 126 +- .../Repository/RepositoryNoneData.js | 44 + .../shixunchild/Repository/Repositoryfile.js | 333 + .../Repository/TPMRepositoryCommits.js | 2 +- .../shixunchild/shixunchildCss/Challenges.css | 38 +- src/modules/tpm/shixuns/ShixunCard.js | 244 - src/modules/tpm/shixuns/ShixunCardList.js | 316 - src/modules/tpm/shixuns/ShixunSearchBar.js | 290 - src/modules/tpm/shixuns/ShixunsIndex.js | 576 +- src/modules/tpm/shixuns/btn-new.png | Bin 0 -> 1970 bytes src/modules/tpm/shixuns/css/TPMBanner.css | 4 + src/modules/tpm/shixuns/shixun-card.js | 98 + .../tpm/shixuns/shixun-keyword-list.jsx | 61 + .../tpm/shixuns/shixun-keyword-list.scss | 82 + .../tpm/shixuns/shixun-search-bar/A.jsx | 11 + .../tpm/shixuns/shixun-search-bar/index.jsx | 130 + .../tpm/shixuns/shixunCss/ShixunSearchBar.css | 38 +- .../shixuns/shixunCss/shixun-search-bar.scss | 78 + .../tpm/shixuns/shixunCss/shixunCard.css | 33 +- .../tpm/shixuns/shixunCss/shixunCard.scss | 101 + .../shixuns/shixusFunction/ShixunSearchBar.js | 284 +- src/modules/user/FindPasswordComponent.js | 2 +- src/modules/user/LoginRegisterComponent.js | 15 +- src/modules/user/account/AccountBasicEdit.js | 98 +- .../user/account/AccountBasicEditItem.js | 49 +- src/modules/user/account/AccountImg.js | 34 +- .../user/account/ChangeHeaderPicModal.js | 136 +- .../user/modal/RealNameCertificationModal.js | 516 +- src/modules/user/usersInfo/Infos.js | 27 +- src/modules/user/usersInfo/InfosBank.js | 302 +- src/modules/user/usersInfo/InfosBanner.js | 247 +- src/modules/user/usersInfo/InfosCourse.js | 376 +- src/modules/user/usersInfo/InfosPackage.js | 349 +- src/modules/user/usersInfo/InfosPath.js | 339 +- src/modules/user/usersInfo/InfosProject.js | 338 +- src/modules/user/usersInfo/InfosShixun.js | 382 +- src/modules/user/usersInfo/Projects.js | 408 - .../user/usersInfo/banks/BanksTabIndex.js | 14 +- .../user/usersInfo/banks/PollBanksContent.js | 3 +- src/modules/user/usersInfo/banner_out.js | 380 +- .../user/usersInfo/common/HeadlessModal.js | 20 +- src/modules/user/usersInfo/common/InfoTab.js | 60 +- src/modules/user/usersInfo/usersInfo.css | 609 +- .../usersInfo/video/AliyunUploaderManager.js | 8 +- .../user/usersInfo/video/EditVideoModal.js | 49 +- .../user/usersInfo/video/InfosVideo.css | 29 +- .../user/usersInfo/video/InfosVideo.js | 303 +- .../user/usersInfo/video/VideoInReviewItem.js | 104 +- .../user/usersInfo/video/VideoProtocol.js | 8 +- .../user/usersInfo/video/VideoUploadList.js | 284 +- .../user/usersInfo/video/images/default.png | Bin 0 -> 69294 bytes src/public-path.js | 11 +- src/redux/actions/actionTypes.js | 11 +- src/redux/actions/index.js | 24 +- src/redux/actions/ojForUser.js | 167 +- src/redux/actions/ojForm.js | 323 +- src/redux/actions/static.js | 5 +- src/redux/reducers/ojForUserReducer.js | 52 +- src/redux/reducers/ojFormReducer.js | 123 +- src/redux/reducers/staticReducer.js | 9 +- src/search/SearchPage.js | 2 +- src/services/ojService.js | 8 +- src/services/video-service.js | 11 + src/test/md.jsx | 11 + src/test/monaco.jsx | 49 + 736 files changed, 118584 insertions(+), 69950 deletions(-) delete mode 100644 LICENSE delete mode 100644 index.js create mode 100644 public/assets/kindeditor/kindeditor.js create mode 100644 public/assets/kindeditor/lang/zh_CN.js create mode 100644 public/assets/kindeditor/plugins/autoheight/autoheight.js create mode 100644 public/assets/kindeditor/plugins/code/previewcode.css create mode 100644 public/assets/kindeditor/plugins/paste/paste.js create mode 100644 public/assets/kindeditor/themes/default/default.css delete mode 100644 public/css/css_min_all.css create mode 100755 public/css/edu-common.css create mode 100644 public/css/edu-main.css create mode 100755 public/css/edu-public.css create mode 100644 public/css/edu-purge.css delete mode 100644 public/css/edu_public.css mode change 100755 => 100644 public/js/create_kindeditor.js create mode 100644 public/js/edu_application.js create mode 100644 public/js/flv.min.js create mode 100644 scripts/purge-css.js create mode 100644 src/app-test.jsx delete mode 100644 src/common/components/DragValidator.js create mode 100644 src/common/components/custom-editor/index.jsx create mode 100644 src/common/components/custom-editor/index.scss delete mode 100644 src/common/components/markdown/DMDEditor.css delete mode 100644 src/common/components/markdown/DMDEditor.js create mode 100644 src/common/mediator.js create mode 100644 src/common/quillForEditor/font.css create mode 100644 src/common/quillForEditor/link-blot.js create mode 100644 src/common/quillForEditor/quill.core.css create mode 100644 src/common/quillForEditor/quill.snow.css delete mode 100644 src/common/reactQuill/ImageBlot.js delete mode 100644 src/common/reactQuill/ReactQuill.js delete mode 100644 src/common/reactQuill/deepEqual.js delete mode 100644 src/common/reactQuill/flatten.js delete mode 100644 src/common/reactQuill/index.js delete mode 100644 src/common/reactQuill/index.scss delete mode 100644 src/common/reactQuill/lib.js delete mode 100644 src/common/reactQuill/useDeepEqualMemo.js delete mode 100644 src/common/reactQuill/useMountQuill.js delete mode 100644 src/common/reactQuill/useQuill.js delete mode 100644 src/common/reactQuill/useQuillOnChange.js delete mode 100644 src/common/reactQuill/useQuillPlaceholder.js delete mode 100644 src/common/reactQuill/useQuillValueSync.js create mode 100644 src/components/mini-pagination/index.jsx create mode 100644 src/components/mini-pagination/index.scss create mode 100644 src/components/modal.jsx create mode 100644 src/components/monaco-editor/TPIMonacoConfig.js create mode 100644 src/components/monaco-editor/index.css create mode 100644 src/components/monaco-editor/index.jsx create mode 100644 src/components/nodata-panel/index.jsx create mode 100644 src/components/nodata-panel/index.scss create mode 100644 src/components/render-html.jsx create mode 100644 src/components/shixun-card-list/index.jsx create mode 100644 src/components/shixun-card-list/index.scss create mode 100644 src/components/tabs/A.jsx create mode 100644 src/components/tabs/index.jsx create mode 100644 src/components/tabs/index.scss delete mode 100644 src/images/forge/project.jpg delete mode 100644 src/indexPlus.css delete mode 100644 src/logo.svg delete mode 100644 src/modules/comment/CommentItemKEEditor.js delete mode 100644 src/modules/comment/CommentItemMDEditor.js create mode 100644 src/modules/comment/comment-input.jsx create mode 100644 src/modules/comment/comment-input.scss create mode 100644 src/modules/comment/comment-item-editor.jsx create mode 100644 src/modules/courses/Video/MoveBox.js create mode 100644 src/modules/courses/Video/VideoLink.js create mode 100755 src/modules/courses/Video/images/zoom.png create mode 100644 src/modules/courses/Video/video-play/index.jsx create mode 100644 src/modules/courses/coursesDetail/course-banner.css create mode 100644 src/modules/courses/coursesHome/btn-join.png create mode 100644 src/modules/courses/coursesHome/btn-new.png delete mode 100644 src/modules/courses/coursesPublic/CoursesMarkdown.js create mode 100644 src/modules/courses/coursesPublic/sendResources.js create mode 100644 src/modules/courses/exercise/exercise-new-form/index.jsx create mode 100644 src/modules/courses/exercise/exercise-new-form/index.scss create mode 100644 src/modules/courses/exercise/new/ShixunProgramming.js create mode 100644 src/modules/courses/exercise/question/Progques.js create mode 100644 src/modules/courses/exercise/question/ShixunProgrDetail.js create mode 100644 src/modules/courses/exercise/question/ShowProgramming.js create mode 100644 src/modules/courses/shixunHomework/Chongzuomodel.js create mode 100644 src/modules/courses/shixunHomework/shixunreport/Shixunbage.css create mode 100644 src/modules/courses/signin/Signinstatistics/Signinstatistics.js create mode 100644 src/modules/courses/signin/component/Detailss.js create mode 100644 src/modules/courses/signin/component/NoneDatas.js create mode 100644 src/modules/courses/signin/component/Teacherentry.js create mode 100644 src/modules/courses/signin/component/teachercomponent/Histeacomponent.js create mode 100644 src/modules/courses/signin/component/teachercomponent/Signteacomponent.js create mode 100644 src/modules/courses/signin/component/teachercomponent/Teaccomponent.js create mode 100644 src/modules/courses/signin/css/Signinstatistics.css create mode 100644 src/modules/courses/signin/css/dot-green@2x.png create mode 100644 src/modules/courses/signin/css/dot-orange@2x.png create mode 100644 src/modules/courses/signin/css/dot-orange@2x1.png create mode 100644 src/modules/courses/signin/css/signincdi.css create mode 100644 src/modules/courses/signin/model/Createsignmodel.js create mode 100644 src/modules/courses/signin/model/Qrcodesignin.js create mode 100644 src/modules/courses/signin/model/Signinname.js create mode 100644 src/modules/courses/signin/model/Studentssignmodel.js create mode 100644 src/modules/courses/signin/model/sigininmodes.js create mode 100644 src/modules/courses/signin/mymain/Signinmain.js create mode 100644 src/modules/courses/signin/student/Signedinlist.js create mode 100644 src/modules/courses/signin/student/Signindetails.js create mode 100644 src/modules/courses/signin/teacher/Teachers_signin.js create mode 100644 src/modules/courses/videostatistics/Videostatistics.js create mode 100644 src/modules/courses/videostatistics/component/Studenticscom.js create mode 100644 src/modules/courses/videostatistics/component/Studentstatistics.js create mode 100644 src/modules/courses/videostatistics/component/Videostatisticscom.js create mode 100644 src/modules/courses/videostatistics/component/Videostatisticscomtwo.js create mode 100644 src/modules/courses/videostatistics/component/Videostatisticslist.js delete mode 100644 src/modules/developer/components/myMonacoEditor/index2.js delete mode 100644 src/modules/forums/MemoDetailKEEditor.js delete mode 100644 src/modules/forums/MemoDetailMDEditortwo.js delete mode 100644 src/modules/home/home.css create mode 100644 src/modules/home/index.jsx create mode 100644 src/modules/home/index.scss create mode 100644 src/modules/home/list-container.jsx create mode 100644 src/modules/home/nav-list.jsx delete mode 100644 src/modules/page/component/TPICodeMirror.css delete mode 100644 src/modules/page/component/TPICodeMirror.js delete mode 100644 src/modules/page/component/TPICodeSetting.js create mode 100644 src/modules/page/component/tpi-code-setting/index.jsx create mode 100644 src/modules/page/component/tpi-code-setting/index.scss create mode 100644 src/modules/paths/btn-new.png delete mode 100644 src/modules/projectPackages/MDEditors.js delete mode 100644 src/modules/question/Paperreview_judgment.js delete mode 100644 src/modules/question/Paperreview_multlple.js delete mode 100644 src/modules/question/Paperreview_program.js delete mode 100644 src/modules/question/animation/parabola.js create mode 100644 src/modules/question/component/ComquestionEditor.js create mode 100644 src/modules/question/component/QuestionModalPicture.js create mode 100644 src/modules/question/component/QuestionModalys.js create mode 100644 src/modules/question/component/SubquestionEditor.js create mode 100644 src/modules/question/component/list-jihe.scss create mode 100644 src/modules/question/questioncss/font.css create mode 100644 src/modules/question/questioncss/quill.core.css create mode 100644 src/modules/question/questioncss/quill.snow.css create mode 100644 src/modules/recruitment/EditResume.js create mode 100644 src/modules/recruitment/Resume/EduExperienceItem.js create mode 100644 src/modules/recruitment/Resume/Educationitem.js create mode 100644 src/modules/recruitment/Resume/ResumeDetails.js create mode 100644 src/modules/recruitment/Resume/WorkExperience.js create mode 100644 src/modules/recruitment/Resume/WorkItem.js create mode 100644 src/modules/recruitment/Route-shoyushen.js create mode 100644 src/modules/recruitment/Tecruitment.js create mode 100644 src/modules/recruitment/data/genUuid.js create mode 100644 src/modules/recruitment/data/getAppliers.js create mode 100644 src/modules/recruitment/data/getCurrCity.js create mode 100644 src/modules/recruitment/data/getHotCity.js create mode 100644 src/modules/recruitment/data/getJobCate.js create mode 100644 src/modules/recruitment/data/getJobInfo.js create mode 100644 src/modules/recruitment/data/getProfileLoc.js create mode 100644 src/modules/recruitment/data/getResume.js create mode 100644 src/modules/recruitment/data/ifHaveResume.js create mode 100644 src/modules/recruitment/data/locData.js create mode 100644 src/modules/recruitment/data/mapJobData.js create mode 100644 src/modules/recruitment/data/mapResumeData.js create mode 100644 src/modules/recruitment/data/submitData.js create mode 100644 src/modules/recruitment/data/sumitResume.js create mode 100644 src/modules/recruitment/data/updateResume.js create mode 100644 src/modules/recruitment/jobAppliers/Header.js create mode 100644 src/modules/recruitment/jobAppliers/Item.js create mode 100644 src/modules/recruitment/jobAppliers/List.js create mode 100644 src/modules/recruitment/jobAppliers/config.js create mode 100644 src/modules/recruitment/jobDetail/Address.js create mode 100644 src/modules/recruitment/jobDetail/Comp.js create mode 100644 src/modules/recruitment/jobDetail/ConfirmModal.js create mode 100644 src/modules/recruitment/jobDetail/Header.js create mode 100644 src/modules/recruitment/jobDetail/ItemBase.js create mode 100644 src/modules/recruitment/jobDetail/JobInfo.js create mode 100644 src/modules/recruitment/jobDetail/icon/Icon.js create mode 100644 src/modules/recruitment/jobDetail/icon/com.png create mode 100644 src/modules/recruitment/jobDetail/icon/job.png create mode 100644 src/modules/recruitment/jobDetail/icon/loc.png create mode 100644 src/modules/recruitment/jobForm/FormPage.js create mode 100644 src/modules/recruitment/jobForm/JobForm.js create mode 100644 src/modules/recruitment/jobForm/popup/AddClass.js create mode 100644 src/modules/recruitment/jobForm/popup/SelectClass.js create mode 100644 src/modules/recruitment/jobForm/popup/selectWidget/FatherItem.js create mode 100644 src/modules/recruitment/jobForm/popup/selectWidget/FatherNav.js create mode 100644 src/modules/recruitment/jobForm/popup/selectWidget/SonArea.js create mode 100644 src/modules/recruitment/jobForm/widget/CateSelect.js create mode 100644 src/modules/recruitment/jobForm/widget/InputWithLen.js create mode 100644 src/modules/recruitment/jobForm/widget/TextArea.js create mode 100644 src/modules/recruitment/recrulistcss/recrulistcss.scss create mode 100644 src/modules/recruitment/resumeForm/CompanyHeader.js create mode 100644 src/modules/recruitment/resumeForm/Form.js create mode 100644 src/modules/recruitment/resumeForm/NormalForm.js create mode 100644 src/modules/recruitment/resumeForm/popup/CityPopup.js create mode 100644 src/modules/recruitment/resumeForm/popup/JobPopup.js create mode 100644 src/modules/recruitment/resumeForm/popup/Modal.js create mode 100644 src/modules/recruitment/resumeForm/popup/city/CityList.js create mode 100644 src/modules/recruitment/resumeForm/popup/city/SelectedCity.js create mode 100644 src/modules/recruitment/resumeForm/popup/jobClass/FatherItem.js create mode 100644 src/modules/recruitment/resumeForm/popup/jobClass/FatherNav.js create mode 100644 src/modules/recruitment/resumeForm/popup/jobClass/SonArea.js create mode 100644 src/modules/recruitment/resumeForm/popup/jobClass/Tiltle.js create mode 100644 src/modules/recruitment/resumeForm/widget/Button.js create mode 100644 src/modules/recruitment/resumeForm/widget/EduItem.js create mode 100644 src/modules/recruitment/resumeForm/widget/ImageUploader.js create mode 100644 src/modules/recruitment/resumeForm/widget/JobExpect.js create mode 100644 src/modules/recruitment/resumeForm/widget/MothPicker.js create mode 100644 src/modules/recruitment/resumeForm/widget/ResumesUploader.js create mode 100644 src/modules/recruitment/resumeForm/widget/WorkItem.js create mode 100644 src/modules/recruitment/routePage/AddJobPage.js create mode 100644 src/modules/recruitment/routePage/AddResumePage.js create mode 100644 src/modules/recruitment/routePage/ApplierPage.js create mode 100644 src/modules/recruitment/routePage/DetailAddResumePage.js create mode 100644 src/modules/recruitment/routePage/EditJobPage.js create mode 100644 src/modules/recruitment/routePage/EditResumePage.js create mode 100644 src/modules/recruitment/routePage/JobDetailPage.js create mode 100644 src/modules/recruitment/tablist/RecruitList.js create mode 100644 src/modules/recruitment/tablist/component/InfoModal.js create mode 100644 src/modules/recruitment/tablist/component/Tabhead.js create mode 100644 src/modules/recruitment/tablist/component/TabheadSekinds.js create mode 100644 src/modules/recruitment/tablist/component/Tablereacts.js create mode 100644 src/modules/recruitment/tablist/component/Tabrecru.js create mode 100644 src/modules/recruitment/tablist/tableColumnsConfig.js create mode 100644 src/modules/recruitment/util/Button.js create mode 100644 src/modules/recruitment/util/GeneralButton.js create mode 100644 src/modules/recruitment/util/Layout.js create mode 100644 src/modules/recruitment/util/Loading.js create mode 100644 src/modules/recruitment/util/Modal.js create mode 100644 src/modules/recruitment/util/Nav.js create mode 100644 src/modules/recruitment/util/cssMixin.js create mode 100644 src/modules/recruitment/util/hooks.js delete mode 100644 src/modules/test/TestCrop.js create mode 100644 src/modules/testpaper/component/QuestionModalys.js create mode 100644 src/modules/testpaper/component/SendTopicsModel.js delete mode 100644 src/modules/tpm/1.js create mode 100644 src/modules/tpm/TPMRepositoryComponentdetails.js delete mode 100644 src/modules/tpm/challengesnew/editorMD.js delete mode 100644 src/modules/tpm/challengesnew/old/TPManswer.js delete mode 100644 src/modules/tpm/challengesnew/old/TPMchallengesnew.js create mode 100644 src/modules/tpm/challengesnew/tpm-md-editor.js delete mode 100644 src/modules/tpm/newshixuns/oldNewshixuns.js create mode 100644 src/modules/tpm/shixunchild/Challenges/Showmarkdown.js create mode 100644 src/modules/tpm/shixunchild/Repository/Repository.css create mode 100644 src/modules/tpm/shixunchild/Repository/RepositoryAddFileupload_file.js create mode 100644 src/modules/tpm/shixunchild/Repository/RepositoryNoneData.js create mode 100644 src/modules/tpm/shixunchild/Repository/Repositoryfile.js delete mode 100644 src/modules/tpm/shixuns/ShixunCard.js delete mode 100644 src/modules/tpm/shixuns/ShixunCardList.js delete mode 100644 src/modules/tpm/shixuns/ShixunSearchBar.js create mode 100644 src/modules/tpm/shixuns/btn-new.png create mode 100644 src/modules/tpm/shixuns/shixun-card.js create mode 100644 src/modules/tpm/shixuns/shixun-keyword-list.jsx create mode 100644 src/modules/tpm/shixuns/shixun-keyword-list.scss create mode 100644 src/modules/tpm/shixuns/shixun-search-bar/A.jsx create mode 100644 src/modules/tpm/shixuns/shixun-search-bar/index.jsx create mode 100644 src/modules/tpm/shixuns/shixunCss/shixun-search-bar.scss create mode 100644 src/modules/tpm/shixuns/shixunCss/shixunCard.scss delete mode 100644 src/modules/user/usersInfo/Projects.js create mode 100644 src/modules/user/usersInfo/video/images/default.png create mode 100644 src/services/video-service.js create mode 100644 src/test/md.jsx create mode 100644 src/test/monaco.jsx diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 8aa26455..00000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) [year] [fullname] - -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. diff --git a/add.txt b/add.txt index 14b6fefe..8bd5bb1d 100644 --- a/add.txt +++ b/add.txt @@ -26,11 +26,9 @@ MainContentContainer -TODO - 待同步 +TODO + 待同步 1、timer图标样式更换 index.html WebSSHTimer.css - WebSSHTimer.js - - + WebSSHTimer.js \ No newline at end of file diff --git a/config/env.js b/config/env.js index ae1edea6..8e68efe0 100644 --- a/config/env.js +++ b/config/env.js @@ -76,7 +76,7 @@ function getClientEnvironment(publicUrl) { // For example, . // This should only be used as an escape hatch. Normally you would put // images into the `src` and `import` them in code to get their paths. - PUBLIC_URL: '/react/build/.', + PUBLIC_URL: publicUrl, } ); // Stringify all values so we can feed into Webpack DefinePlugin diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 85aa92b9..17446b8c 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -7,32 +7,41 @@ const HtmlWebpackPlugin = require('html-webpack-plugin'); const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin'); const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin'); -const eslintFormatter = require('react-dev-utils/eslintFormatter'); const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin'); -// const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); +const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); const getClientEnvironment = require('./env'); const paths = require('./paths'); -// Webpack uses `publicPath` to determine where the app is being served from. -// In development, we always serve from the root. This makes config easier. const publicPath = '/'; -// `publicUrl` is just like `publicPath`, but we will provide it to our app -// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript. -// Omit trailing slash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz. -const publicUrl = ''; -// Get environment variables to inject into our app. -const env = getClientEnvironment(publicUrl); +const env = getClientEnvironment('/'); -// This is the development configuration. -// It is focused on developer experience and fast rebuilds. -// The production configuration is different and lives in a separate file. -// 测试用的 module.exports = { - // You may want 'eval' instead if you prefer to see the compiled output in DevTools. - // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.s - //devtool: "cheap-module-eval-source-map", + optimization: { + splitChunks: { + chunks: 'async', + // 大于30KB才单独分离成chunk + minSize: 30000, + maxAsyncRequests: 5, + maxInitialRequests: 3, + name: true, + cacheGroups: { + default: { + priority: -20, + reuseExistingChunk: true, + }, + vendors: { + name: 'vendors', + test: /[\\/]node_modules[\\/]/, + priority: -10, + chunks: "all" + } + } + }, + runtimeChunk: true + }, + mode: 'development', // 开启调试 - devtool: "source-map", // 开启调试 + devtool: "source-map", // 开启调试 // These are the "entry points" to our application. // This means they will be the "root" imports that are included in JS bundle. // The first two entry points enable "hot" CSS and auto-refreshes for JS. @@ -59,6 +68,7 @@ module.exports = { output: { // Add /* filename */ comments to generated require()s in the output. pathinfo: true, + globalObject: 'this', // This does not produce a real file. It's just the virtual path that is // served by WebpackDevServer in development. This is the JS bundle // containing code from all our entry points, and the Webpack runtime. @@ -66,7 +76,7 @@ module.exports = { // There are also additional JS chunk files if you use code splitting. chunkFilename: 'static/js/[name].chunk.js', // This is the URL that app is served from. We use "/" in development. - publicPath: publicPath, + publicPath, // Point sourcemap entries to original disk location (format as URL on Windows) devtoolModuleFilenameTemplate: info => path.resolve(info.absoluteResourcePath).replace(/\\/g, '/'), @@ -101,36 +111,11 @@ module.exports = { // please link the files into your node_modules/ and let module-resolution kick in. // Make sure your source files are compiled, as they will not be processed in any way. new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]), - // MonacoEditor - // https://github.com/Microsoft/monaco-editor/blob/master/docs/integrate-esm.md - // https://github.com/Microsoft/monaco-editor-webpack-plugin/issues/56 - // new MonacoWebpackPlugin(), ], }, module: { strictExportPresence: true, rules: [ - // TODO: Disable require.ensure as it's not a standard language feature. - // We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176. - // { parser: { requireEnsure: false } }, - - // First, run the linter. - // It's important to do this before Babel processes the JS. - // { - // test: /\.(js|jsx|mjs)$/, - // enforce: 'pre', - // use: [ - // { - // options: { - // formatter: eslintFormatter, - // eslintPath: require.resolve('eslint'), - // - // }, - // loader: require.resolve('eslint-loader'), - // }, - // ], - // include: paths.appSrc, - // }, { // "oneOf" will traverse all following loaders until one will // match the requirements. When no loader matches it will fall @@ -151,13 +136,20 @@ module.exports = { { test: /\.(js|jsx|mjs)$/, include: paths.appSrc, + exclude: /node_modules/, loader: require.resolve('babel-loader'), options: { - - // This is a feature of `babel-loader` for webpack (not Babel itself). + // This is a feature of `babel-loader` for webpack (not Babel itself). // It enables caching results in ./node_modules/.cache/babel-loader/ // directory for faster rebuilds. cacheDirectory: true, + "plugins": [ + ["import", { + "libraryName": "antd", + "libraryDirectory": "es", + "style": "css" + }] + ] }, }, // "postcss" loader applies autoprefixer to our CSS. @@ -200,7 +192,7 @@ module.exports = { { test: /\.scss$/, use: [ - require.resolve("style-loader"), + require.resolve('style-loader'), { loader: require.resolve("css-loader"), options: { @@ -239,12 +231,13 @@ module.exports = { // The public URL is available as %PUBLIC_URL% in index.html, e.g.: // // In development, this will be an empty string. - new InterpolateHtmlPlugin(env.raw), // Generates an `index.html` file with the '; + }) + .replace(/