Commit cb603504 authored by JingChao's avatar JingChao

Update index.vue

parent 75836ef7
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
.h-header { .h-header {
flex-shrink: 0; flex-shrink: 0;
height: 44px; /*no*/ height: 44px;
background: #fff; background: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -141,30 +141,24 @@ export default { ...@@ -141,30 +141,24 @@ export default {
// ios平台 // ios平台
.platform-ios .h-header { .platform-ios .h-header {
padding-top: 20px; /*no*/ padding-top: 20px;
} }
// iPhoneX适配 // iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) { @media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios { .platform-ios {
//.h-ios {
.h-header { .h-header {
padding-top: 40px; /*no*/ padding-top: 40px;
} }
//}
} }
} }
// iPhoneX Max适配 // iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) { @media (device-width: 414px) and (device-height: 896px) {
.platform-ios { .platform-ios {
//.h-ios {
.h-header { .h-header {
padding-top: 40px; /*no*/ padding-top: 40px;
} }
//}
} }
} }
</style> </style>
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