Commit a5a7aebd authored by van.chen's avatar van.chen

所有样式画完

parent 079a760a
...@@ -8,18 +8,16 @@ ...@@ -8,18 +8,16 @@
padding: 5% 10%; padding: 5% 10%;
.imgPart { .imgPart {
width: 35%; width: 35%;
height: 100%; height: 80px;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
padding: 15px 0; text-align: center;
text-align: left;
} }
.topRight { .topRight {
width: calc(62% - 2px); width: calc(62% - 2px);
display: inline-block; display: inline-block;
height: calc(100% - 30px); height: 80px;
margin: 15px 0; line-height: 40px;
line-height: 2.4;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
text-align: center; text-align: center;
...@@ -62,3 +60,20 @@ ...@@ -62,3 +60,20 @@
background-color: #1890ff; background-color: #1890ff;
} }
} }
@media all and (orientation : landscape) {
.middleCon .line {
padding-top: 2%;
}
.bottomBtn {
margin-top: 2%;
}
.topBar {
height: 35%;
padding: 3% 0 0 0;
.top {
padding: 0 3%;
}
}
}
...@@ -120,7 +120,6 @@ export class PageOneComponent implements OnInit { ...@@ -120,7 +120,6 @@ export class PageOneComponent implements OnInit {
} }
slideDidChange() { slideDidChange() {
console.log('111');
this.slide.startAutoplay(); this.slide.startAutoplay();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment