This commit is contained in:
”Rain“ 2024-05-24 23:21:56 +08:00
parent 4f45f2310d
commit afaa3ec479

View File

@ -1,11 +1,11 @@
<template>
<view class="fullHeight">
<headers :showBack="true">
<headers class="fixedheader" :showBack="true">
<view class="headerName">
巡检点信息
</view>
</headers>
<view class="content">
<view class="content" :style="{ 'padding-top': (statusBarHeight+52) + 'px' }">
<view class="splitTitle">
巡检信息
</view>
@ -107,9 +107,11 @@
sendData: "",
nowTime: 0,
time: 0,
statusBarHeight:0,
}
},
onLoad(e) {
this.statusBarHeight = uni.getStorageSync('systemInfo').statusBarHeight
this.checkOpenGPSServiceByAndroid()
console.log(e.data, '我的测试数据')
console.log(e, '我的测试数据')
@ -415,6 +417,18 @@
</script>
<style scoped lang="scss">
.fixedheader {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 2;
// /deep/.headerBox {
// background: #2b8df3;
// color: #fff;
// }
}
.content {
position: relative;
}