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