|
|
@@ -61,12 +61,13 @@ onMounted(() => {
|
|
|
width: calc(50% - 0.44rem);
|
|
|
position: relative;
|
|
|
height: 7.5rem;
|
|
|
- border-radius: 1.25rem;
|
|
|
+ border-radius: var(--border-radius);
|
|
|
overflow: hidden;
|
|
|
background: linear-gradient(180deg, rgba(250, 255, 253, 0.8), rgba(225, 245, 248, 0.8));
|
|
|
box-shadow: 0 0.25rem 1.25rem 0 rgba(52, 149, 239, 0.4);
|
|
|
margin-bottom: 1rem;
|
|
|
cursor: pointer;
|
|
|
+ min-height: var(--min-touch-target);
|
|
|
|
|
|
.service-item-content {
|
|
|
position: absolute;
|
|
|
@@ -75,7 +76,7 @@ onMounted(() => {
|
|
|
right: 0;
|
|
|
bottom: 0;
|
|
|
z-index: 2;
|
|
|
- padding: 1.5rem 1.25rem;
|
|
|
+ padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 1.25);
|
|
|
display: flex;
|
|
|
|
|
|
.service-item-content-child {
|
|
|
@@ -84,13 +85,13 @@ onMounted(() => {
|
|
|
|
|
|
.title {
|
|
|
color: #101333;
|
|
|
- font-size: 0.88rem;
|
|
|
+ font-size: var(--subtitle-font-size);
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
.subject {
|
|
|
- font-size: 0.8rem;
|
|
|
- line-height: 1rem;
|
|
|
+ font-size: var(--small-font-size);
|
|
|
+ line-height: 1.25em;
|
|
|
color: #7E8AA2;
|
|
|
|
|
|
&.is-mobile {
|
|
|
@@ -139,7 +140,7 @@ onMounted(() => {
|
|
|
.service-item-content {
|
|
|
.service-item-content-child {
|
|
|
position: absolute;
|
|
|
- bottom: 1.5rem;
|
|
|
+ bottom: calc(var(--spacing-unit) * 1.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -230,6 +231,75 @@ onMounted(() => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+/* 1080x1920 中等尺寸设备 */
|
|
|
+@media screen and (min-width: 751px) and (max-width: 1200px) and (min-height: 1700px) {
|
|
|
+ .service {
|
|
|
+ .service-item {
|
|
|
+ height: 9rem;
|
|
|
+ box-shadow: 0 0.5rem 1.5rem 0 rgba(52, 149, 239, 0.5);
|
|
|
+ margin-bottom: 1.25rem;
|
|
|
+
|
|
|
+ .service-item-content {
|
|
|
+ padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 1.75);
|
|
|
+
|
|
|
+ .service-item-content-child {
|
|
|
+ width: calc(100% - 3.5rem);
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 1.25rem; /* 1.125rem → 1.25rem */
|
|
|
+ margin-bottom: 0.5rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .service-item-image {
|
|
|
+ width: 8.5rem;
|
|
|
+ height: 6.5rem;
|
|
|
+ right: 4.5rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.right {
|
|
|
+ .service-item-image {
|
|
|
+ left: 4.5rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.bottom {
|
|
|
+ .service-item-content {
|
|
|
+ .service-item-content-child {
|
|
|
+ bottom: calc(var(--spacing-unit) * 2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.center {
|
|
|
+ width: 14rem;
|
|
|
+ height: 14rem;
|
|
|
+
|
|
|
+ .service-item-content {
|
|
|
+ .service-item-content-child {
|
|
|
+ .title {
|
|
|
+ font-size: 1.5rem; /* 1.25rem → 1.5rem */
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .service-item-bg {
|
|
|
+ top: 1.25rem;
|
|
|
+ left: 1.25rem;
|
|
|
+ right: 1.25rem;
|
|
|
+ bottom: 1.25rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ .service-item-image {
|
|
|
+ width: 7rem;
|
|
|
+ height: 7rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
@media screen and (max-width: 1000px) {
|
|
|
.service {
|
|
|
.service-item {
|