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(() => {