diff --git a/.env b/.env new file mode 100644 index 0000000..51fb97d --- /dev/null +++ b/.env @@ -0,0 +1,17 @@ +VITE_BASE=/fe-student-h5 +VITE_BASE_API=/ +VITE_OUTPUT_DIR=./dist +VITE_BASE_LOGIN_URL=https://u-pre.boe.com/web?returnUrl= +VITE_PROXY_URL=http://111.231.196.214/manageApi + + +VITE_BOE_ONLINE_CLASS_URL=https://u-pre.boe.com/pc/course/studyindex?id= +VITE_BOE_CASS_DETAIL_URL=https://u-pre.boe.com/pc/case/detail?id= +VITE_BOE_TEST_DETAIL_URL=https://u-pre.boe.com/web/quizsummary?detailId= +VITE_BOE_TEST_OUT_DETAIL_URL=https://u-pre.boe.com/api/b1/tale/do-quiz?quizKid= +VITE_BOE_EXAM_DETAIL_URL=https://u-pre.boe.com/pc/exam/test?id= +VITE_BOE_PATH_DETAIL_URL=https://u-pre.boe.com/pc/forward?to=/student-h5 + +VITE_BOE_API_URL=https://u-pre.boe.com + +VITE_TASK_WHITE_TYPE=-8-,-12-,-13- \ No newline at end of file diff --git a/.env.boe b/.env.boe new file mode 100644 index 0000000..4978826 --- /dev/null +++ b/.env.boe @@ -0,0 +1,10 @@ +VITE_BASE=/student-h5 +VITE_BASE_API=/manageApi + +VITE_BOE_ONLINE_CLASS_URL=https://u-pre.boe.com/pc/course/studyindex?id= +VITE_BOE_CASS_DETAIL_URL=https://u-pre.boe.com/pc/case/detail?id= +VITE_BOE_TEST_DETAIL_URL=https://u-pre.boe.com/web/quizsummary?detailId= +VITE_BOE_TEST_OUT_DETAIL_URL=https://u-pre.boe.com/api/b1/tale/do-quiz?quizKid= +VITE_BOE_EXAM_DETAIL_URL=https://u-pre.boe.com/pc/exam/test?id= + +VITE_BOE_API_URL=https://u-pre.boe.com \ No newline at end of file diff --git a/.env.prod b/.env.prod new file mode 100644 index 0000000..76667b9 --- /dev/null +++ b/.env.prod @@ -0,0 +1,15 @@ +VITE_BASE=/student-h5 +VITE_BASE_API=/manageApi +VITE_BASE_LOGIN_URL=https://u.boe.com/web?returnUrl= + + +VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc/course/studyindex?id= +VITE_BOE_CASS_DETAIL_URL=https://u.boe.com/pc/case/detail?id= +VITE_BOE_TEST_DETAIL_URL=https://u.boe.com/web/quizsummary?detailId= +VITE_BOE_TEST_OUT_DETAIL_URL=https://u.boe.com/api/b1/tale/do-quiz?quizKid= +VITE_BOE_EXAM_DETAIL_URL=https://u.boe.com/pc/exam/test?id= +VITE_BOE_PATH_DETAIL_URL=https://u.boe.com/pc/forward?to=/student-h5 + +VITE_BOE_API_URL=https://u.boe.com + +VITE_TASK_WHITE_TYPE=-8-,-12-,-13- diff --git a/.env.release b/.env.release new file mode 100644 index 0000000..4efc769 --- /dev/null +++ b/.env.release @@ -0,0 +1,12 @@ +VITE_BASE=/student-h5-release +VITE_BASE_API=/manageApi-release +VITE_BASE_LOGIN_URL=https://u.boe.com/web?returnUrl= + +VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc-release/course/studyindex?id= +VITE_BOE_CASS_DETAIL_URL=https://u.boe.com/pc-release/case/detail?id= +VITE_BOE_TEST_DETAIL_URL=https://u.boe.com/web/quizsummary?detailId= +VITE_BOE_TEST_OUT_DETAIL_URL=https://u.boe.com/api/b1/tale/do-quiz?quizKid= +VITE_BOE_EXAM_DETAIL_URL=https://u.boe.com/pc-release/exam/test?id= +VITE_BOE_PATH_DETAIL_URL=https://u.boe.com/pc-release/forward?to=/student-h5-release + +VITE_BOE_API_URL=https://u.boe.com \ No newline at end of file diff --git a/.env.test b/.env.test new file mode 100644 index 0000000..84532a5 --- /dev/null +++ b/.env.test @@ -0,0 +1,5 @@ +VITE_BASE=/student-h5 +VITE_BASE_API=/manageApi + +VITE_OUTPUT_DIR=./docker/dist +VITE_BOE_API_URL=https://u-pre.boe.com \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..2617103 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,5 @@ +FROM devforth/spa-to-http:latest +WORKDIR / + +ADD ./dist/ . +EXPOSE 8080 diff --git a/index.html b/index.html new file mode 100644 index 0000000..5d3bac5 --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + +
+ + + +