| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091 |
- page {
- background-color: #F8F8F8;
- }
- /* 自定义导航标题栏(因navigationStyle:custom) */
- .custom-nav-bar {
- padding: 80rpx 30rpx 20rpx;
- background-color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .nav-title {
- font-size: 34rpx;
- font-weight: bold;
- color: #333;
- }
- /* 吸顶容器:状态tab + 搜索 + 筛选 */
- .sticky-header {
- position: sticky;
- top: 0;
- z-index: 999;
- background-color: #F8F8F8;
- }
- .container {
- background-color: #F8F8F8;
- display: flex;
- flex-direction: column;
- min-height: 100vh;
- }
- /* 状态 Tabs */
- .status-tabs {
- display: flex;
- background-color: #fff;
- padding: 0 30rpx;
- justify-content: space-between;
- }
- .tab-item {
- position: relative;
- padding: 20rpx 0;
- font-size: 26rpx;
- color: #666;
- font-weight: 500;
- }
- .tab-item.active {
- color: #FF5722;
- font-weight: bold;
- }
- .indicator {
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- width: 40rpx;
- height: 6rpx;
- background-color: #FF5722;
- border-radius: 3rpx;
- }
- /* 搜索栏 */
- .search-bar {
- padding: 10rpx 30rpx;
- background-color: #fff;
- }
- .search-input-box {
- display: flex;
- align-items: center;
- background-color: #F8F8F8;
- height: 64rpx;
- border-radius: 32rpx;
- padding: 0 30rpx;
- }
- .search-input {
- flex: 1;
- font-size: 26rpx;
- color: #333;
- padding-left: 20rpx;
- /* Give some left padding since icon is gone */
- }
- .ph-style {
- font-size: 26rpx;
- color: #999;
- }
- /* 筛选栏 (改用 wrapper 进行相对定位) */
- .filter-wrapper {
- position: relative;
- z-index: 998;
- }
- .filter-bar {
- display: flex;
- background-color: #fff;
- padding: 5rpx 30rpx 10rpx 30rpx;
- justify-content: space-between;
- position: relative;
- z-index: 998;
- }
- .filter-item {
- width: 48%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 26rpx;
- color: #666;
- background-color: #F8F8F8;
- height: 56rpx;
- border-radius: 12rpx;
- transition: all 0.2s;
- }
- .filter-item.active {
- background-color: #FFF3E0;
- }
- .active-text {
- color: #FF5722;
- /* Matches red triangle */
- font-weight: 500;
- }
- .triangle {
- width: 0;
- height: 0;
- border-left: 8rpx solid transparent;
- border-right: 8rpx solid transparent;
- margin-left: 10rpx;
- transition: all 0.2s;
- }
- .triangle.down {
- border-top: 10rpx solid #dcdcdc;
- }
- .filter-item.active .triangle.down,
- .active-text+.triangle.down {
- border-top-color: #FF5722;
- }
- .triangle.up {
- border-bottom: 10rpx solid #FF5722;
- }
- /* 下拉面板 */
- .dropdown-mask {
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- height: 100vh;
- background-color: rgba(0, 0, 0, 0.4);
- z-index: 80;
- }
- .dropdown-panel {
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- background-color: #fff;
- z-index: 90;
- border-radius: 0 0 20rpx 20rpx;
- box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.05);
- overflow: hidden;
- }
- .type-option {
- padding: 30rpx 40rpx;
- font-size: 28rpx;
- color: #333;
- border-bottom: 1px solid #f5f5f5;
- }
- .type-option:last-child {
- border-bottom: none;
- }
- .type-option.selected text {
- color: #FF5722;
- font-weight: bold;
- }
- .calendar-panel {
- padding-bottom: 30rpx;
- }
- /* Custom Calendar Styles */
- .custom-calendar-container {
- padding: 20rpx 30rpx 0;
- }
- .cal-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20rpx 0;
- }
- .cal-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .cal-weekdays {
- display: flex;
- justify-content: space-around;
- padding: 20rpx 0;
- border-bottom: 1px solid #f5f5f5;
- }
- .wk-item {
- font-size: 24rpx;
- color: #999;
- width: 14.28%;
- text-align: center;
- }
- .cal-body {
- display: flex;
- flex-wrap: wrap;
- padding-top: 20rpx;
- }
- .cal-day-box {
- width: 14.28%;
- height: 80rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-bottom: 10rpx;
- position: relative;
- }
- .cal-day-text {
- width: 64rpx;
- height: 64rpx;
- line-height: 64rpx;
- text-align: center;
- font-size: 28rpx;
- color: #333;
- border-radius: 8rpx;
- position: relative;
- z-index: 2;
- }
- /* Range styles matching Figure 2 */
- .cal-day-box.is-start .cal-day-text,
- .cal-day-box.is-end .cal-day-text {
- background-color: #FF5722;
- color: #fff;
- font-weight: bold;
- }
- .cal-day-box.is-start::after {
- content: '';
- position: absolute;
- right: 0;
- top: 8rpx;
- bottom: 8rpx;
- width: 50%;
- background-color: #FFF3E0;
- z-index: 1;
- }
- .cal-day-box.is-end::after {
- content: '';
- position: absolute;
- left: 0;
- top: 8rpx;
- bottom: 8rpx;
- width: 50%;
- background-color: #FFF3E0;
- z-index: 1;
- }
- .cal-day-box.is-start.is-end::after {
- display: none;
- /* No range background if same day */
- }
- .cal-day-box.is-between {
- background-color: #FFF3E0;
- /* reduce height slightly to match design */
- margin-top: 8rpx;
- height: 64rpx;
- margin-bottom: 18rpx;
- }
- .cal-day-box.is-between .cal-day-text {
- color: #FF5722;
- }
- .calendar-actions {
- display: flex;
- justify-content: space-between;
- padding: 0 30rpx;
- margin-top: 20rpx;
- }
- .cal-btn {
- width: 48%;
- height: 70rpx;
- line-height: 70rpx;
- text-align: center;
- border-radius: 10rpx;
- font-size: 28rpx;
- margin: 0;
- }
- .cal-btn.reset {
- background-color: #f5f5f5;
- color: #666;
- }
- .cal-btn.confirm {
- background-color: #FF5722;
- color: #fff;
- }
- /* 订单列表 */
- .order-list {
- padding: 0 30rpx;
- width: 100%;
- box-sizing: border-box;
- }
- .order-card {
- background-color: #fff;
- border-radius: 24rpx;
- padding: 20rpx 20rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.03);
- }
- .order-card:first-child {
- margin-top: 20rpx;
- }
- .card-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 15rpx;
- }
- .type-badge {
- display: flex;
- align-items: center;
- }
- .type-icon {
- width: 44rpx;
- height: 44rpx;
- margin-right: 15rpx;
- background-color: #FFF3E0;
- border-radius: 50%;
- padding: 6rpx;
- box-sizing: border-box;
- }
- .type-text {
- font-size: 30rpx;
- font-weight: bold;
- color: #333;
- }
- .status-badge {
- font-size: 28rpx;
- }
- .status-badge.highlight {
- color: #FF5722;
- }
- .status-badge.processing {
- color: #2196F3;
- }
- .status-badge.finish {
- color: #4CAF50;
- }
- .status-badge.reject {
- color: #9E9E9E;
- }
- .time-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 25rpx;
- }
- .time-row .time-col {
- display: flex;
- align-items: center;
- font-size: 26rpx;
- color: #333;
- }
- .time-row .label {
- color: #666;
- margin-right: 10rpx;
- }
- .price {
- font-size: 36rpx;
- font-weight: bold;
- color: #FF5722;
- }
- /* 宠物卡片 */
- .pet-card {
- background-color: #FFF8F0;
- border-radius: 16rpx;
- padding: 15rpx 20rpx;
- display: flex;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .pet-avatar {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- margin-right: 20rpx;
- }
- .pet-info {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .pet-name {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- margin-bottom: 5rpx;
- }
- .pet-breed {
- font-size: 24rpx;
- color: #999;
- }
- .pet-profile-btn {
- font-size: 24rpx;
- color: #FF9800;
- border: 1px solid #FF9800;
- padding: 6rpx 20rpx;
- border-radius: 50rpx;
- background-color: #fff;
- }
- /* 路线信息 (复用) */
- .route-info {
- margin-bottom: 25rpx;
- }
- .route-item {
- display: flex;
- align-items: flex-start;
- padding-bottom: 12rpx;
- /* Radically reduced for compactness */
- position: relative;
- width: 100%;
- }
- /* 路线项底部的间隔 */
- .route-item:not(:last-child) {
- margin-bottom: 5rpx;
- /* Radically reduced for compactness */
- }
- .route-item:last-child {
- padding-bottom: 0;
- margin-bottom: 0;
- }
- .route-line-vertical {
- position: absolute;
- left: 19rpx;
- top: 46rpx;
- bottom: -15rpx;
- /* Adjusted to connect the now-closer nodes */
- border-left: 2rpx dashed #E0E0E0;
- width: 0;
- z-index: 0;
- }
- .icon-circle {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- color: #fff;
- font-size: 22rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 20rpx;
- flex-shrink: 0;
- font-weight: bold;
- margin-top: 6rpx;
- position: relative;
- z-index: 1;
- }
- .icon-circle.service {
- background-color: #81C784;
- }
- .icon-circle.start {
- background-color: #FFB74D;
- }
- .icon-circle.end {
- background-color: #81C784;
- }
- .address-box {
- flex: 1;
- display: flex;
- flex-direction: column;
- margin-right: 20rpx;
- }
- .addr-title {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- margin-bottom: 4rpx;
- }
- .addr-desc {
- font-size: 24rpx;
- color: #999;
- line-height: 1.4;
- }
- .distance-tag {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- flex-shrink: 0;
- min-width: 80rpx;
- }
- .distance-text {
- font-size: 24rpx;
- color: #FF5722;
- margin-right: 15rpx;
- font-weight: 500;
- }
- .nav-icon-circle {
- width: 48rpx;
- height: 48rpx;
- background-color: #FFF3E0;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .nav-arrow {
- width: 24rpx;
- height: 24rpx;
- }
- .service-content {
- margin-top: -10rpx;
- /* Shifted up using negative margin for max compactness */
- font-size: 24rpx;
- color: #666;
- padding-left: 60rpx;
- }
- .content-label {
- color: #999;
- margin-right: 10rpx;
- }
- /* 备注 */
- .remark-box {
- background-color: #F8F8F8;
- padding: 15rpx 20rpx;
- border-radius: 8rpx;
- font-size: 26rpx;
- color: #666;
- margin-bottom: 30rpx;
- }
- /* 底部按钮 */
- .action-btns {
- display: flex;
- justify-content: space-between;
- margin-top: 15rpx;
- }
- .action-left {
- display: flex;
- }
- .action-right {
- display: flex;
- }
- .btn {
- height: 60rpx;
- line-height: 60rpx;
- border-radius: 30rpx;
- font-size: 26rpx;
- padding: 0 30rpx;
- margin: 0;
- }
- .action-right .btn:not(:last-child) {
- margin-right: 20rpx;
- }
- .btn::after {
- border: none;
- }
- .btn.normal {
- background-color: #F8F8F8;
- color: #666;
- border: none;
- }
- .btn.primary {
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- box-shadow: 0 4rpx 12rpx rgba(255, 87, 34, 0.2);
- border: none;
- }
- .btn.normal.danger {
- background-color: #FFF2F0;
- color: #F5222D;
- }
- /* 宠物档案弹窗 */
- .pet-modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.4);
- z-index: 1000;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .pet-modal-content {
- width: 680rpx;
- height: 85vh;
- background-color: #fff;
- border-radius: 20rpx;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .pet-modal-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 30rpx;
- border-bottom: 1rpx solid #F0F0F0;
- }
- .pet-modal-title {
- font-size: 34rpx;
- font-weight: bold;
- color: #333;
- }
- .pet-modal-scroll {
- flex: 1;
- height: 0;
- padding: 30rpx;
- box-sizing: border-box;
- }
- .pet-base-info {
- display: flex;
- align-items: center;
- margin-bottom: 40rpx;
- }
- .pm-avatar {
- width: 120rpx;
- height: 120rpx;
- border-radius: 50%;
- margin-right: 30rpx;
- border: 2rpx solid #f5f5f5;
- }
- .pm-info-text {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .pm-name-row {
- display: flex;
- align-items: center;
- margin-bottom: 15rpx;
- }
- .pm-name {
- font-size: 36rpx;
- font-weight: bold;
- color: #333;
- margin-right: 20rpx;
- }
- .pm-gender {
- display: flex;
- align-items: center;
- background-color: #E3F2FD;
- padding: 4rpx 12rpx;
- border-radius: 20rpx;
- }
- .pm-gender text {
- font-size: 22rpx;
- color: #1E88E5;
- }
- .pm-gender .gender-icon {
- font-weight: bold;
- margin-right: 4rpx;
- }
- .pm-gender.female {
- background-color: #FCE4EC;
- }
- .pm-gender.female text {
- color: #D81B60;
- }
- .pm-breed {
- font-size: 26rpx;
- color: #999;
- }
- .pm-detail-grid {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- .pm-grid-item {
- background-color: #F8F8F8;
- border-radius: 16rpx;
- padding: 24rpx;
- margin-bottom: 20rpx;
- display: flex;
- flex-direction: column;
- }
- .pm-grid-item.half {
- width: 48%;
- box-sizing: border-box;
- }
- .pm-grid-item.full {
- width: 100%;
- box-sizing: border-box;
- }
- .pm-label {
- font-size: 24rpx;
- color: #999;
- margin-bottom: 10rpx;
- }
- .pm-val {
- font-size: 28rpx;
- color: #333;
- font-weight: 500;
- }
- .pm-tags {
- display: flex;
- flex-wrap: wrap;
- gap: 20rpx;
- margin-bottom: 40rpx;
- }
- .pm-tag {
- background-color: #FFF8EB;
- border: 2rpx solid #FFCC80;
- color: #FF9800;
- font-size: 22rpx;
- padding: 8rpx 24rpx;
- border-radius: 30rpx;
- }
- .pm-section-title {
- display: flex;
- align-items: center;
- margin-bottom: 30rpx;
- padding-top: 30rpx;
- border-top: 2rpx dashed #F0F0F0;
- }
- .pm-section-title .orange-bar {
- width: 8rpx;
- height: 32rpx;
- background-color: #FF9800;
- margin-right: 16rpx;
- border-radius: 4rpx;
- }
- .pm-section-title text {
- font-size: 30rpx;
- font-weight: bold;
- color: #333;
- }
- .pm-log-list {
- display: flex;
- flex-direction: column;
- }
- .pm-log-item {
- display: flex;
- flex-direction: column;
- padding: 24rpx 0;
- border-bottom: 1rpx solid #F0F0F0;
- }
- .pm-log-item:last-child {
- border-bottom: none;
- }
- .pm-log-date {
- font-size: 24rpx;
- color: #999;
- margin-bottom: 16rpx;
- }
- .pm-log-text {
- font-size: 28rpx;
- color: #333;
- line-height: 1.6;
- margin-bottom: 20rpx;
- }
- .pm-log-recorder {
- font-size: 24rpx;
- color: #FF9800;
- align-self: flex-end;
- }
- .pm-bottom-close {
- width: 100%;
- height: 80rpx;
- line-height: 80rpx;
- background-color: #F5F5F5;
- color: #666;
- border-radius: 40rpx;
- font-size: 30rpx;
- font-weight: bold;
- margin: 0;
- }
- .pm-bottom-close::after {
- border: none;
- }
- .close-icon-btn {
- font-size: 48rpx;
- color: #999;
- line-height: 1;
- padding: 0 10rpx;
- }
- /* 地图导航 Action Sheet */
- .nav-modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 1000;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- }
- .nav-action-sheet {
- background-color: #fff;
- width: 100%;
- border-top-left-radius: 24rpx;
- border-top-right-radius: 24rpx;
- overflow: hidden;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- .nav-sheet-title {
- text-align: center;
- padding: 30rpx 0;
- font-size: 13px;
- color: #999;
- border-bottom: 1rpx solid #efefef;
- }
- .nav-sheet-item {
- text-align: center;
- padding: 30rpx 0;
- font-size: 13px;
- color: #333;
- background-color: #fff;
- border-bottom: 1rpx solid #efefef;
- }
- .nav-sheet-item.cancel {
- border-bottom: none;
- color: #666;
- }
- .nav-sheet-gap {
- height: 16rpx;
- background-color: #F8F8F8;
- }
- /* 订单列表:填满剩余高度,实现只有列表内容滚动 */
- .order-list {
- flex: 1;
- overflow-y: auto;
- width: 100%;
- padding: 0 30rpx;
- box-sizing: border-box;
- }
- .loading-text {
- text-align: center;
- font-size: 24rpx;
- color: #999;
- padding: 30rpx 0;
- }
- /* 宠物档案弹窗头部操作区(备注按钮 + 关闭) */
- .pm-header-actions {
- display: flex;
- align-items: center;
- gap: 16rpx;
- }
- .pm-remark-btn {
- font-size: 24rpx;
- color: #fff;
- background-color: #FF9800;
- padding: 6rpx 18rpx;
- border-radius: 20rpx;
- }
- /* 备注输入遮罩与弹窗(图2居中样式) */
- .remark-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 3000;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .remark-sheet {
- width: 600rpx;
- background-color: #fff;
- border-radius: 24rpx;
- padding: 40rpx;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .remark-sheet-header {
- width: 100%;
- text-align: center;
- margin-bottom: 30rpx;
- position: relative;
- }
- .remark-sheet-header .close-icon-btn {
- position: absolute;
- right: 0;
- top: 50%;
- transform: translateY(-50%);
- }
- .remark-sheet-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .remark-textarea {
- width: 100%;
- height: 160rpx;
- border: 1rpx solid #eee;
- border-radius: 12rpx;
- padding: 20rpx;
- font-size: 28rpx;
- color: #333;
- box-sizing: border-box;
- margin-bottom: 40rpx;
- }
- .remark-submit-btn {
- width: 100%;
- background-color: #FF5722;
- color: #fff;
- font-size: 32rpx;
- font-weight: bold;
- text-align: center;
- padding: 24rpx 0;
- border-radius: 16rpx;
- }
- /* 一键拨号下拉面板 */
- .action-left {
- position: relative;
- z-index: 10;
- }
- .action-left .btn.normal {
- font-size: 26rpx;
- }
- .call-popover {
- position: absolute;
- top: calc(100% + 10rpx);
- left: 0;
- background-color: #fff;
- border-radius: 12rpx;
- box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
- z-index: 999;
- display: flex;
- flex-direction: column;
- width: 200rpx;
- }
- .call-pop-item {
- font-size: 26rpx;
- color: #333;
- text-align: center;
- padding: 24rpx 0;
- border-bottom: 1rpx solid #eee;
- }
- .call-pop-item:last-child {
- border-bottom: none;
- }
- .call-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 900;
- background: transparent;
- }
|