修改数据显示

This commit is contained in:
浅念
2025-06-16 13:42:45 +08:00
parent 7cc53f7866
commit 0e1f0c47fa
8 changed files with 82 additions and 79 deletions
+3
View File
@@ -281,6 +281,9 @@ const i18n = {
// 显示当前选择
localStorage.setItem('langtext', selectedText);
that.toggleLanguage($(this).attr('data-id'))
document.querySelectorAll('.statusbtn > div').forEach(b => b.classList.remove('active'));
// 为当前点击的按钮添加 active 类
$(".statusall").addClass('active');
currentPage =1
Vehiclefn($(this).attr('data-id'))
locationfn($(this).attr('data-id'),'')
+2
View File
@@ -28,6 +28,8 @@
"latitude":"العرض",
"destinationc":"المقصد",
"yujidaodashijian":"الوقت المتوقع للوصول",
"Nextstation":"المحطة التالية",
"Nexttime":"٢ دقيقة",
"history":"التاريخ",
"detail":"التفاصيل",
"prevPage":"الصفحة السابقة",
+2
View File
@@ -28,6 +28,8 @@
"latitude":"Latitude",
"destinationc":"Destination",
"yujidaodashijian":"Estimated arrival time",
"Nextstation":"Next station",
"Nexttime":"Next Stop Arrival",
"history":"History",
"detail":"Detail",
"prevPage":"Previous page",
+2
View File
@@ -27,6 +27,8 @@
"latitude":"Широта",
"destinationc":"Пункт назначения",
"yujidaodashijian":"Ожидаемое время прибытия",
"Nextstation":"Следующая станция",
"Nexttime":"Прибытие",
"history":"История",
"detail":"Подробнее",
"close":"Закрыть",
+2
View File
@@ -28,6 +28,8 @@
"latitude":"纬度",
"destinationc":"目的地",
"yujidaodashijian":"预计到达时间",
"Nextstation":"下一站",
"Nexttime":"下站预计到达时间",
"history":"历史记录",
"detail":"详细信息",
"prevPage":"上一页",
+7 -4
View File
@@ -2913,8 +2913,8 @@ function Global(chinaGeoCoordMap, nameMap, isshow) {
var routePoints = shipListdatas.map(point => ({
name: point.ship_name,
id: point.id,
dest: point.dest,
eta: point.eta,
dest: point.port,
eta: point.last_time,
value:[point.lng,point.lat],
num:point.count,
symbol: 'image://img/luncx.png',
@@ -3730,8 +3730,11 @@ function Vehicleshipfn(id,lang){
$(".callsign").html(shipinfo.call_sign)
$(".longitude").html(shipinfo.lng)
$(".latitude").html(shipinfo.lat)
$(".destinationc").html(shipinfo.dest)
$(".yujidaodashijian").html(shipinfo.eta_utc)
$(".destinationc").html(shipinfo.port)
$(".yujidaodashijian").html(shipinfo.last_time)
$(".Nextstation").html(shipinfo.dest)
$(".Nexttime").html(shipinfo.eta)
var shiphis = result.data.ship_his;
const routetimeline = document.getElementById('routetimeline');
if(shiphis.length>0){