From b7278a8ea7fea0a9f8106f279edf2ca36e752981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=86=E9=92=B1=E8=90=BD=E5=B0=BD=E6=A7=BF=E8=8A=B1?= =?UTF-8?q?=E7=A8=80?= <2675540038@qq.com> Date: Thu, 10 Apr 2025 18:06:54 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=AF=A6=E6=83=85=E9=A1=B5=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E5=B7=B2?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=202.=E5=A4=A7=E6=A0=87=E9=A2=98=E8=A1=A8?= =?UTF-8?q?=E8=BF=B0=E5=B7=B2=E4=BF=AE=E6=AD=A3=203.=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=8C=BB=E7=94=9F=E5=9B=A2=E9=98=9F=E7=AE=80=E4=BB=8B=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E8=B6=85=E5=87=BA=E9=97=AE=E9=A2=98=E5=B7=B2=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=204.=E5=9B=BE=E7=89=87=E8=B5=84=E6=BA=90=E5=85=A8?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96=EF=BC=8C=E6=B6=B5=E7=9B=96=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=9B=BE=E3=80=81=E5=8C=BB=E7=94=9F=E7=85=A7=E7=89=87?= =?UTF-8?q?=E5=8F=8A=E8=BD=AE=E6=92=AD=E5=9B=BE=205.=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E6=A0=BC=E5=BC=8F=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=87=AA=E9=80=82=E5=BA=94=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=B7=B2=E5=AE=8C=E5=96=84=206.=E8=BD=AE?= =?UTF-8?q?=E6=92=AD=E5=9B=BE=E6=9C=80=E5=A4=A7=E9=AB=98=E5=BA=A6=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.vue | 22 +++++++++++++++++ assets/css/common.scss | 51 +++++++++++++++++++++++++++------------ components/AppFooter.vue | 2 ++ components/AppHeader.vue | 2 +- pages/about.vue | 4 +-- pages/index.vue | 4 +-- pages/info/[id].vue | 4 +-- pages/phone_index.vue | 4 +-- pages/phone_info/[id].vue | 4 +-- pages/ys_info/[id].vue | 4 +-- service/request.ts | 4 +-- 11 files changed, 75 insertions(+), 30 deletions(-) diff --git a/app.vue b/app.vue index 63cea47..b97fa5a 100644 --- a/app.vue +++ b/app.vue @@ -62,4 +62,26 @@ body { margin: 0; padding: 0; } + + +::-webkit-scrollbar { + width: 5px; + height: 5px; +} + +::-webkit-scrollbar-track { + background: #f1f1f1; +} + +::-webkit-scrollbar-thumb { + background: rgba(11, 175, 160, 1); + border-radius: 6px; + box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.25), + inset -2px -2px 2px rgba(0, 0, 0, 0.25); +} + +::-webkit-scrollbar-thumb:hover { + background: rgba(11, 175, 160, 1); +} + diff --git a/assets/css/common.scss b/assets/css/common.scss index 296c7ae..74d76a1 100644 --- a/assets/css/common.scss +++ b/assets/css/common.scss @@ -5,45 +5,66 @@ .box { color: blue; } + // 添加新的样式 .Adelay-02 { - animation-delay: 0.2s; + animation-delay: 0.2s; animation-duration: 0.1s; } + .Adelay-03 { - animation-delay: 0.3s; + animation-delay: 0.3s; animation-duration: 0.1s; } + .Adelay-04 { - animation-delay: 0.4s; + animation-delay: 0.4s; animation-duration: 0.1s; } + .Adelay-05 { - animation-delay: 0.5s; + animation-delay: 0.5s; animation-duration: 0.1s; } + .Adelay-1 { - animation-delay: 1s; + animation-delay: 1s; animation-duration: 0.1s; } + .Adelay-15 { - animation-delay: 1.5s; + animation-delay: 1.5s; animation-duration: 0.1s; } + .Adelay-2 { - animation-delay: 2s; + animation-delay: 2s; animation-duration: 0.1s; } + .Adelay-25 { - animation-delay: 2.5s; + animation-delay: 2.5s; animation-duration: 0.1s; } + //保留一行 .one-line { - white-space: nowrap; /* 禁止换行 */ - overflow: hidden; /* 隐藏溢出内容 */ - text-overflow: ellipsis; /* 溢出显示省略号(可选) */ - display: inline-block; /* 使块元素能应用省略号 */ - max-width: 100%; /* 配合省略号的宽度限制 */ - } - + white-space: nowrap; + /* 禁止换行 */ + overflow: hidden; + /* 隐藏溢出内容 */ + text-overflow: ellipsis; + /* 溢出显示省略号(可选) */ + display: inline-block; + /* 使块元素能应用省略号 */ + max-width: 100%; + /* 配合省略号的宽度限制 */ +} +//保留三行 +.my_text_2 { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + overflow: hidden; + text-overflow: ellipsis; +} \ No newline at end of file diff --git a/components/AppFooter.vue b/components/AppFooter.vue index 12a1cb9..e221fe2 100644 --- a/components/AppFooter.vue +++ b/components/AppFooter.vue @@ -122,7 +122,9 @@
{{ item.title }}
- 您的位置:首页>系统公告
+ 您的位置:首页>详情
+ :src="item.news_image[0]"/>
- 您的位置:首页>系统公告
+ 您的位置:首页>详情
- 您的位置:首页>医生团队
+ 您的位置:首页>详情