| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854 |
- page {
- background-color: #F7F8FA;
- font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
- box-sizing: border-box;
-
- }
- .container {
- width: 100%;
- min-height: 100vh;
- padding-bottom: 120rpx;
- box-sizing: border-box;
- }
- .container_box{
- width: 100%;
- padding:20rpx 20rpx;
- box-sizing: border-box;
- }
- /* 顶部信息卡片 */
- .info-card {
- width: 100%;
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
- color: #FFFFFF;
- padding: 40rpx 32rpx;
- border-radius: 20rpx 20rpx 24rpx 24rpx;
- box-shadow: 0 4rpx 16rpx rgba(22, 93, 255, 0.2);
- box-sizing: border-box;
- }
- .type-tag {
- display: inline-block;
- padding: 8rpx 20rpx;
- border-radius: 32rpx;
- font-size: 24rpx;
- font-weight: 500;
- margin-bottom: 16rpx;
- }
- .tag-station {
- background: rgba(0, 180, 42, 0.2);
- color: #E8FFF3;
- }
- .tag-user {
- background: rgba(255, 125, 0, 0.2);
- color: #FFF7E6;
- }
- .name {
- font-size: 36rpx;
- font-weight: 600;
- line-height: 1.4;
- margin-bottom: 8rpx;
- }
- .address {
- font-size: 26rpx;
- opacity: 0.9;
- line-height: 1.4;
- margin-bottom: 20rpx;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
- .extra-info {
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 24rpx;
- opacity: 0.8;
- }
- .status {
- padding: 4rpx 12rpx;
- border-radius: 6rpx;
- background: rgba(255, 255, 255, 0.2);
- }
- .status-active {
- color: #00FF88;
- }
- .coord {
- font-size: 22rpx;
- }
-
- /* 数据统计模块 */
- .stats-container {
- background: #FFFFFF;
- border-radius: 16rpx;
- margin-top: 20rpx;
- padding: 32rpx;
- box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
- }
- .stats-title {
- font-size: 30rpx;
- font-weight: 600;
- color: #1D2129;
- margin-bottom: 24rpx;
- padding-left: 8rpx;
- border-left: 4rpx solid #007545;
- }
- .stats-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 24rpx;
- }
- .stats-item {
- flex: 1;
- min-width: 160rpx;
- text-align: center;
- padding: 20rpx 0;
- background: #F7F8FA;
- border-radius: 12rpx;
- }
- .stats-value {
- font-size: 32rpx;
- font-weight: 600;
- color: #007545;
- line-height: 1.2;
- margin-bottom: 8rpx;
- }
- .stats-label {
- font-size: 24rpx;
- color: #86909C;
- }
-
- /* 详情列表 */
- .detail-list {
- width: 100%;
- background: #FFFFFF;
- border-radius: 16rpx;
- padding: 16rpx 0;
- margin-top: 20rpx;
- box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
- box-sizing: border-box;
- }
- .detail-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20rpx 32rpx;
- border-bottom: 1rpx solid #F2F3F5;
- }
- .detail-item:last-child {
- border-bottom: none;
- }
- .detail-label {
- font-size: 28rpx;
- color: #4E5969;
- }
- .detail-value {
- font-size: 28rpx;
- color: #1D2129;
- text-align: right;
- max-width: 400rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- /* 底部操作按钮 */
- .btn-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- display: flex;
- gap: 16rpx;
- padding: 20rpx 24rpx 60rpx 20rpx;
- background: #FFFFFF;
- box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.06);
- z-index: 99;
- }
- .btn-navigate, .btn-call {
- flex: 1;
- height: 88rpx;
- line-height: 88rpx;
- padding: 0;
- border-radius: 12rpx;
- font-size: 30rpx;
- font-weight: 500;
- }
- .btn-navigate {
- background: #007545;
- color: #FFFFFF;
- border: none;
- }
- .btn-navigate::after {
- border: none;
- }
- .btn-call {
- background: #00B42A;
- color: #FFFFFF;
- border: none;
- }
- .btn-call::after {
- border: none;
- }
-
- /* 深色模式适配 */
- @media (prefers-color-scheme: dark) {
- page {
- background-color: #1D1D1F;
- }
- .info-card {
- background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
- }
- .stats-container, .detail-list, .btn-bar {
- background: #2C2C2E;
- color: #FFFFFF;
- }
- .stats-item {
- background: #3A3A3C;
- }
- .stats-value, .detail-value {
- color: #007545;
- }
- .stats-label, .detail-label {
- color: #8E8E93;
- }
- .detail-item {
- border-bottom-color: #3A3A3C;
- }
- }
- /* 标签页 */
-
- .tab-bar {
- display: flex;
- margin-top: 20rpx;
- background: #fff;
- border-radius: 8rpx;
- overflow: hidden;
- box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.05);
- }
- .tab-item {
- flex: 1;
- text-align: center;
- padding: 20rpx 0;
- font-size: 28rpx;
- color: #86909C;
- border-bottom: 4rpx solid transparent;
- }
- .tab-item.active {
- color: #165DFF;
- border-bottom: 4rpx solid #165DFF;
- font-weight: 500;
- }
- /* 面板 */
- .panel1 {
-
- margin-top: 20rpx;
- border-radius: 8rpx;
- padding:0rpx 0rpx;
-
- }
- .empty-panel1 {
- /* text-align: center; */
- color: #86909C;
- }
- /* 数据网格 */
- .data-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 24rpx;
- }
- .data-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 20rpx;
- border: 1rpx solid #f0f0f0;
- border-radius: 8rpx;
- }
- .item-title {
- font-size: 26rpx;
- color: #86909C;
- margin-bottom: 16rpx;
- }
- .item-value {
- font-size: 36rpx;
- font-weight: 700;
- color: #333;
- }
- .unit {
- font-size: 28rpx;
- color: #666;
- margin-left: 4rpx;
- }
- .power-charge {
- color: #165DFF;
- }
- /* 深色模式适配 */
-
- .filter_top{
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 99;
- padding: 20rpx;
- box-sizing: border-box;
- background-color: #FFFFFF;
- }
- /* 告警分类筛选栏 */
- .filter-bar {
-
- width: 100%;
- display: flex;
- background: #FFFFFF;
- padding: 8rpx 0rpx;
- margin-bottom: 16rpx;
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
- overflow-x: auto;
- white-space: nowrap;
- box-sizing: border-box;
- }
- .filter-bar::-webkit-scrollbar {
- display: none;
- }
- .filter-item {
- display: inline-flex;
- align-items: center;
- padding: 16rpx 24rpx;
- margin: 0 8rpx;
- border-radius: 8rpx;
- font-size: 28rpx;
- color: #4E5969;
- position: relative;
- }
- .filter-active {
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
- color: #FFFFFF;
- }
- .filter-badge {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- min-width: 32rpx;
- height: 32rpx;
- background: #F53F3F;
- color: #FFFFFF;
- font-size: 20rpx;
- border-radius: 16rpx;
- margin-left: 8rpx;
- padding: 0 6rpx;
- }
- .filter-active .filter-badge {
- background: #FFFFFF;
- color: #007545;
- }
-
- /* 状态筛选栏 */
- .status-filter {
-
- width: 100%;
- display: flex;
- background: #FFFFFF;
- padding: 12rpx 16rpx;
- margin:16rpx 0rpx;
- border-radius: 8rpx;
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
- box-sizing: border-box;
-
- }
- .status-item {
- flex: 1;
- text-align: center;
- font-size: 28rpx;
- color: #86909C;
- padding: 12rpx 0;
- border-radius: 6rpx;
- }
- .status-active {
- color: #007545;
- font-weight: 600;
- background: #EEF7FF;
- }
-
- /* 告警列表 */
- .alert-list {
- width: 100%;
- overflow: hidden;
- overflow: auto;
- box-sizing: border-box;
- }
- .empty-wrap {
- padding: 100rpx 0;
- text-align: center;
- }
- .empty-icon {
- font-size: 80rpx;
- color: #C9CDD4;
- margin-bottom: 20rpx;
- }
- .empty-text {
- font-size: 28rpx;
- color: #86909C;
- margin-bottom: 8rpx;
- }
- .empty-subtext {
- font-size: 24rpx;
- color: #C9CDD4;
- }
-
- /* 告警卡片 */
- .alert-card {
- width: 100%;
- display: flex;
- align-items: flex-start;
- background: #FFFFFF;
- border-radius: 12rpx;
- padding: 24rpx;
- margin-bottom: 16rpx;
- box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
- position: relative;
- box-sizing: border-box;
- }
- /* 未读角标 */
- .unread-tag {
- position: absolute;
- top: 24rpx;
- right: 24rpx;
- width: 16rpx;
- height: 16rpx;
- background: #F53F3F;
- border-radius: 50%;
- }
- /* 左侧图标+类型 */
- .alert-left {
- flex-shrink: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-right: 20rpx;
- }
- .alert-icon {
- width: 64rpx;
- height: 64rpx;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 28rpx;
- font-weight: 600;
- color: #FFFFFF;
- margin-bottom: 18rpx;
- }
- .icon-critical {
- background: linear-gradient(135deg, #F53F3F 0%, #D92D2D 100%);
- }
- .icon-warning {
- background: linear-gradient(135deg, #FF7D00 0%, #E66A00 100%);
- }
- .icon-info {
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
- }
- .alert-type {
- font-size: 24rpx;
- color: #86909C;
- }
- /* 中间核心信息 */
- .alert-middle {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 8rpx;
- }
- .alert-title {
- font-size: 30rpx;
- font-weight: 600;
- color: #1D2129;
- line-height: 1.4;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
- .alert-desc {
- font-size: 26rpx;
- color: #4E5969;
- line-height: 1.4;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
- .alert-info {
- display: flex;
- justify-content: space-between;
- font-size: 22rpx;
- color: #86909C;
- margin-top: 8rpx;
- }
- /* 右侧操作按钮 */
- .alert-right {
- flex-shrink: 0;
- margin-left: 16rpx;
- }
- .handle-btn {
- width: 120rpx;
- height: 64rpx;
- line-height: 64rpx;
- padding: 0;
- background: #00B42A;
- color: #FFFFFF;
- font-size: 26rpx;
- border-radius: 8rpx;
- border: none;
- }
- .handle-btn::after {
- border: none;
- }
- .handled-tag {
- font-size: 24rpx;
- color: #00B42A;
- background: #E8FFF3;
- padding: 8rpx 16rpx;
- border-radius: 6rpx;
- }
-
- /* 底部批量操作栏 */
- .batch-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- display: flex;
- gap: 16rpx;
- padding: 20rpx 24rpx;
- background: #FFFFFF;
- box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.06);
- z-index: 99;
- }
- .batch-read, .batch-handle {
- flex: 1;
- height: 88rpx;
- line-height: 88rpx;
- padding: 0;
- border-radius: 12rpx;
- font-size: 30rpx;
- font-weight: 500;
- border: none;
- }
- .batch-read {
- background: #EEF7FF;
- color: #007545;
- }
- .batch-read::after {
- border: none;
- }
- .batch-handle {
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
- color: #FFFFFF;
- }
- .batch-handle::after {
- border: none;
- }
-
- /* 深色模式适配 */
- @media (prefers-color-scheme: dark) {
- page {
- background-color: #1D1D1F;
- }
- .filter-bar, .status-filter, .alert-card, .batch-bar {
- background: #2C2C2E;
- color: #FFFFFF;
- }
- .alert-title {
- color: #FFFFFF;
- }
- .alert-desc {
- color: #C9CDD4;
- }
- .alert-info, .alert-type {
- color: #8E8E93;
- }
- .status-active {
- background: #007545;
- color: #FFFFFF;
- }
- .batch-read {
- background: #007545;
- color: #FFFFFF;
- }
- }
- /* 充放电记录 */
- .order-card {
- width: 100%;
- position: relative;
- background: #FFFFFF;
- border-radius: 12rpx;
- padding: 24rpx;
- margin-top: 16rpx;
- box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
- box-sizing: border-box;
- }
- /* 状态标签 */
- .order-tag {
- position: absolute;
- top: 24rpx;
- right: 24rpx;
- padding: 4rpx 12rpx;
- border-radius: 6rpx;
- font-size: 22rpx;
- color: #222222;
- }
- .tag-pending {
- background: #FF7D00;
- }
- .tag-processing {
- background: #007545;
- }
- .tag-completed {
- background: #00B42A;
- }
- .tag-rejected {
- background: #F53F3F;
- }
- /* 左侧信息 */
- .order-left {
- margin-right: 140rpx;
- margin-bottom: 20rpx;
- }
- .order-code {
- font-size: 24rpx;
- color: #86909C;
- margin-bottom: 8rpx;
- }
- .order-title {
- font-size: 30rpx;
- font-weight: 600;
- color: #1D2129;
- line-height: 1.4;
- margin-bottom: 8rpx;
- }
- .order-desc {
- font-size: 26rpx;
- color: #4E5969;
- line-height: 1.4;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- margin-bottom: 12rpx;
- }
- .order-meta {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- font-size: 22rpx;
- color: #86909C;
- }
- /* 右侧操作区 */
- .order-right {
- position: absolute;
- top: 24rpx;
- right: 24rpx;
- display: flex;
- flex-direction: column;
- gap: 8rpx;
- align-items: flex-end;
- }
- .opt-btn {
- width: 100rpx;
- height: 56rpx;
- line-height: 56rpx;
- padding: 0;
- font-size: 24rpx;
- border-radius: 6rpx;
- border: none;
- }
- .opt-btn::after {
- border: none;
- }
- .dispatch-btn {
- background: #165DFF;
- color: #FFFFFF;
- }
- .complete-btn {
- background: #00B42A;
- color: #FFFFFF;
- }
- .reject-btn {
- background: #F53F3F;
- color: #FFFFFF;
- }
- .opt-text {
- font-size: 22rpx;
- color: #86909C;
- margin-top: 8rpx;
- }
-
- /* 底部新建工单按钮 */
- .add-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- padding: 20rpx 24rpx;
- background: #FFFFFF;
- box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.06);
- z-index: 99;
- }
- .add-btn {
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- padding: 0;
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
- color: #FFFFFF;
- font-size: 30rpx;
- font-weight: 600;
- border-radius: 12rpx;
- border: none;
- }
- .add-btn::after {
- border: none;
- }
- .panel2 {
-
- margin-top: 20rpx;
- border-radius: 8rpx;
- padding:0rpx 0rpx;
-
- }
- .empty-panel2 {
- color: #86909C;
- }
- .order-card {
- width: 100%;
- position: relative;
- background: #FFFFFF;
- border-radius: 12rpx;
- padding: 24rpx;
- margin-top: 16rpx;
- box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
- box-sizing: border-box;
- }
- /* 状态标签 */
- .order-tag {
- position: absolute;
- top: 24rpx;
- right: 24rpx;
- padding: 4rpx 12rpx;
- border-radius: 6rpx;
- font-size: 22rpx;
- color: #222222;
- }
- .tag-pending {
- background: #FF7D00;
- }
- .tag-processing {
- background: #007545;
- }
- .tag-completed {
- background: #00B42A;
- }
- .tag-rejected {
- background: #F53F3F;
- }
- /* 左侧信息 */
- .order-left {
- margin-right: 140rpx;
- margin-bottom: 20rpx;
- }
- .order-code {
- font-size: 24rpx;
- color: #86909C;
- margin-bottom: 8rpx;
- }
- .order-title {
- font-size: 30rpx;
- font-weight: 600;
- color: #1D2129;
- line-height: 1.4;
- margin-bottom: 8rpx;
- }
- .order-desc {
- font-size: 26rpx;
- color: #4E5969;
- line-height: 1.4;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- margin-bottom: 12rpx;
- }
- .order-meta {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- font-size: 22rpx;
- color: #86909C;
- }
- /* 右侧操作区 */
- .order-right {
- position: absolute;
- top: 24rpx;
- right: 24rpx;
- display: flex;
- flex-direction: column;
- gap: 8rpx;
- align-items: flex-end;
- }
- .opt-btn {
- width: 100rpx;
- height: 56rpx;
- line-height: 56rpx;
- padding: 0;
- font-size: 24rpx;
- border-radius: 6rpx;
- border: none;
- }
- .opt-btn::after {
- border: none;
- }
- .dispatch-btn {
- background: #165DFF;
- color: #FFFFFF;
- }
- .complete-btn {
- background: #00B42A;
- color: #FFFFFF;
- }
- .reject-btn {
- background: #F53F3F;
- color: #FFFFFF;
- }
- .opt-text {
- font-size: 22rpx;
- color: #86909C;
- margin-top: 8rpx;
- }
-
- /* 底部新建工单按钮 */
- .add-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- padding: 20rpx 24rpx;
- background: #FFFFFF;
- box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.06);
- z-index: 99;
- }
- .add-btn {
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- padding: 0;
- background: linear-gradient(135deg, #007545 0%, #007545 100%);
- color: #FFFFFF;
- font-size: 30rpx;
- font-weight: 600;
- border-radius: 12rpx;
- border: none;
- }
- .add-btn::after {
- border: none;
- }
|