From 7453735a2ed1d4fca4f6f8d2850909162b4dc5b3 Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Mon, 15 Apr 2024 17:00:54 +0800 Subject: [PATCH] 1 --- src/view/yl.vue | 78 +++++++++++++++++++++++++++++-------------------- 1 file changed, 47 insertions(+), 31 deletions(-) diff --git a/src/view/yl.vue b/src/view/yl.vue index 358030c..60314f6 100644 --- a/src/view/yl.vue +++ b/src/view/yl.vue @@ -109,17 +109,52 @@
-
+ +
-
+
+
16 @@ -151,7 +186,7 @@
-
+
@@ -164,12 +199,8 @@
- -
+ +
@@ -210,8 +241,7 @@ const change = (name, index) => { height: 90vh; display: flex; flex-direction: column; - // flex: 1; - width: 33.333333333%; + flex: 1; } .flex1 { @@ -254,26 +284,19 @@ const change = (name, index) => { .familyPlanning { background-image: url(@/assets/YLTitle/titleImg9.png); - background-repeat: no-repeat; - background-size: 100% 100%; } .mechanism { background-image: url(@/assets/YLTitle/titleImg10.png); - background-repeat: no-repeat; - background-size: 100% 100%; } .service { background-image: url(@/assets/YLTitle/titleImg11.png); - background-repeat: no-repeat; - background-size: 100% 100%; } .serviceBox { display: flex; flex-direction: column; - box-sizing: border-box; .serviceimg { width: 182px; @@ -283,21 +306,15 @@ const change = (name, index) => { .serviceTop { display: flex; justify-content: space-between; - padding: 10px 36px 0px 20px ; - box-sizing: border-box; - .visit { - display: flex; - flex-direction: column; - align-items: center; - } + .medicalService { display: flex; flex-direction: column; align-items: center; .ylimg { - width: 200px; - height: 220px; + width: 205px; + height: 239px; } .medicalServiceTop { @@ -305,10 +322,10 @@ const change = (name, index) => { span { position: absolute; - left: 39px; + left: 38px; top: 35%; font-weight: bold; - font-size: 32px; + font-size: 36px; color: #ffffff; line-height: 41px; letter-spacing: 1px; @@ -360,7 +377,6 @@ const change = (name, index) => { .left_bg { width:642px; box-sizing: border-box; - height:100%; padding-left:50px; margin-right:28px; background-image: url(@/assets/images/left_bg.png); @@ -474,7 +490,7 @@ const change = (name, index) => { .history { padding-top: 12px; display: flex; - justify-content: space-around; + .history1 { font-size: 26px; color: #ffffff;