This commit is contained in:
xiaozhiyong
2023-05-09 09:24:27 +08:00
parent 9196734d72
commit 1d70f75633
6 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view :style="{ backgroundSize:height?`100% ${height}`:' ',backgroundImage:`url(${backgroundImage})`,minHeight:height}" class="header" >
<view :style="{ minHeight:height}" class="header" >
<view class="top" :style="{height:styles.top?styles.top:''}"></view>
<uni-nav-bar :border="false" :height="styles.height" style="font-size: 34rpx;" @clickLeft='backFn' color='white' backgroundColor="rgba(0,0,0,0)" :left-icon="leftIcon" :title="title" />
<view>
@@ -56,10 +56,11 @@
font-size: 34rpx !important;
}
.header {
color: white;
background-size: 100% 100%;
position: relative;
background-repeat:no-repeat
/* min-height: 403rpx; */
color: white;
background: url('https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油admin小程序/sjbj.png') 100%/100%;
}
.uni-navbar__header-btns-right {
padding: 0 !important;