task#6524 头部颜色兼容

This commit is contained in:
2025-06-20 09:49:18 +08:00
parent 6ab2e0b1d7
commit fbce498e94

View File

@ -1,7 +1,7 @@
<template> <template>
<van-pull-refresh v-model="isLoading" class="custom-pull-refresh" @refresh="onRefresh"> <van-pull-refresh v-model="isLoading" class="custom-pull-refresh" @refresh="onRefresh">
<div class="main_wrap"> <div class="main_wrap">
<div class="top_bg"> <div class="top_bg" :class="{'dispatch' : type == 1 , 'driver' : type != 1}">
<!-- <div class="title">报备中心</div>--> <!-- <div class="title">报备中心</div>-->
</div> </div>
<div class="service_wrap"> <div class="service_wrap">
@ -328,7 +328,6 @@
.top_bg { .top_bg {
width: 100%; width: 100%;
height: 87px; height: 87px;
background: #354683;
/*.title { /*.title {
color: #fff; color: #fff;
text-align: center; text-align: center;
@ -337,6 +336,12 @@
line-height: 24px; line-height: 24px;
}*/ }*/
} }
.dispatch { // 调度app头部背景色
background: #354683;
}
.driver { // 司机app头部背景色
background: #354683;
}
.service_wrap { .service_wrap {
margin-top: -75px; margin-top: -75px;
/*margin-bottom: 20px;*/ /*margin-bottom: 20px;*/