| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- page {
- background-color: #F7F8FA;
- margin: 0;
- padding: 0;
- font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
- box-sizing: border-box;
-
- }
- /*
- */
- .navigation-bar {
- position: fixed;
- top: 80rpx;
- left: 0rpx;
- width: 100%;
- display: flex;
- align-items: center;
- /* justify-content: center; */
- font-size: 36rpx;
- padding-left: 20rpx;
- flex-direction: row;
- color: #ffffff;
- }
- .picker{
- display: flex;
- align-items: center;
- padding: 8rpx 20rpx;
- border-radius: 10rpx;
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
-
- }
- .chevron_down{
- margin-left: 10rpx;
- }
- /* 全部 */
- .container {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
-
- }
-
- /* ===== 地图样式 ===== */
- .map {
- flex: 1;
- width: 100%;
- height: 800rpx;
- }
- .tab_box{
- flex: 1;
- display: flex;
- flex-direction: column;
- width: 100%;
- padding: 0rpx 20rpx;
- padding-bottom: 20rpx;
- overflow: hidden;
- box-sizing: border-box;
- }
- /* ===== 三选项卡样式 ===== */
- .tab-container {
- width: 100%;
- display: flex;
- background: #FFFFFF;
- padding: 8rpx 16rpx;
- border-radius: 12rpx;
- margin-top: 20rpx;
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
- box-sizing: border-box;
- }
- .tab-item {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 80rpx;
- border-radius: 8rpx;
- position: relative;
- color: #4E5969;
- font-size: 30rpx;
- font-weight: 500;
- transition: all 0.2s ease;
- }
- .tab-active {
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
- color: #FFFFFF;
- }
- .tab-item:active {
- opacity: 0.9;
- transform: scale(0.98);
- }
- .tab-badge {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 36rpx;
- height: 36rpx;
- background: rgba(255, 255, 255, 0.2);
- color: #FFFFFF;
- font-size: 22rpx;
- border-radius: 50%;
- margin-left: 8rpx;
- }
- .tab-item:not(.tab-active) .tab-badge {
- background: #E5E6EB;
- color: #86909C;
- }
- .tab-text {
- display: inline-block;
- }
-
- /* ===== 列表样式 ===== */
- .list-wrap {
- flex: 1;
- background: #FFFFFF;
- margin-top: 20rpx;
- border-radius: 16rpx;
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
- overflow: hidden;
- overflow: auto;
- box-sizing: border-box;
- }
- .list-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- /* padding: 24rpx 24rpx 16rpx; */
- padding:16rpx 24rpx;
- padding-top: 0rpx;
- border-bottom: 1rpx solid #F2F3F5;
- }
- .list-title {
- font-size: 32rpx;
- font-weight: 600;
- color: #1D2129;
- }
- .list-count {
- font-size: 24rpx;
- color: #86909C;
- }
- .empty-wrap {
- padding: 80rpx 0;
- text-align: center;
- }
- .empty-icon {
- font-size: 80rpx;
- color: #C9CDD4;
- margin-bottom: 20rpx;
- }
- .empty-text {
- font-size: 28rpx;
- color: #86909C;
- }
- .list-card {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 24rpx;
- border-bottom: 1rpx solid #F7F8FA;
- transition: background 0.2s ease;
- }
- .list-card:last-child {
- border-bottom: none;
- }
- .list-card:active {
- background: #F7F8FA;
- }
- .card-left {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 8rpx;
- }
- /* 新增用户标签样式 */
- .card-tag {
- width: 100rpx;
- display: inline-block;
- padding: 4rpx 12rpx;
- border-radius: 6rpx;
- font-size: 22rpx;
- font-weight: 500;
- }
- .tag-car {
- background: #EEF7FF;
- color: #165DFF;
- }
- .tag-station {
- background: #E8FFF3;
- color: #00B42A;
- }
- .tag-user {
- background: #FFF7E6;
- color: #FF7D00;
- }
- .card-name {
- font-size: 30rpx;
- font-weight: 500;
- color: #1D2129;
- line-height: 1.4;
- }
- .card-address {
- font-size: 24rpx;
- color: #86909C;
- line-height: 1.4;
- max-width: 500rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .card-status {
- font-size: 22rpx;
- color: #FF7D00;
- margin-top: 4rpx;
- }
- .card-right {
- /* width: 100%; */
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- flex-shrink: 0;
- margin-left: 16rpx;
- }
- .pos-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 88rpx;
- height: 64rpx;
- background: linear-gradient(135deg, #165DFF 0%, #0F4CD3 100%);
- color: #FFFFFF;
- font-size: 26rpx;
- font-weight: 500;
- border-radius: 8rpx;
- box-shadow: 0 2rpx 8rpx rgba(22, 93, 255, 0.3);
- transition: all 0.2s ease;
- }
- .pos-btn:active {
- opacity: 0.9;
- transform: scale(0.96);
- }
-
- /* ===== 深色模式适配 ===== */
- @media (prefers-color-scheme: dark) {
- page {
- background-color: #1D1D1F;
- }
- .tab-container, .list-wrap {
- background: #2C2C2E;
- color: #FFFFFF;
- }
- .list-title {
- color: #FFFFFF;
- }
- .list-header {
- border-bottom-color: #3A3A3C;
- }
- .list-card {
- border-bottom-color: #3A3A3C;
- }
- .list-card:active {
- background: #3A3A3C;
- }
- .card-address, .list-count {
- color: #8E8E93;
- }
- }
|