-
尊享归家
+
尊享归家
-
雅致入户前厅,静雅石墙、疏密有致的植物搭配,从视觉到体验,彰显生活的仪式感和价值感。
+
雅致入户前厅,静雅石墙、疏密有致的植物搭配,从视觉到体验,彰显生活的仪式感和价值感。
@@ -305,7 +305,7 @@
.top-left {
flex: 1;
- padding: 2vw;
+ padding: 30rpx 10rpx 10rpx 10rpx;
}
.top-right {
@@ -315,56 +315,56 @@
}
.top-left-content {
- padding: 2vw;
+ padding: 15rpx;
line-height: 2;
}
.top-left-title {
position: relative;
font-weight: bold;
- padding-left: 2vw;
- font-size: 0.6rem;
+ padding-left: 10rpx;
+ font-size: 18rpx;
color: #2C3D2B;
}
.top-left-title:before {
content: "";
background-color: #2C3D2B;
- width: 0.5vw;
- height: 3vw;
+ width: 4rpx;
+ height: 20rpx;
position: absolute;
left: 0;
top: 50%;
- margin-top: -1.5vw;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
+ margin-top: -9rpx;
+ -webkit-border-radius: 3rpx;
+ -moz-border-radius: 3rpx;
+ border-radius: 3rpx;
}
.top-left-content-item {
- margin-bottom: 1vw;
+ margin-bottom: 10rpx;
}
.top-left-content-item-title {
color: #2C3D2B;
font-weight: bold;
- font-size: 0.4rem;
+ font-size: 15rpx;
}
.top-left-content-item-content {
- font-size: 0.3rem;
+ font-size: 12rpx;
}
.top-left-content-item-img {
display: flex;
justify-content: space-between;
- margin-bottom: 1vw;
+ margin-bottom: 10rpx;
}
.top-left-content-item-img image {
- height: 12vw;
+ height: 100rpx;
object-fit: cover;
- border: 0.3vw solid #2E9F73;
+ border: 2rpx solid #2E9F73;
}
@@ -377,7 +377,10 @@
.two-top-left {
flex: 2;
- padding: 2vw;
+ padding: 15rpx;
+ padding: 30rpx 0 0 10rpx;
+ display: flex;
+ flex-direction: column;
}
.two-top-right {
@@ -386,11 +389,11 @@
.two-two-img {
- height: 100%;
+ flex: 1;
display: flex;
justify-content: center;
align-items: center;
- padding: 3vw;
+ padding: 0 10rpx 0 10rpx;
}
.two-two-img image {
@@ -421,26 +424,26 @@
.top-content-three-content {
background-color: #2C3D2B;
- width: 50vw;
- height: 25vw;
+ width: 50%;
+ height: auto;
color: white;
- padding: 2vw;
+ padding: 15rpx;
}
.three-title {
- font-size: 2.2vw;
+ font-size: 18rpx;
font-weight: bold;
line-height: 1.5;
}
.three-content-top {
- font-size: 1.7vw;
+ font-size: 13rpx;
font-weight: bold;
line-height: 1.5;
}
.three-content-content {
- font-size: 1.7vw;
+ font-size: 13rpx;
display: flex;
justify-content: flex-start;
line-height: 1.5;
@@ -458,7 +461,7 @@
.top-content-four {
display: flex;
height: 100%;
- padding: 4vw;
+ padding: 20rpx;
}
.top-content-four-left {
@@ -469,13 +472,14 @@
.top-content-four-right {
flex: 1;
line-height: 1.5;
+ padding: 30rpx 0 0 0;
}
.top-content-four-content {
- margin-top: 1.2vw;
- font-size: 1.3vw;
+ margin-top: 10rpx;
+ font-size: 12rpx;
width: 75%;
- margin-bottom: 1vw;
+ margin-bottom: 8rpx;
}
.top-content-four-right image,
@@ -485,7 +489,7 @@
}
.top-content-four-right image {
- margin-bottom: 2vw;
+ margin-bottom: 15rpx;
}
.swiper-five {
@@ -509,7 +513,7 @@
align-items: center;
flex-direction: column;
width: 20%;
- padding: 1vw;
+ padding: 8rpx;
box-sizing: border-box;
}
@@ -518,19 +522,21 @@
}
.img-title {
- font-size: 1.4vw;
+ font-size: 15rpx;
+ height: 20rpx;
}
.top-content-six {
display: flex;
width: 100%;
height: 100%;
+ padding: 30rpx 0 0 0;
}
.two-six-img {
- height: 100%;
+ flex: 1;
display: flex;
- padding: 3vw;
+ padding: 10rpx;
box-sizing: border-box;
justify-content: center;
align-items: center;
@@ -550,14 +556,14 @@
display: flex;
justify-content: center;
flex-direction: column;
- padding-right: 2vw;
+ padding-right: 15rpx;
}
.top-content-seven {
height: 100%;
display: flex;
flex-direction: column;
- padding: 5vw;
+ padding: 30rpx;
box-sizing: border-box;
}
@@ -574,7 +580,7 @@
justify-content: center;
flex-direction: column;
align-items: flex-end;
- padding-right: 2vw;
+ padding-right: 15rpx;
}
.top-content-seven-top image {
@@ -585,7 +591,7 @@
flex: 1;
height: 100%;
display: flex;
- margin-top: 1vw;
+ margin-top: 8rpx;
}
.top-content-seven-bottom {
@@ -599,7 +605,7 @@
justify-content: center;
align-items: flex-end;
flex-direction: column;
- padding-right: 2vw;
+ padding-right: 15rpx;
}
.top-content-seven-bottom-right {
diff --git a/uni.scss b/uni.scss
index b9249e9..18b229d 100644
--- a/uni.scss
+++ b/uni.scss
@@ -39,38 +39,38 @@ $uni-border-color:#c8c7cc;
/* 尺寸变量 */
/* 文字尺寸 */
-$uni-font-size-sm:12px;
-$uni-font-size-base:14px;
-$uni-font-size-lg:16px;
+$uni-font-size-sm:12rpx;
+$uni-font-size-base:14rpx;
+$uni-font-size-lg:16rpx;
/* 图片尺寸 */
-$uni-img-size-sm:20px;
-$uni-img-size-base:26px;
-$uni-img-size-lg:40px;
+$uni-img-size-sm:20rpx;
+$uni-img-size-base:26rpx;
+$uni-img-size-lg:40rpx;
/* Border Radius */
-$uni-border-radius-sm: 2px;
-$uni-border-radius-base: 3px;
-$uni-border-radius-lg: 6px;
+$uni-border-radius-sm: 2rpx;
+$uni-border-radius-base: 3rpx;
+$uni-border-radius-lg: 6rpx;
$uni-border-radius-circle: 50%;
/* 水平间距 */
-$uni-spacing-row-sm: 5px;
-$uni-spacing-row-base: 10px;
-$uni-spacing-row-lg: 15px;
+$uni-spacing-row-sm: 5rpx;
+$uni-spacing-row-base: 10rpx;
+$uni-spacing-row-lg: 15rpx;
/* 垂直间距 */
-$uni-spacing-col-sm: 4px;
-$uni-spacing-col-base: 8px;
-$uni-spacing-col-lg: 12px;
+$uni-spacing-col-sm: 4rpx;
+$uni-spacing-col-base: 8rpx;
+$uni-spacing-col-lg: 12rpx;
/* 透明度 */
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
/* 文章场景相关 */
$uni-color-title: #2C405A; // 文章标题颜色
-$uni-font-size-title:20px;
+$uni-font-size-title:20rpx;
$uni-color-subtitle: #555555; // 二级标题颜色
-$uni-font-size-subtitle:26px;
+$uni-font-size-subtitle:26rpx;
$uni-color-paragraph: #3F536E; // 文章段落颜色
-$uni-font-size-paragraph:15px;
+$uni-font-size-paragraph:15rpx;