Commit 438ce0fd by 展昭

update

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