diff --git a/src/assets/image/close.png b/src/assets/image/close.png new file mode 100644 index 0000000..c1b6507 Binary files /dev/null and b/src/assets/image/close.png differ diff --git a/src/assets/image/fail.png b/src/assets/image/fail.png new file mode 100644 index 0000000..645c6a0 Binary files /dev/null and b/src/assets/image/fail.png differ diff --git a/src/assets/image/posi.png b/src/assets/image/posi.png new file mode 100644 index 0000000..e470742 Binary files /dev/null and b/src/assets/image/posi.png differ diff --git a/src/assets/image/pro.png b/src/assets/image/pro.png new file mode 100644 index 0000000..829d199 Binary files /dev/null and b/src/assets/image/pro.png differ diff --git a/src/assets/image/pro_gray.png b/src/assets/image/pro_gray.png new file mode 100644 index 0000000..7aacb8d Binary files /dev/null and b/src/assets/image/pro_gray.png differ diff --git a/src/assets/image/pull.png b/src/assets/image/pull.png new file mode 100644 index 0000000..280be4e Binary files /dev/null and b/src/assets/image/pull.png differ diff --git a/src/assets/image/succ.png b/src/assets/image/succ.png new file mode 100644 index 0000000..b667e65 Binary files /dev/null and b/src/assets/image/succ.png differ diff --git a/src/assets/image/time.png b/src/assets/image/time.png new file mode 100644 index 0000000..f817b80 Binary files /dev/null and b/src/assets/image/time.png differ diff --git a/src/assets/image/time_gary.png b/src/assets/image/time_gary.png new file mode 100644 index 0000000..6265643 Binary files /dev/null and b/src/assets/image/time_gary.png differ diff --git a/src/assets/image/up.png b/src/assets/image/up.png new file mode 100644 index 0000000..1e44622 Binary files /dev/null and b/src/assets/image/up.png differ diff --git a/src/router/index.js b/src/router/index.js index accee5a..14bcb36 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,6 +2,9 @@ import Vue from "vue"; import VueRouter from "vue-router"; import HomeView from "../views/HomeView.vue"; import Guidance from "../views/Guidance.vue"; +import examination from "../views/examination.vue"; +import ExamProject from "../views/examProject.vue"; +import MyExam from "../views/myExam.vue"; Vue.use(VueRouter); @@ -12,7 +15,7 @@ const routes = [ component: HomeView, meta: { title: "选择医院", - } + }, }, { path: "/guidance", @@ -20,7 +23,31 @@ const routes = [ component: Guidance, meta: { title: "预约须知", - } + }, + }, + { + path: "/examination", + name: "examination", + component: examination, + meta: { + title: "体检项目", + }, + }, + { + path: "/examProject", + name: "ExamProject", + component: ExamProject, + meta: { + title: "预约项目", + }, + }, + { + path: "/myExam", + name: "MyExam", + component: MyExam, + meta: { + title: "我的预约", + }, }, { path: "/about", @@ -37,7 +64,9 @@ const router = new VueRouter({ routes, }); router.beforeEach((to, from, next) => { - to.meta.title?document.title = to.meta.title:document.title ='体检预约' - next() -}) + to.meta.title + ? (document.title = to.meta.title) + : (document.title = "体检预约"); + next(); +}); export default router; diff --git a/src/views/examProject.vue b/src/views/examProject.vue new file mode 100644 index 0000000..470d6de --- /dev/null +++ b/src/views/examProject.vue @@ -0,0 +1,298 @@ + + + + + + + + + {{item.day}} + {{item.monmet}} + + + + + + + + {{item.name}} + {{item.posi}} + + + 取消预约 + + + + + 确认 + + + + + + + 预约成功 + + 预约成功后若不能按时体检请提前取消 + 未提前取消且未按期体检将被拉入黑名单 + 被拉黑用户10日内不可再预约 + + 知道了 + + + + + + 预约失败 + + 您选择的时间段已无号,请重新预约 + + 知道了 + + + + + + + + + diff --git a/src/views/examination.vue b/src/views/examination.vue new file mode 100644 index 0000000..7896723 --- /dev/null +++ b/src/views/examination.vue @@ -0,0 +1,513 @@ + + + + + + {{item}} + + + + + {{item}} + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + {{item.position}} + + + {{item.residue}}/{{item.total}} + + + + + {{item1.moment}} {{item1.time}} + 剩余:{{item1.num}} + + + + + + 预约 + 预约 + + + + + + + \ No newline at end of file diff --git a/src/views/myExam.vue b/src/views/myExam.vue new file mode 100644 index 0000000..cc2062a --- /dev/null +++ b/src/views/myExam.vue @@ -0,0 +1,154 @@ + + + + 2023-01-08 + + + + + + + 2023-01-08 + 上午 9:00-9:30 + + + + + + + + 单眼视力 + 门诊楼3楼眼科门诊 + + + 取消预约 + + + + + + + + + +