|
@@ -1,13 +1,13 @@
|
|
|
<template>
|
|
|
<div class="container">
|
|
|
- <div class="line-bar flex-between" id="linebar" v-if="type==='add'" ref="linebar">
|
|
|
+ <div class="line-bar flex-between" id="linebar" v-if="type==='add'" ref="linebar" :style="{'padding-top':`${statusBarHeight}px`}">
|
|
|
<div class="span active"></div>
|
|
|
<div class="span active"></div>
|
|
|
<div class="span active"></div>
|
|
|
<div class="span active"></div>
|
|
|
<div class="span"></div>
|
|
|
</div>
|
|
|
- <div id="topnav" class="topnav flex-start" v-if="type==='edit'" ref="topnav">
|
|
|
+ <div id="topnav" class="topnav flex-start" v-if="type==='edit'" ref="topnav" :style="{'padding-top':`${statusBarHeight}px`}">
|
|
|
<div class="nav-item flex-center" @click="back">
|
|
|
<img :src="`${assetsUrl}back.png`" mode="widthFix" class="nav-img"></img>
|
|
|
</div>
|
|
@@ -67,6 +67,11 @@
|
|
|
},
|
|
|
created() {
|
|
|
|
|
|
+ },
|
|
|
+ computed:{
|
|
|
+ statusBarHeight(){
|
|
|
+ return localStorage.getItem('statusBarHeight');
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
console.log(this.$route.params)
|