一些日期修改

main
崔方鑫 2026-10-14 14:14:22 +08:00
parent cd4385a43c
commit 727a768e7d
8 changed files with 53 additions and 50 deletions

View File

@ -15,15 +15,15 @@
import { reactive } from 'vue'
const constructionStats = reactive({
protection: 6,
database: 6,
signal: 183,
generalAffairs: 19,
power: 82,
vehicle: 1,
track: 20,
fleet: 30,
total: 63935
protection: 2,
database: 0,
signal: 3,
generalAffairs: 0,
power: 2,
vehicle: 2,
track: 0,
fleet: 3,
total: 51
})
const smallBallCounts = [

View File

@ -11,7 +11,7 @@ import { ref } from 'vue'
import DrivingChartPanel from './DrivingChartPanel.vue'
const line = ref(7)
const date = ref('2026-09-20')
const date = ref('2026-09-28')
const chartData = {
dates: ['01/21', '01/22', '01/23', '01/24', '01/25', '01/26'],
current: [98.8, 100.15, 101.3, 99.95, 100.42, 99.35],

View File

@ -14,7 +14,7 @@ import { ref } from 'vue'
import DrivingChartPanel from './DrivingChartPanel.vue'
const line = ref(7)
const date = ref('2026-09-20')
const date = ref('2026-09-28')
const chartData = {
dates: ['01/21', '01/22', '01/23', '01/24', '01/25', '01/26'],
current: [98.8, 100.15, 101.3, 99.95, 100.42, 99.35],

View File

@ -50,7 +50,7 @@ import MetroLineSelect from './MetroLineSelect.vue'
const props = defineProps({
line: { type: Number, default: 7 },
date: { type: String, default: '2026-09-20' },
date: { type: String, default: '2026-09-28' },
chartData: { type: Object, default: () => ({}) }
})
const emit = defineEmits(['update:line', 'update:date'])

View File

@ -1,7 +1,7 @@
<template>
<div class="module-eight">
<div class="module-body">
<div class="time-range">(2026-09-20)</div>
<div class="time-range">(2026-09-28)</div>
<div class="liziqiu-wrapper">
<img class="liziqiu" src="/imgs/liziqiu.png" alt="liziqiu" />
</div>

View File

@ -43,16 +43,15 @@ const time = ref(new Date().toLocaleString())
setInterval(() => time.value = new Date().toLocaleString(), 1000)
const list = ref([
{ id: 1, newsTitle: '上海地铁1号线早高峰客流超负荷 运营方加开临客', issuePosttime: '2026-09-20 08:15:23', simCount: '1234', newsUrl: 'http://example.com/news1', status: '0' },
{ id: 2, newsTitle: '地铁2号线发生列车延误事件 乘客有序疏散', issuePosttime: '2026-09-20 09:30:45', simCount: '892', newsUrl: 'http://example.com/news2', status: '1' },
{ id: 3, newsTitle: '地铁10号线今日首班车提前发车', issuePosttime: '2026-09-20 06:45:12', simCount: '567', newsUrl: 'http://example.com/news3', status: '0' },
{ id: 4, newsTitle: '地铁13号线新站点今日正式启用', issuePosttime: '2026-09-20 10:20:33', simCount: '789', newsUrl: 'http://example.com/news4', status: '1' },
{ id: 5, newsTitle: '地铁9号线晚高峰客流统计发布', issuePosttime: '2026-09-20 18:45:56', simCount: '2345', newsUrl: 'http://example.com/news5', status: '0' },
{ id: 6, newsTitle: '地铁4号线列车检修工作顺利完成', issuePosttime: '2026-09-20 14:30:18', simCount: '456', newsUrl: 'http://example.com/news6', status: '1' },
{ id: 7, newsTitle: '地铁8号线今日运营数据亮眼', issuePosttime: '2026-09-20 16:22:44', simCount: '1567', newsUrl: 'http://example.com/news7', status: '0' },
{ id: 8, newsTitle: '地铁7号线突发设备故障 已及时修复', issuePosttime: '2026-09-20 11:15:29', simCount: '678', newsUrl: 'http://example.com/news8', status: '1' },
{ id: 9, newsTitle: '地铁16号线新线路规划公布', issuePosttime: '2026-09-20 13:40:55', simCount: '890', newsUrl: 'http://example.com/news9', status: '0' },
{ id: 10, newsTitle: '地铁5号线早高峰运营情况良好', issuePosttime: '2026-09-20 07:55:33', simCount: '1123', newsUrl: 'http://example.com/news10', status: '1' }
{ id: 1, newsTitle: '假日出行,遇地铁门灯闪烁、蜂鸣器响,请停止上下车!', issuePosttime: '2026-09-28 10:10:15', simCount: '53', newsUrl: '', status: '0' },
{ id: 2, newsTitle: '震惊7号线车次的密集程度,简直是首尾相连速度', issuePosttime: '2026-09-28 09:32:25', simCount: '46', newsUrl: '', status: '0' },
{ id: 3, newsTitle: '转发微博###在上海坐地铁,听到了禁止饮食的广播,还有点惊讶。查了一下北上广的地铁规定,车厢里,北京和广州是禁止吃,但可以喝,上海是吃喝都不让。但是站内和月台上都是让吃喝的。 看了下原因,除了影响其他乘客外,还有一个原因是防止引来老鼠咬坏电缆。 好像地铁里也没见过吃东西的,喝水喝饮料的的有,也没人说啥。', issuePosttime: '2026-09-28 09:09:15', simCount: '42', newsUrl: '', status: '0' },
{ id: 4, newsTitle: '#上海地铁站已经这么发达了 ? 豫园站6号口(14号线费区外)新设“地铁迎客厅”,可以租赁翻译机、自助退税、“入境通EasyGo”体验、现金提取、外币兑换等功能 #媒体原创', issuePosttime: '2026-09-28 10:15:55', simCount: '31', newsUrl: '', status: '0' },
{ id: 5, newsTitle: '15号线一直有一股学校洗衣机的味道[融化]', issuePosttime: '2026-09-28 08:34:45', simCount: '22', newsUrl: '', status: '0' },
{ id: 6, newsTitle: '世赛叠加中秋!上海地铁临时调整:多线延时运营、定点加开!', issuePosttime: '2026-09-28 08:19:00', simCount: '19', newsUrl: '', status: '0' },
{ id: 7, newsTitle: '地铁2号线是联通两个机场和一个高铁站的远行必走线路,大多数时候在世纪大道站乘客只能手提重重的行李箱上下楼梯,不知道这样安排有什么用意,地铁工作人员都是不坐地铁奔赴机场和高铁站的所以不知道普通人出行的艰难吗?@上海地铁shmetro#上海地铁世纪大道##上海地铁##上海·世纪大道(地铁站)[地点]#', issuePosttime: '2026-09-28 07:36:35', simCount: '17', newsUrl: '', status: '0' },
{ id: 8, newsTitle: '今天早上进上海地铁11号线 突然有点穿越时空隧道的感觉 这个设计的有点东西[good]', issuePosttime: '2026-09-28 07:08:51', simCount: '14', newsUrl: '', status: '0' },
{ id: 9, newsTitle: '上海地铁豫园站近日新设了9幅“诗歌进地铁”系列灯箱,这是上海地铁与上海市翻译家协会合作推出的独属于这座城市的“诗意”。', issuePosttime: '2026-09-28 09:00:00', simCount: '9', newsUrl: '', status: '0' }
])
const processedList = computed(() => list.value.map((item, index) => ({ ...item, originalIndex: index })))
@ -200,9 +199,13 @@ const toggleStatus = (item) => {
font-weight: bold;
line-height: 20px;
display: -webkit-box;
// -webkit-line-clamp: 2;
line-clamp: 2;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: 2px;
//
}

View File

@ -1,7 +1,7 @@
<template>
<div class="module-seven">
<div class="module-body">
<div class="time-range">(2026-09-20)</div>
<div class="time-range">(2026-09-28)</div>
<div class="txt">
<div class="txt-item txt-item-1">
<img src="/imgs/type1.png" alt="">

View File

@ -58,7 +58,7 @@ const rankingList = [
{ rank: 1, lineId: 3, count: 20 },
{ rank: 2, lineId: 4, count: 2 },
{ rank: 3, lineId: 7, count: 11 },
{ rank: 4, lineId: 11, count: 11 }
{ rank: 4, lineId: 15, count: 12 }
]
const getLineTheme = lineId => {
@ -101,45 +101,45 @@ const getLineStyle = lineId => {
const comments = [
{
id: 1,
user: '莲花楼楼主_CC',
date: '03-28',
time: '16:21',
content: '把15号线,改为,青浦线,或者,华为专线,有这么难吗。'
user: '沪漂八年小唐',
date: '2026/9/28',
time: '8:21:00',
content: '麻烦3号地铁线上早高峰多播放几次禁止饮食和手机禁止外放声音,有些乘客装聋作哑,劝阻也不听,要不增加人来巡视,要不增加相应的感应设备及时介入劝阻提醒'
},
{
id: 2,
user: '莲花楼楼主_CC',
date: '03-28',
time: '16:21',
content: '把15号线,改为,青浦线,或者,华为专线,有这么难吗。'
user: '魏不打雷嘻嘻',
date: '2026/9/28',
time: '8:14:00',
content: '040256出风口完全没有风'
},
{
id: 3,
user: '莲花楼楼主_CC',
date: '03-28',
time: '16:21',
content: '把15号线,改为,青浦线,或者,华为专线,有这么难吗。'
user: 'Ash不累',
date: '2026/9/28',
time: '8:30:00',
content: '3号线上海南站方向030215车厢空调麻烦开大一点好热呀'
},
{
id: 4,
user: '莲花楼楼主_CC',
date: '03-28',
time: '16:21',
content: '把15号线,改为,青浦线,或者,华为专线,有这么难吗。'
user: '宇熙智慧',
date: '2026/9/28',
time: '17:48:00',
content: '三号线冻死了,这天气需要空调开这么足吗?'
},
{
id: 5,
user: '莲花楼楼主_CC',
date: '03-28',
time: '16:21',
content: '把15号线,改为,青浦线,或者,华为专线,有这么难吗。'
user: '用户55963318',
date: '2026/9/28',
time: '8:43:00',
content: '你要涨价无所谓,你延长路和中山北路无故不停是什么意思。'
},
{
id: 6,
user: '莲花楼楼主_CC',
date: '03-28',
time: '16:21',
content: '把15号线,改为,青浦线,或者,华为专线,有这么难吗。'
user: '第四十个小号',
date: '2026/9/28',
time: '10:26:00',
content: '请把 镇坪路 3、4号线转7号线路上的电梯 方向改回一上一下,暗改好几次了都'
}
]