2025-11-08 09:37:13 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="page">
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<u-navbar :title="navTitle" :border-bottom="false" :background="bgc" back-icon-color="#000"
|
|
|
|
|
|
title-color='#000' title-size='36' height='44'></u-navbar>
|
|
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<view class="fixed-header">
|
|
|
|
|
|
<view class="search-box">
|
|
|
|
|
|
<view class="date-picker-group">
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<view class="date-btn" hover-class="date-btn--press app-tap-hover" hover-stay-time="80" @click="btnonetime">
|
|
|
|
|
|
<text class="date-text">{{ startDate }}</text>
|
|
|
|
|
|
<u-icon name="calendar" color="#9CA3AF" size="28" class="date-ico"></u-icon>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<text class="separator">至</text>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<view class="date-btn" hover-class="date-btn--press app-tap-hover" hover-stay-time="80" @click="btnonetimes">
|
|
|
|
|
|
<text class="date-text">{{ endDate }}</text>
|
|
|
|
|
|
<u-icon name="calendar" color="#9CA3AF" size="28" class="date-ico"></u-icon>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<view class="search-icon-btn" hover-class="search-icon-btn--press app-tap-hover" hover-stay-time="80"
|
|
|
|
|
|
@click="onSearch">
|
|
|
|
|
|
<u-icon v-if="!listLoading" name="search" color="#fff" size="34"></u-icon>
|
|
|
|
|
|
<u-loading v-else mode="circle" color="#ffffff" size="34"></u-loading>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<view class="mini-summary" v-if="hasFetched">
|
|
|
|
|
|
<text class="mini-summary-txt">共 <text class="em">{{ total }}</text> 条,已加载 <text class="em">{{ dhlist.length }}</text> 条</text>
|
|
|
|
|
|
</view>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
2025-12-20 14:29:10 +08:00
|
|
|
|
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<scroll-view class="list-scroll list_box" scroll-y :show-scrollbar="false" :enable-back-to-top="true"
|
|
|
|
|
|
:lower-threshold="120" @scrolltolower="handqixing" refresher-enabled
|
|
|
|
|
|
:refresher-triggered="isRefreshing" @refresherrefresh="onRefresh">
|
|
|
|
|
|
<view class="list-inner">
|
|
|
|
|
|
<view class="card" v-for="(item, index) in dhlist"
|
|
|
|
|
|
:key="item.dispatchLogId || item.id || (item.startTime + '-' + index)" hover-class="card--press"
|
|
|
|
|
|
hover-stay-time="70">
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<view class="card-header">
|
|
|
|
|
|
<view class="header-left">
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<view class="time-wrap">
|
|
|
|
|
|
<u-icon name="clock" color="#9CA3AF" size="26"></u-icon>
|
|
|
|
|
|
<text class="time">{{ item.startTime || '--' }}</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<view class="status-tag" :class="item.status == 2 ? 'success' : 'processing'">
|
2026-05-21 09:43:14 +08:00
|
|
|
|
{{ item.status == 1 ? '调度中' : '已完成' }}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<view class="divider"></view>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<view class="info-grid">
|
|
|
|
|
|
<view class="grid-item">
|
|
|
|
|
|
<text class="label">车牌号</text>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<text class="value highlight">{{ item.deviceVehicleNum || '--' }}</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="grid-item grid-item--end">
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<text class="label">是否有效</text>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
<view class="valid-pill" :class="item.isValid ? 'valid' : 'invalid'">
|
|
|
|
|
|
{{ item.isValid ? '有效' : '无效' }}
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
<view v-if="!listLoading && !loadingMore && dhlist.length === 0" class="empty-state">
|
|
|
|
|
|
<view class="empty-ico">🛵</view>
|
|
|
|
|
|
<text class="empty-title">暂无调度记录</text>
|
|
|
|
|
|
<text class="empty-sub">试试调整日期后点击搜索</text>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
<view class="footer-text">
|
|
|
|
|
|
<text v-if="dhlist.length > 0 && loadingMore">加载中…</text>
|
|
|
|
|
|
<text v-else-if="dhlist.length > 0 && dhlist.length >= total && total > 0">— 已全部加载 · 共 {{ total }} 条 —</text>
|
|
|
|
|
|
<text v-else-if="dhlist.length > 0 && total > dhlist.length">下拉或上滑加载更多</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="scroll-pad"></view>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</scroll-view>
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
<u-picker mode="time" v-model="show" :params="datePickerParams" @confirm="confirmone"></u-picker>
|
|
|
|
|
|
<u-picker mode="time" v-model="shows" :params="datePickerParams" @confirm="confirmones"></u-picker>
|
2025-11-08 09:37:13 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
bgc: {
|
|
|
|
|
|
backgroundColor: "#fff",
|
|
|
|
|
|
},
|
|
|
|
|
|
areaId: '',
|
2026-05-21 09:43:14 +08:00
|
|
|
|
startDate: '',
|
|
|
|
|
|
endDate: '',
|
|
|
|
|
|
dhlist: [],
|
|
|
|
|
|
userId: '',
|
|
|
|
|
|
datePickerParams: {
|
2025-11-08 09:37:13 +08:00
|
|
|
|
year: true,
|
|
|
|
|
|
month: true,
|
|
|
|
|
|
day: true,
|
|
|
|
|
|
hour: false,
|
|
|
|
|
|
minute: false,
|
|
|
|
|
|
second: false
|
|
|
|
|
|
},
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
shows: false,
|
2026-05-21 09:43:14 +08:00
|
|
|
|
tit: '',
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
isRefreshing: false,
|
|
|
|
|
|
listLoading: false,
|
|
|
|
|
|
loadingMore: false,
|
|
|
|
|
|
hasFetched: false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
computed: {
|
|
|
|
|
|
navTitle() {
|
|
|
|
|
|
const t = this.tit || '调度明细'
|
|
|
|
|
|
try {
|
|
|
|
|
|
return decodeURIComponent(t)
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
return t
|
|
|
|
|
|
}
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
onLoad(option) {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
this.tit = option.tit || '调度明细'
|
2025-11-08 09:37:13 +08:00
|
|
|
|
this.startDate = this.getCurrentDate().formatted
|
|
|
|
|
|
this.endDate = this.getCurrentDate().formatted
|
|
|
|
|
|
this.areaId = option.areaId
|
|
|
|
|
|
this.userId = option.userId
|
|
|
|
|
|
this.getlist()
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
onSearch() {
|
|
|
|
|
|
this.pageNum = 1
|
|
|
|
|
|
this.getlist()
|
|
|
|
|
|
},
|
|
|
|
|
|
parseYmd(str) {
|
|
|
|
|
|
const p = (str || '').split('-').map((n) => parseInt(n, 10))
|
|
|
|
|
|
if (p.length !== 3 || p.some((x) => !Number.isFinite(x))) return null
|
|
|
|
|
|
return new Date(p[0], p[1] - 1, p[2])
|
|
|
|
|
|
},
|
2025-11-08 09:37:13 +08:00
|
|
|
|
handqixing() {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
if (this.listLoading || this.loadingMore || this.isRefreshing) return
|
|
|
|
|
|
if (this.total > 0 && this.dhlist.length >= this.total) return
|
|
|
|
|
|
if (this.total === 0 && this.dhlist.length === 0 && this.pageNum <= 1) return
|
|
|
|
|
|
this.pageNum += 1
|
|
|
|
|
|
this.getlist(false, true)
|
2025-11-08 09:37:13 +08:00
|
|
|
|
},
|
|
|
|
|
|
onRefresh() {
|
|
|
|
|
|
this.isRefreshing = true
|
|
|
|
|
|
this.pageNum = 1
|
2026-05-21 09:43:14 +08:00
|
|
|
|
this.getlist(true)
|
2025-11-08 09:37:13 +08:00
|
|
|
|
},
|
2026-05-21 09:43:14 +08:00
|
|
|
|
btnonetime() {
|
2025-11-08 09:37:13 +08:00
|
|
|
|
this.show = true
|
|
|
|
|
|
},
|
2026-05-21 09:43:14 +08:00
|
|
|
|
confirmone(e) {
|
|
|
|
|
|
this.startDate = this.formatPickerYmd(e)
|
2025-11-08 09:37:13 +08:00
|
|
|
|
},
|
2026-05-21 09:43:14 +08:00
|
|
|
|
btnonetimes() {
|
2025-11-08 09:37:13 +08:00
|
|
|
|
this.shows = true
|
|
|
|
|
|
},
|
2026-05-21 09:43:14 +08:00
|
|
|
|
confirmones(e) {
|
|
|
|
|
|
this.endDate = this.formatPickerYmd(e)
|
|
|
|
|
|
},
|
|
|
|
|
|
padYM(n) {
|
|
|
|
|
|
const s = String(n == null ? '' : n)
|
|
|
|
|
|
return s.length >= 2 ? s : '0' + s
|
|
|
|
|
|
},
|
|
|
|
|
|
formatPickerYmd(e) {
|
|
|
|
|
|
if (!e) return this.getCurrentDate().formatted
|
|
|
|
|
|
return `${e.year}-${this.padYM(e.month)}-${this.padYM(e.day)}`
|
2025-11-08 09:37:13 +08:00
|
|
|
|
},
|
2026-05-21 09:43:14 +08:00
|
|
|
|
getlist(isRefresh = false, isAppend = false) {
|
|
|
|
|
|
if (this.areaId === undefined || this.areaId === null || this.areaId === '' ||
|
|
|
|
|
|
this.userId === undefined || this.userId === null || this.userId === '') {
|
|
|
|
|
|
uni.showToast({ title: '缺少参数', icon: 'none' })
|
|
|
|
|
|
if (isRefresh) this.isRefreshing = false
|
|
|
|
|
|
return
|
|
|
|
|
|
}
|
|
|
|
|
|
const a = this.parseYmd(this.startDate)
|
|
|
|
|
|
const b = this.parseYmd(this.endDate)
|
|
|
|
|
|
if (a && b && a > b) {
|
|
|
|
|
|
uni.showToast({ title: '开始日期不能晚于结束日期', icon: 'none' })
|
|
|
|
|
|
if (isRefresh) this.isRefreshing = false
|
|
|
|
|
|
if (isAppend) this.pageNum = Math.max(1, this.pageNum - 1)
|
|
|
|
|
|
return
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const firstPage = this.pageNum === 1 && !isAppend
|
|
|
|
|
|
if (firstPage) this.listLoading = true
|
|
|
|
|
|
if (isAppend) this.loadingMore = true
|
|
|
|
|
|
|
|
|
|
|
|
const range = `${this.startDate},${this.endDate}`
|
|
|
|
|
|
const qs =
|
|
|
|
|
|
`areaId=${encodeURIComponent(String(this.areaId))}` +
|
|
|
|
|
|
`&endDateRange=${encodeURIComponent(range)}` +
|
|
|
|
|
|
`&userId=${encodeURIComponent(String(this.userId))}` +
|
|
|
|
|
|
`&pageNum=${this.pageNum}&pageSize=20`
|
|
|
|
|
|
|
|
|
|
|
|
this.$u.get(`/bst/dispatchLog/list?${qs}`).then((res) => {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
const rows = res.rows || []
|
|
|
|
|
|
this.total = res.total != null ? res.total : rows.length
|
|
|
|
|
|
if (isAppend && rows.length === 0) {
|
|
|
|
|
|
this.pageNum = Math.max(1, this.pageNum - 1)
|
|
|
|
|
|
if (this.total > this.dhlist.length) {
|
|
|
|
|
|
this.total = this.dhlist.length
|
|
|
|
|
|
}
|
|
|
|
|
|
return
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
if (this.pageNum === 1) {
|
|
|
|
|
|
this.dhlist = rows
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.dhlist = this.dhlist.concat(rows)
|
|
|
|
|
|
}
|
|
|
|
|
|
if (this.total > 0 && this.dhlist.length > this.total) {
|
|
|
|
|
|
this.total = this.dhlist.length
|
|
|
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
uni.showToast({ title: res.msg || '加载失败', icon: 'none' })
|
|
|
|
|
|
const onFirstPage = this.pageNum === 1
|
|
|
|
|
|
if (this.pageNum > 1) this.pageNum = Math.max(1, this.pageNum - 1)
|
|
|
|
|
|
if (onFirstPage) this.dhlist = []
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
uni.showToast({ title: '网络异常', icon: 'none' })
|
|
|
|
|
|
if (this.pageNum > 1) this.pageNum = Math.max(1, this.pageNum - 1)
|
|
|
|
|
|
}).finally(() => {
|
|
|
|
|
|
this.hasFetched = true
|
|
|
|
|
|
this.listLoading = false
|
|
|
|
|
|
this.loadingMore = false
|
|
|
|
|
|
if (isRefresh) this.isRefreshing = false
|
2025-11-08 09:37:13 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
getCurrentDate() {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
const date = new Date()
|
|
|
|
|
|
const year = date.getFullYear()
|
|
|
|
|
|
const month = date.getMonth() + 1
|
|
|
|
|
|
const day = date.getDate()
|
|
|
|
|
|
const formattedMonth = month.toString().padStart(2, '0')
|
|
|
|
|
|
const formattedDay = day.toString().padStart(2, '0')
|
|
|
|
|
|
return {
|
|
|
|
|
|
formatted: `${year}-${formattedMonth}-${formattedDay}`
|
|
|
|
|
|
}
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
|
page {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
background: #F3F4F6;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
.page {
|
|
|
|
|
|
min-height: 100vh;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
2025-12-20 14:29:10 +08:00
|
|
|
|
|
|
|
|
|
|
.fixed-header {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
flex-shrink: 0;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
|
z-index: 10;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
|
|
|
|
|
|
box-shadow: 0 8rpx 24rpx rgba(15, 23, 42, 0.06);
|
|
|
|
|
|
border-radius: 0 0 28rpx 28rpx;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
.search-box {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
padding: 24rpx 28rpx 12rpx;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
.date-picker-group {
|
|
|
|
|
|
flex: 1;
|
2025-11-08 09:37:13 +08:00
|
|
|
|
display: flex;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
align-items: center;
|
2025-11-08 09:37:13 +08:00
|
|
|
|
justify-content: space-between;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
background: #F3F4F6;
|
|
|
|
|
|
padding: 8rpx;
|
|
|
|
|
|
border-radius: 44rpx;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
margin-right: 20rpx;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
border: 1rpx solid rgba(226, 232, 240, 0.9);
|
|
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
.date-btn {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
height: 64rpx;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
font-size: 26rpx;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
color: #1F2937;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
background: #fff;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
border-radius: 36rpx;
|
|
|
|
|
|
margin: 0 6rpx;
|
|
|
|
|
|
box-shadow: 0 2rpx 8rpx rgba(15, 23, 42, 0.04);
|
|
|
|
|
|
|
|
|
|
|
|
.date-text {
|
|
|
|
|
|
max-width: 180rpx;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.date-ico {
|
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
2025-12-20 14:29:10 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
.date-btn--press {
|
|
|
|
|
|
opacity: 0.88;
|
|
|
|
|
|
transform: scale(0.98);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
.separator {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
color: #9CA3AF;
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
padding: 0 4rpx;
|
|
|
|
|
|
flex-shrink: 0;
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
.search-icon-btn {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
width: 84rpx;
|
|
|
|
|
|
height: 84rpx;
|
|
|
|
|
|
background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
|
2025-12-20 14:29:10 +08:00
|
|
|
|
border-radius: 50%;
|
2025-11-08 09:37:13 +08:00
|
|
|
|
display: flex;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
box-shadow: 0 8rpx 20rpx rgba(59, 130, 246, 0.35);
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-icon-btn--press {
|
|
|
|
|
|
opacity: 0.92;
|
|
|
|
|
|
transform: scale(0.95);
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
.mini-summary {
|
|
|
|
|
|
padding: 0 28rpx 20rpx;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
.mini-summary-txt {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #6B7280;
|
|
|
|
|
|
|
|
|
|
|
|
.em {
|
|
|
|
|
|
color: #2563EB;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
}
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
.list-scroll {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
height: 0;
|
|
|
|
|
|
padding-top: 10rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.list-inner {
|
|
|
|
|
|
padding: 12rpx 24rpx 0;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-12-20 14:29:10 +08:00
|
|
|
|
.card {
|
2026-05-21 09:43:14 +08:00
|
|
|
|
background: rgba(255, 255, 255, 0.98);
|
|
|
|
|
|
border-radius: 24rpx;
|
|
|
|
|
|
padding: 28rpx;
|
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
box-shadow: 0 12rpx 36rpx rgba(15, 23, 42, 0.06);
|
|
|
|
|
|
border: 1rpx solid rgba(255, 255, 255, 0.9);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card--press {
|
|
|
|
|
|
opacity: 0.97;
|
|
|
|
|
|
transform: scale(0.995);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card-header {
|
2025-11-08 09:37:13 +08:00
|
|
|
|
display: flex;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
justify-content: space-between;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
|
padding-bottom: 4rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.header-left {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.time-wrap {
|
|
|
|
|
|
display: flex;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
align-items: center;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
gap: 10rpx;
|
|
|
|
|
|
}
|
2025-11-08 09:37:13 +08:00
|
|
|
|
|
2026-05-21 09:43:14 +08:00
|
|
|
|
.time {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #374151;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
|
|
|
|
|
|
.status-tag {
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
padding: 8rpx 20rpx;
|
|
|
|
|
|
border-radius: 999rpx;
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
|
|
&.processing {
|
|
|
|
|
|
background: #EFF6FF;
|
|
|
|
|
|
color: #2563EB;
|
|
|
|
|
|
border: 1rpx solid rgba(147, 197, 253, 0.6);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.success {
|
|
|
|
|
|
background: #ECFDF5;
|
|
|
|
|
|
color: #059669;
|
|
|
|
|
|
border: 1rpx solid rgba(110, 231, 183, 0.5);
|
|
|
|
|
|
}
|
2025-12-20 14:29:10 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
|
|
height: 1rpx;
|
|
|
|
|
|
background: linear-gradient(90deg, transparent, #E5E7EB 15%, #E5E7EB 85%, transparent);
|
|
|
|
|
|
margin: 20rpx 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.info-grid {
|
2025-12-20 14:29:10 +08:00
|
|
|
|
display: flex;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
|
gap: 24rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.grid-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
|
|
|
|
&--end {
|
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
color: #9CA3AF;
|
|
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.value {
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
color: #111827;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
|
|
|
|
|
|
&.highlight {
|
|
|
|
|
|
color: #1D4ED8;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-05-21 09:43:14 +08:00
|
|
|
|
.valid-pill {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
padding: 10rpx 28rpx;
|
|
|
|
|
|
border-radius: 999rpx;
|
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
|
|
|
|
&.valid {
|
|
|
|
|
|
background: #ECFDF5;
|
|
|
|
|
|
color: #059669;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.invalid {
|
|
|
|
|
|
background: #FEF2F2;
|
|
|
|
|
|
color: #DC2626;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.empty-state {
|
|
|
|
|
|
padding: 100rpx 40rpx 40rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.empty-ico {
|
|
|
|
|
|
font-size: 72rpx;
|
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.empty-title {
|
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
|
color: #6B7280;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
margin-bottom: 12rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.empty-sub {
|
2025-12-20 14:29:10 +08:00
|
|
|
|
font-size: 24rpx;
|
2026-05-21 09:43:14 +08:00
|
|
|
|
color: #9CA3AF;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footer-text {
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
color: #9CA3AF;
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
padding: 28rpx 0 8rpx;
|
|
|
|
|
|
min-height: 44rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.scroll-pad {
|
|
|
|
|
|
height: calc(32rpx + constant(safe-area-inset-bottom));
|
|
|
|
|
|
height: calc(32rpx + env(safe-area-inset-bottom));
|
2025-11-08 09:37:13 +08:00
|
|
|
|
}
|
2026-05-21 09:43:14 +08:00
|
|
|
|
</style>
|