|
@@ -260,11 +260,11 @@ onMounted(() => {
|
|
}
|
|
}
|
|
.zhupu-box {
|
|
.zhupu-box {
|
|
// margin-top: 10%;
|
|
// margin-top: 10%;
|
|
- margin-top: 20px;
|
|
|
|
|
|
+ margin-top: calc(20px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
// font-size: 1.8em;
|
|
// font-size: 1.8em;
|
|
font-size: calc(24px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
font-size: calc(24px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
line-height:calc(29px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
line-height:calc(29px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
- line-height: 28.13px;
|
|
|
|
|
|
+ // line-height: 28.13px;
|
|
letter-spacing: 0.2em;
|
|
letter-spacing: 0.2em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -312,7 +312,7 @@ onMounted(() => {
|
|
justify-content: center;
|
|
justify-content: center;
|
|
.top {
|
|
.top {
|
|
width: 100%;
|
|
width: 100%;
|
|
- height: calc(100% - 60px);
|
|
|
|
|
|
+ height: calc(100% - 60px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
position: relative;
|
|
position: relative;
|
|
img {
|
|
img {
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -330,8 +330,8 @@ onMounted(() => {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
justify-content: space-evenly;
|
|
.btn {
|
|
.btn {
|
|
- width: 60px;
|
|
|
|
- height: 60px;
|
|
|
|
|
|
+ width: calc(60px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
|
|
+ height: calc(60px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
// font-size: 38px;
|
|
// font-size: 38px;
|
|
font-size:calc(38px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
font-size:calc(38px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
line-height:calc(52px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
line-height:calc(52px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
@@ -393,21 +393,21 @@ onMounted(() => {
|
|
// font-size: 20px;
|
|
// font-size: 20px;
|
|
font-size:calc(20px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
font-size:calc(20px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
// line-height: 48px;
|
|
// line-height: 48px;
|
|
- padding: 10px;
|
|
|
|
- margin: 0 30px 0 60px;
|
|
|
|
|
|
+ padding: calc(10px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
|
|
+ margin: 0 calc(30px * v-bind("windowHeight") / v-bind("windowHeightDesign")) 0 calc(60px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
// height: 70%;
|
|
// height: 70%;
|
|
}
|
|
}
|
|
.category-item {
|
|
.category-item {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
- margin: 0 20px 0 20px;
|
|
|
|
|
|
+ margin: 0 calc(20px * v-bind("windowHeight") / v-bind("windowHeightDesign")) 0 calc(20px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
.small-img {
|
|
.small-img {
|
|
- width: 200px;
|
|
|
|
- height: 150px;
|
|
|
|
|
|
+ width: calc(200px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
|
|
+ height: calc(150px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
}
|
|
}
|
|
> div {
|
|
> div {
|
|
- margin-top: 10px;
|
|
|
|
|
|
+ margin-top: calc(10px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
color: #7b916b;
|
|
color: #7b916b;
|
|
font-size:calc(20px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
font-size:calc(20px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
line-height:calc(24px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|
|
line-height:calc(24px * v-bind("windowHeight") / v-bind("windowHeightDesign"));
|