Commit 6aaf891a authored by JingChao's avatar JingChao

Update index.vue

parent ad957274
...@@ -37,20 +37,30 @@ export default { ...@@ -37,20 +37,30 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
padding-bottom: 44px;
// background-color: $bgColor; // background-color: $bgColor;
} }
.platform-ios{
.h-view{
padding-bottom: 64px;
}
}
// iPhoneX适配 // iPhoneX适配
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) { @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
.h-ios{ .platform-ios {
padding-bottom: 42px; .h-view {
padding-bottom: 120px;
}
} }
} }
// iPhoneX Max适配 // iPhoneX Max适配
@media only screen and (device-width: 414px) and (device-height: 896px) { @media only screen and (device-width: 414px) and (device-height: 896px) {
.h-ios{ .platform-ios {
padding-bottom: 42px; .h-view {
padding-bottom: 120px;
}
} }
} }
</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