From 259420966e416250ea21de25984bf9b0b7458807 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Wed, 6 Dec 2023 16:43:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Businesses.vue | 4 ++-- src/components/areaList.vue | 2 +- src/components/border.vue | 2 +- src/components/headView.vue | 4 ++-- src/components/scorllList.vue | 6 +++--- src/layout/index.vue | 2 +- src/view/delivery/components/bottom.vue | 6 +++--- src/view/delivery/components/left.vue | 4 ++-- src/view/delivery/components/right.vue | 10 +++++----- src/view/delivery/index.vue | 2 +- src/view/index/components/centerItem2.vue | 8 ++++---- src/view/index/components/leftItme1.vue | 12 ++++++------ src/view/index/components/leftItme2.vue | 10 +++++----- src/view/index/components/rightItem1.vue | 6 +++--- src/view/index/components/rightItem2.vue | 10 +++++----- src/view/index/index.vue | 2 +- 16 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/components/Businesses.vue b/src/components/Businesses.vue index 7611bc3..6a82af5 100644 --- a/src/components/Businesses.vue +++ b/src/components/Businesses.vue @@ -183,8 +183,8 @@ onMounted(() => { :deep(.ceil) { padding: 0 !important; - margin-bottom: 5px; - margin-right: 2px; + margin-bottom: 0.3rem; + margin-right: 0.1rem; } :deep(.header-item) { diff --git a/src/components/areaList.vue b/src/components/areaList.vue index 7b0dca6..ea85665 100644 --- a/src/components/areaList.vue +++ b/src/components/areaList.vue @@ -128,7 +128,7 @@ onMounted(() => { } .address::-webkit-scrollbar { - width: 10px; + width: 0.63rem; background-color: #153041; } diff --git a/src/components/border.vue b/src/components/border.vue index 56706e0..77280b5 100644 --- a/src/components/border.vue +++ b/src/components/border.vue @@ -38,7 +38,7 @@ background-image: linear-gradient( to right, #5bdbf6 12px, - transparent 120px, + transparent 11.25rem, transparent calc(100% - 150px), #5bdbf6 calc(100% - 12px) ); diff --git a/src/components/headView.vue b/src/components/headView.vue index e29f15b..cf5cca9 100644 --- a/src/components/headView.vue +++ b/src/components/headView.vue @@ -140,7 +140,7 @@ onMounted(() => { background-image: url("../assets/img/header.png"); background-size: 100% 100%; background-color: rgba($color: #000000, $alpha: 0.8); - height: 60px; + height: 3.75rem; align-items: center; position: relative; .img { @@ -161,7 +161,7 @@ onMounted(() => { font-family: "ifonts", sans-serif; font-size: 2rem; height: 100%; - line-height: 50rpx; + line-height: 3.5rem; } .left { display: flex; diff --git a/src/components/scorllList.vue b/src/components/scorllList.vue index 56540fe..c1d5f9a 100644 --- a/src/components/scorllList.vue +++ b/src/components/scorllList.vue @@ -38,12 +38,12 @@ onMounted(() => { } .scroll-list { - height: 100px; /* 设置滚动列表容器的高度 */ + height: 6.25rem; /* 设置滚动列表容器的高度 */ overflow: hidden; /* 隐藏溢出部分 */ } .list-item { - height: 40px; /* 每个列表项的高度 */ - line-height: 40px; /* 垂直居中文本 */ + height: 2.5rem; /* 每个列表项的高度 */ + line-height: 2.5rem; /* 垂直居中文本 */ } \ No newline at end of file diff --git a/src/layout/index.vue b/src/layout/index.vue index 3484ad2..e130352 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -40,7 +40,7 @@ onUnmounted(() => {