Commit 438ce0fd by 展昭

update

parent 1d4e2b7f
......@@ -13,10 +13,14 @@ i {
color: #077AEC;
}
.container {
padding-top: 46px;
@supports(top:constant(safe-area-inset-top)) {
.container {
padding-top: calc(46px+constant(safe-area-inset-top));
}
}
.mt0 {
margin-top: 0 !important;
}
\ No newline at end of file
<template>
<div id="showheader" class="header-warp">
<div id="showheader" class="header-warp iosStyle">
<van-nav-bar id="nav" :title="title" left-text left-arrow>
<template #title>
<a class="header-title title-one" :class="isActive?'title-active':''" href="/">人事服务</a>
......@@ -39,9 +39,12 @@ export default {
</script>
<style scoped>
.iosStyle {
padding-top: 64px;
@supports (top: constant(safe-area-inset-top)) {
.iosStyle {
padding-top: constant(safe-area-inset-top);
}
}
.header-warp {
position: fixed;
top: 0;
......
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 sign in to comment