<div class="customer-head"
:style="{'background':headcolor,'height':statusBarHeight+44+'px'}">
</div>
<div class="customer-head"
:style="{'height':statusBarHeight+44+'px'}">
<div class="fixed-goback"
:style="{'padding-top':statusBarHeight+'px'}"
@click="goback">
<img src="https://xxxx.com/xcx/goBack.png"
alt="">
</div>
</div>
data(){
statusBarHeight: wx.getSystemInfoSync()['statusBarHeight'],
}
.customer-head {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 10000;
.center-title {
text-align: center;
height: 44px;
line-height: 44px;
color: #fff;
font-size: 18px;
font-weight: 500;
}
}
.fixed-goback {
width: 100%;
height: 44px;
line-height: 44px;
img {
width: 10px;
height: 18px;
padding: 12px;
margin-left: 3px;
}
}
.custom-head {
height: 88px;
// background-color: #000028;
}