feat: 最后修改

This commit is contained in:
sundongyu 2024-06-26 18:06:00 +08:00
parent 67a6640500
commit 71865f45f1

View File

@ -1,6 +1,6 @@
<template> <template>
<view class=""> <view style="background-color: #2c66a9; width: 100%; height: 5vh" :style="{ backgroundPositionY: -44 + safeAreaInsets.top + 'px' }">
<view class="van-nav-bar"> <view :style="{ paddingTop: safeAreaInsets.top + 'px' }" class="van-nav-bar">
<view class="van-nav-bar__content"> <view class="van-nav-bar__content">
<view class="page-icon" @click="gotoBack"> <view class="page-icon" @click="gotoBack">
<uni-icons color="#fff" type="back" size="26"></uni-icons> <uni-icons color="#fff" type="back" size="26"></uni-icons>
@ -83,6 +83,7 @@
onMounted onMounted
} from 'vue' } from 'vue'
import * as echarts from 'echarts'; import * as echarts from 'echarts';
const { safeAreaInsets } = uni.getSystemInfoSync();
const gotoBack = () => { const gotoBack = () => {
uni.navigateBack({ uni.navigateBack({
delta: 1 delta: 1