diff --git a/src/assets/img/homePage/consult.png b/src/assets/img/homePage/consult.png new file mode 100644 index 0000000..4737889 Binary files /dev/null and b/src/assets/img/homePage/consult.png differ diff --git a/src/assets/img/homePage/emergency.png b/src/assets/img/homePage/emergency.png new file mode 100644 index 0000000..3f7d872 Binary files /dev/null and b/src/assets/img/homePage/emergency.png differ diff --git a/src/assets/img/homePage/monitor.png b/src/assets/img/homePage/monitor.png new file mode 100644 index 0000000..d28e67e Binary files /dev/null and b/src/assets/img/homePage/monitor.png differ diff --git a/src/router/index.ts b/src/router/index.ts index ec69c93..8585ef9 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -29,6 +29,14 @@ const routes: Array = [ { path: '/home', name: 'index', + meta: { + title: '健康服务中心', + }, + component: () => import('/@/views/homePage.vue'), + }, + { + path: '/home1', + name: 'index1', meta: { title: '健康咨询', }, @@ -42,14 +50,14 @@ const routes: Array = [ }, component: () => import('/@/views/indexSon.vue'), }, - { - path: '/home1', - name: 'index1', - meta: { - title: '副屏1', - }, - component: () => import('/@/views/index.vue'), - }, + // { + // path: '/home1', + // name: 'index1', + // meta: { + // title: '副屏1', + // }, + // component: () => import('/@/views/index.vue'), + // }, ]; const router: Router = createRouter({ diff --git a/src/views/healthConsultation/HealthConsultationIndex.vue b/src/views/healthConsultation/HealthConsultationIndex.vue index f5330cd..0597a49 100644 --- a/src/views/healthConsultation/HealthConsultationIndex.vue +++ b/src/views/healthConsultation/HealthConsultationIndex.vue @@ -110,7 +110,6 @@ .sun-title-left { font-family: MicrosoftYaHei-Bold; // font-size: 22px; - font-size: clamp(14px, 1vw, 50px); font-weight: bold; text-align: left; flex: 1; diff --git a/src/views/homePage.vue b/src/views/homePage.vue new file mode 100644 index 0000000..54f745a --- /dev/null +++ b/src/views/homePage.vue @@ -0,0 +1,239 @@ + + + diff --git a/src/views/indexSun.vue b/src/views/indexSun.vue index 7645d80..eed89c4 100644 --- a/src/views/indexSun.vue +++ b/src/views/indexSun.vue @@ -3,7 +3,7 @@
- {{ dateInfo?.day }} {{ dateInfo?.times }}{{ rightDate }} + {{ dateInfo?.day }} {{ dateInfo?.times }}{{ rightDate }}
{{ getCenterInfo.screenTitle || '健康服务中心' }}
@@ -732,22 +732,26 @@ font-size: 20px; color: #fff; text-align: center; + font-family: MicrosoftYaHei-Bold; .sun-title-left { text-align: left; flex: 1; line-height: 60px; padding-left: 15px; + font-weight: bold; } .sun-title-right { flex: 1; text-align: right; line-height: 50px; - padding-right: 30px; > button { &:nth-child(1) { margin-right: 10px; } + &:nth-child(2) { + margin-right: 30px; + } } }