360 lines
6.4 KiB
Plaintext
360 lines
6.4 KiB
Plaintext
page {
|
|
position: relative;
|
|
background-color: #fff;
|
|
}
|
|
.detail-page::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1200rpx !important;
|
|
background-image: url(/static/images/bg.png);
|
|
background-size: cover;
|
|
background-position: center top;
|
|
background-repeat: no-repeat;
|
|
z-index: 1;
|
|
}
|
|
.content-part {
|
|
position: relative;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 9;
|
|
}
|
|
/* 导航栏样式 */
|
|
.custom-nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 88rpx;
|
|
background-color: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 32rpx;
|
|
z-index: 100;
|
|
padding-top: 25px;
|
|
}
|
|
.nav-back {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.back-icon {
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
}
|
|
.nav-title {
|
|
flex: 1;
|
|
text-align: center;
|
|
font-size: 36rpx;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
}
|
|
/* 状态区域 */
|
|
.status-section {
|
|
/* background: linear-gradient(135deg, #FF6B9D 0%, #FF4D6B 100%); */
|
|
/* height: 160rpx; */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 20rpx;
|
|
padding-top: 55rpx;
|
|
padding-bottom: 50rpx;
|
|
/* padding-top: 88rpx; */
|
|
/* padding-top: calc(88rpx + var(--status-bar-height)); */
|
|
}
|
|
.status-section .status-section-image {
|
|
width: 52rpx;
|
|
}
|
|
.status-text {
|
|
font-size: 44rpx;
|
|
color: #333333;
|
|
font-weight: 600;
|
|
}
|
|
/* 服务人员卡片 */
|
|
.service-card {
|
|
margin: 0 30rpx 20rpx;
|
|
background-color: #ffffff;
|
|
border-radius: 20rpx;
|
|
padding: 30rpx;
|
|
box-shadow: 0 4rpx 16rpx 0 rgba(210, 213, 224, 0.5);
|
|
}
|
|
.location-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24rpx;
|
|
}
|
|
.location-icon {
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
margin-right: 30rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.address-info {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
.name-phone {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
.name {
|
|
font-size: 30rpx;
|
|
color: #333333;
|
|
font-weight: 500;
|
|
margin-right: 20rpx;
|
|
}
|
|
.phone {
|
|
font-weight: 500;
|
|
font-size: 30rpx;
|
|
color: #333333;
|
|
line-height: 42rpx;
|
|
}
|
|
.address {
|
|
font-size: 28rpx;
|
|
color: #666666;
|
|
margin-top: 8rpx;
|
|
}
|
|
.btn-map,
|
|
.btn-phone {
|
|
width: 64rpx;
|
|
height: 64rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.btn-map {
|
|
margin: 0 28rpx;
|
|
}
|
|
/* 预约信息卡片 */
|
|
.booking-card {
|
|
margin: 0rpx 30rpx 20rpx;
|
|
background-color: #ffffff;
|
|
border-radius: 20rpx;
|
|
padding: 34rpx 30rpx 40rpx 20rpx;
|
|
box-shadow: 0 4rpx 16rpx 0 rgba(210, 213, 224, 0.5);
|
|
}
|
|
.booking-card .card_title {
|
|
font-weight: 500;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
.card-title {
|
|
font-size: 32rpx;
|
|
color: #3d3d3d;
|
|
font-weight: 500;
|
|
}
|
|
.update-time {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
padding-right: 4rpx;
|
|
}
|
|
.update-change {
|
|
font-size: 28rpx;
|
|
color: #666666;
|
|
}
|
|
.service-item {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
margin-bottom: 32rpx;
|
|
}
|
|
.service-image {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 16rpx;
|
|
margin-right: 24rpx;
|
|
background-color: #e2e2e2;
|
|
}
|
|
.service-info {
|
|
flex: 1;
|
|
height: 160rpx;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-right: 24rpx;
|
|
}
|
|
.service-info .service-box {
|
|
width: 100%;
|
|
gap: 8rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.service-info .service-box .service-count {
|
|
flex-shrink: 0;
|
|
}
|
|
.service-info .service-box .service-name {
|
|
flex: 1;
|
|
}
|
|
.service-name {
|
|
font-weight: 500;
|
|
font-size: 30rpx;
|
|
color: #333333;
|
|
line-height: 34rpx;
|
|
text-align: left;
|
|
font-style: normal;
|
|
}
|
|
.service-price {
|
|
font-size: 34rpx;
|
|
color: #333333;
|
|
font-weight: 500;
|
|
}
|
|
.service-price .icon {
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
}
|
|
.service-count {
|
|
font-weight: 500;
|
|
font-size: 26rpx;
|
|
color: #999999;
|
|
line-height: 34rpx;
|
|
text-align: left;
|
|
font-style: normal;
|
|
}
|
|
.service-real {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-end;
|
|
align-items: baseline;
|
|
padding-top: 24rpx;
|
|
border-top: 1rpx solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
.real-lable {
|
|
font-size: 30rpx;
|
|
color: #333333;
|
|
}
|
|
.real-price {
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: #E8101E;
|
|
}
|
|
.real-price .icon {
|
|
font-size: 20rpx;
|
|
}
|
|
/* 订单信息卡片 */
|
|
.order-card {
|
|
margin: 30rpx;
|
|
background-color: #ffffff;
|
|
border-radius: 16rpx;
|
|
padding: 36rpx 20rpx 40rpx;
|
|
box-shadow: 0 4rpx 16rpx 0 rgba(210, 213, 224, 0.5);
|
|
}
|
|
.order-card .card_title {
|
|
font-weight: 500;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
padding-bottom: 10rpx;
|
|
}
|
|
.time_card {
|
|
margin: 30rpx;
|
|
background-color: #ffffff;
|
|
border-radius: 16rpx;
|
|
padding: 36rpx 20rpx 40rpx;
|
|
box-shadow: 0 4rpx 16rpx 0 rgba(210, 213, 224, 0.5);
|
|
}
|
|
.time_card .card_title {
|
|
font-weight: 500;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
padding-bottom: 16rpx;
|
|
}
|
|
.time_card .card_time {
|
|
font-size: 30rpx;
|
|
line-height: 30rpx;
|
|
color: #333333;
|
|
margin-top: 18rpx;
|
|
}
|
|
.info-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 30rpx;
|
|
}
|
|
.label {
|
|
font-size: 28rpx;
|
|
color: #999999;
|
|
}
|
|
.value {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
}
|
|
/* 底部按钮 */
|
|
.bottom-buttons {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 128rpx;
|
|
background-color: #ffffff;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.05);
|
|
padding: 0 24rpx 0 78rpx;
|
|
z-index: 999;
|
|
}
|
|
.contact-button {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.contact-text {
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
}
|
|
.tell-icon {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
margin-right: 8rpx;
|
|
}
|
|
.handel-button {
|
|
width: 186rpx;
|
|
height: 72rpx;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 36rpx;
|
|
margin-left: 60rpx;
|
|
}
|
|
.btn-border {
|
|
border: 2rpx solid #E8101E;
|
|
background-color: #fff;
|
|
box-sizing: border-box;
|
|
margin-left: 60rpx;
|
|
}
|
|
.btn-bg {
|
|
background-color: #E8101E;
|
|
}
|
|
.button-text {
|
|
font-size: 28rpx;
|
|
font-weight: 400;
|
|
color: #ffffff;
|
|
}
|
|
.btn-border .button-text {
|
|
font-size: 28rpx;
|
|
font-weight: 400;
|
|
color: #E8101E;
|
|
}
|
|
/* APP适配 */
|
|
/* 平台适配 */
|
|
.custom-nav {
|
|
padding-top: calc(25px + constant(safe-area-inset-top));
|
|
padding-top: calc(25px + env(safe-area-inset-top));
|
|
}
|
|
|