Commit 5c5da994 authored by youjie's avatar youjie

no message

parent cb9f1ead
<template>
<view class="person">
<view class="person" :style="{ 'padding-bottom': `${statusBarHeight}px` }">
<view class="info flex_between_center flex_nowrap">
<view class="left flex_start_between">
<view class="name">
......@@ -319,6 +319,7 @@
};
let that = methods;
onMounted(() => {
data.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
that.VersionUpdate()
that.initColor()
});
......
<template>
<view class="" :style="{ 'padding-top': `${statusBarHeight}px` }">
<view class="" :style="{ 'padding-top': `${statusBarHeight}px`,'padding-bottom': `${statusBarHeight}px` }">
<view style="height: 100rpx"></view>
<view class="navbar">
......@@ -420,6 +420,21 @@
}
};
onMounted(() => {
// let port = uni.getSystemInfoSync().platform
// switch (port) {
// case 'android':
// data.statusBarHeight = false
// console.log('运行Android上',port);//android
// break;
// case 'ios':
// data.statusBarHeight = true
// console.log('运行iOS上',port);//ios
// break;
// default:
// data.statusBarHeight = true
// console.log('运行在开发者工具上');//devtools
// break;
// }
that.VersionUpdate()
getcalendar(new Date().getFullYear(), new Date().getMonth() + 1);
let today = calendar.value.find((e) => {
......
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