样式优化

This commit is contained in:
bb_pan 2025-07-17 17:36:37 +08:00
parent 7601d0c76a
commit 5a8edddb11
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<template>
<div v-if="isIOS" :style="{ height: statusBarHeight}"></div>
<view class="page-bg">
<view class="upper-user">
<view class="user-rig">
@ -75,6 +76,9 @@ const isUsingList = ref([
{ path: 'authorizeSignature', name: '项目部授权', src: 'authorizeSignature', isShow: true },
])
const userAgent = navigator.userAgent.toLowerCase()
const isIOS = ref(/iphone/.test(userAgent))
let statusBarHeight = ref('50px')
// #ifdef MP-WEIXIN
statusBarHeight.value = uni.getWindowInfo().statusBarHeight + 'px'
@ -212,7 +216,7 @@ onShow(async () => {
background: url('../../../static/bgd.png');
background-repeat: no-repeat;
background-size: 100% 100%;
min-height: 100vh;
min-height: calc(100vh - 50px);
}
.upper-user {
width: 85%;