lease.vue,的导航栏优化

This commit is contained in:
WindowBird 2025-08-18 16:59:55 +08:00
parent 55ba294a71
commit aed95cea74
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="layout"> <view class="layout">
<view class="navbar"> <view :style="{ background: color }" class="navbar">
<view :style="{ height: getStatusBarHeight() + 'px' }" class="statusBar"></view> <view :style="{ height: getStatusBarHeight() + 'px' }" class="statusBar"></view>
<view <view
:style="{ height: getTitleBarHeight() + 'px', marginLeft: getLeftIconLeft() + 'px' }" :style="{ height: getTitleBarHeight() + 'px', marginLeft: getLeftIconLeft() + 'px' }"
@ -26,6 +26,10 @@ defineProps({
type: String, type: String,
default: '壁纸', default: '壁纸',
}, },
color: {
type: String,
default: 'transparent',
},
}) })
</script> </script>

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="lease-page"> <view class="lease-page">
<!-- 头部区域 --> <!-- 头部区域 -->
<custom-nav-bar2 title="租赁申请"></custom-nav-bar2> <custom-nav-bar2 color="#FFDECB" title="租赁申请"></custom-nav-bar2>
<view class="header"> <view class="header">
<image <image
:src="commonEnum.FIRE_BACKGROUND_FULL" :src="commonEnum.FIRE_BACKGROUND_FULL"