diff --git a/src/views/App/sections/DownloadSection.vue b/src/views/App/sections/DownloadSection.vue
index d6a0515..e39893b 100644
--- a/src/views/App/sections/DownloadSection.vue
+++ b/src/views/App/sections/DownloadSection.vue
@@ -117,4 +117,18 @@
width: 60px;
height: 60px;
}
+
+/* -------------- 移动端适配(768px以下)-------------- */
+@media (max-width: 768px) {
+ .app-promotion {
+ //padding-top: 30px; /* 缩小顶部留白 */
+ .app-download {
+ }
+ .app-item {
+ margin-top: 50px;
+ height: 52px;
+ width: 120px;
+ }
+ }
+}
diff --git a/src/views/App/sections/FeatureNav.vue b/src/views/App/sections/FeatureNav.vue
index e1420a2..f00fbec 100644
--- a/src/views/App/sections/FeatureNav.vue
+++ b/src/views/App/sections/FeatureNav.vue
@@ -253,6 +253,7 @@ const handleSelect = (index: number) => {
.device-info {
.device-desc {
max-width: 100%;
+ line-height: 12px;
}
}
}
@@ -268,7 +269,7 @@ const handleSelect = (index: number) => {
height: 8px;
}
.nav-text {
- font-size: @font-size-xs;
+ font-size: 10px;
}
}
}
diff --git a/src/views/App/sections/HealthDevice.vue b/src/views/App/sections/HealthDevice.vue
index 66be704..9bffdeb 100644
--- a/src/views/App/sections/HealthDevice.vue
+++ b/src/views/App/sections/HealthDevice.vue
@@ -128,6 +128,7 @@ const openReport = () => {
.device-info {
.device-desc {
max-width: 100%;
+ line-height: 12px !important;
}
}
}
diff --git a/src/views/App/sections/SpeechModule.vue b/src/views/App/sections/SpeechModule.vue
index 017dfa5..9e26360 100644
--- a/src/views/App/sections/SpeechModule.vue
+++ b/src/views/App/sections/SpeechModule.vue
@@ -100,6 +100,7 @@ const openReport = () => {
.speech-info {
.speech-desc {
max-width: 100%;
+ line-height: 12px !important;
}
}
}
diff --git a/src/views/Dating/sections/BannerCarousel.vue b/src/views/Dating/sections/BannerCarousel.vue
index 2af07eb..d3a9bda 100644
--- a/src/views/Dating/sections/BannerCarousel.vue
+++ b/src/views/Dating/sections/BannerCarousel.vue
@@ -139,6 +139,9 @@
// 响应式适配
@media (max-width: 768px) {
+ .banner {
+ height: auto !important;
+ }
.banner-content {
.main-title {
font-size: 32px;
diff --git a/src/views/Ecosystem/sections/BannerCarousel.vue b/src/views/Ecosystem/sections/BannerCarousel.vue
index a5f8101..cb05dbb 100644
--- a/src/views/Ecosystem/sections/BannerCarousel.vue
+++ b/src/views/Ecosystem/sections/BannerCarousel.vue
@@ -139,6 +139,9 @@
// 响应式适配
@media (max-width: 768px) {
+ .banner-bg {
+ height: auto !important;
+ }
.banner-content {
.main-title {
font-size: 32px;
diff --git a/src/views/Ecosystem/sections/CityPartner.vue b/src/views/Ecosystem/sections/CityPartner.vue
index ce83401..b572233 100644
--- a/src/views/Ecosystem/sections/CityPartner.vue
+++ b/src/views/Ecosystem/sections/CityPartner.vue
@@ -231,7 +231,12 @@ const currentIdx = ref(0)
//.nav-bar {
// gap: 30px;
//}
-
+ .text {
+ margin-top: 22px !important;
+ }
+ .desc {
+ line-height: 12px !important;
+ }
.content {
flex-direction: column;
text-align: center;
diff --git a/src/views/Ecosystem/sections/CooperationConsult.vue b/src/views/Ecosystem/sections/CooperationConsult.vue
index d02480a..0d4ea51 100644
--- a/src/views/Ecosystem/sections/CooperationConsult.vue
+++ b/src/views/Ecosystem/sections/CooperationConsult.vue
@@ -38,6 +38,7 @@ const openCooperationDialog = () => {
text-align: left;
background-image: url('https://images.health.ufutx.com/202506/20/c60d98038ab065c2e92dc67b938d45e2.png');
background-size: cover;
+ background-position: top;
.consult-content {
max-width: 1066px;
@@ -64,4 +65,12 @@ const openCooperationDialog = () => {
}
}
}
+
+/* 移动端适配(768px以下) */
+@media (max-width: 768px) {
+ .consult-btn {
+ width: 60px !important;
+ text-align: center;
+ }
+}
diff --git a/src/views/Ecosystem/sections/HealthManagement.vue b/src/views/Ecosystem/sections/HealthManagement.vue
index 8643c30..ca1195e 100644
--- a/src/views/Ecosystem/sections/HealthManagement.vue
+++ b/src/views/Ecosystem/sections/HealthManagement.vue
@@ -197,6 +197,9 @@ const resetHighlight = () => {
gap: 20px;
.health-item {
border-radius: 8px !important;
+ .item-desc {
+ line-height: 12px !important;
+ }
}
}
.sector-img-container {
diff --git a/src/views/Home/sections/BannerCarousel.vue b/src/views/Home/sections/BannerCarousel.vue
index 3c9ff25..771cdbd 100644
--- a/src/views/Home/sections/BannerCarousel.vue
+++ b/src/views/Home/sections/BannerCarousel.vue
@@ -142,21 +142,11 @@ const newsList = [
}
}
}
-
// 响应式适配
@media (max-width: 768px) {
- .banner-bg {
- width: 120%;
- height: 830px;
- overflow: hidden;
-
- img {
- width: 100%;
- height: auto;
- display: block;
- }
+ .banner {
+ height: auto !important;
}
-
.banner-content {
.main-title {
font-size: 32px;
@@ -169,5 +159,8 @@ const newsList = [
padding: 10px 24px;
}
}
+ .news-panel {
+ display: none;
+ }
}
diff --git a/src/views/Home/sections/CustomerFeedback.vue b/src/views/Home/sections/CustomerFeedback.vue
index 4fc70bc..58ba6d2 100644
--- a/src/views/Home/sections/CustomerFeedback.vue
+++ b/src/views/Home/sections/CustomerFeedback.vue
@@ -265,4 +265,6 @@ console.log('数组1:', feedbackList[0]) // 例如: [3, 7, 2, 5]
color: @text-color-secondary;
}
}
+
+//@media (max-width: @tablet-breakpoint) { }
diff --git a/src/views/Home/sections/UseCases.vue b/src/views/Home/sections/UseCases.vue
index 6838505..1515644 100644
--- a/src/views/Home/sections/UseCases.vue
+++ b/src/views/Home/sections/UseCases.vue
@@ -177,6 +177,9 @@ const selectedIndex = ref(defaultIndex)
}
@media (max-width: @tablet-breakpoint) {
+ .scene-section {
+ margin-bottom: 50px;
+ }
.scene-item {
width: 100%;
max-width: 280px;
diff --git a/src/views/Network/sections/AppPromotion.vue b/src/views/Network/sections/AppPromotion.vue
index 32ee8e2..bc09702 100644
--- a/src/views/Network/sections/AppPromotion.vue
+++ b/src/views/Network/sections/AppPromotion.vue
@@ -135,5 +135,15 @@ const openReport = () => {
.scene-item {
height: 280px;
}
+ .app-promotion {
+ //padding-top: 30px; /* 缩小顶部留白 */
+ .app-download {
+ }
+ .app-item {
+ margin-top: 50px;
+ height: 52px;
+ width: 120px;
+ }
+ }
}
diff --git a/src/views/Network/sections/BannerCarousel.vue b/src/views/Network/sections/BannerCarousel.vue
index 63ea418..c045ebd 100644
--- a/src/views/Network/sections/BannerCarousel.vue
+++ b/src/views/Network/sections/BannerCarousel.vue
@@ -178,6 +178,9 @@ const newsList = [
}
// 响应式适配
@media (max-width: 768px) {
+ .banner {
+ height: auto !important;
+ }
.banner-content {
.main-title {
font-size: 32px;
@@ -190,5 +193,8 @@ const newsList = [
padding: 10px 24px;
}
}
+ .news-panel {
+ display: none;
+ }
}
diff --git a/src/views/Network/sections/UseCases.vue b/src/views/Network/sections/UseCases.vue
index ab1d120..2d735ad 100644
--- a/src/views/Network/sections/UseCases.vue
+++ b/src/views/Network/sections/UseCases.vue
@@ -160,15 +160,62 @@ onMounted(() => {
transform: translateY(-5px); // 描述文字上移
}
}
+}
+/* ------------------- 移动端适配(max-width: 768px) ------------------- */
+@media (max-width: 768px) {
+ .scene-section {
+ padding-top: 40px; // 减少顶部留白
+ height: auto; // 取消固定高度,内容自适应
+ padding-bottom: 40px; // 增加底部留白,避免内容贴边
+ overflow: visible; // 允许激活态自然显示
+ }
- //@media (max-width: @tablet-breakpoint) {
- // .scene-list {
- // grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
- // gap: @space-lg;
- // }
- // .scene-item {
- // height: 280px;
- // }
- //}
+ // 网格改为单列布局
+ .scene-list {
+ grid-template-columns: 1fr; // 每个item占满宽度
+ gap: 30px; // 增加垂直间距,避免拥挤
+ padding: 0 15px; // 左右小边距,避免贴边
+ max-width: 350px; // 限制最大宽度,避免大屏手机拉伸
+ }
+
+ // 场景项适配
+ .scene-item {
+ // 触摸设备增加点击反馈
+ &:active {
+ transform: scale(0.98);
+ }
+
+ .scene-inner {
+ height: 120px;
+ padding: 15px 0 20px; // 减少内边距
+
+ // 图标缩小,适配小屏
+ .scene-icon {
+ width: 100%;
+ max-width: 200px; // 限制图标最大宽度
+ height: auto; // 保持宽高比,避免拉伸
+ }
+
+ // 名称字体缩小
+ .scene-name {
+ line-height: 12px !important;
+ }
+
+ // 描述优化小屏显示
+ .scene-desc {
+ line-height: 12px !important;
+ }
+ }
+
+ // 激活态:减小位移,避免过度上移
+ &.active .scene-inner {
+ transform: translateY(-20px); // 桌面端-42px → 移动端-20px
+ }
+
+ // 描述最大高度适配小屏
+ &.active .scene-desc {
+ max-height: 80px; // 减少高度,避免占用过多空间
+ }
+ }
}
diff --git a/src/views/News/sections/BannerCarousel.vue b/src/views/News/sections/BannerCarousel.vue
index 18b30e5..6dfd94a 100644
--- a/src/views/News/sections/BannerCarousel.vue
+++ b/src/views/News/sections/BannerCarousel.vue
@@ -139,6 +139,12 @@ const newsList = [
// 响应式适配
@media (max-width: 768px) {
+ .banner {
+ height: auto !important;
+ }
+ .news-panel {
+ display: none;
+ }
.banner-content {
.main-title {
font-size: 32px;