Compare commits
26 Commits
master
...
special/ro
Author | SHA1 | Date | |
---|---|---|---|
|
9a6b0bb9e9 | ||
|
e2349cca15 | ||
|
68cced053e | ||
|
553e1eeb65 | ||
|
7a06a5d86a | ||
|
80d41de6b4 | ||
|
a3ecc80d28 | ||
|
70a0815d01 | ||
|
7048333b07 | ||
|
5773975070 | ||
|
9301780212 | ||
|
2a3e6c95b3 | ||
|
58ef72c9df | ||
|
43a5c5864a | ||
|
8310712e5b | ||
|
19a74dbc37 | ||
|
025d5655d9 | ||
|
ad34feb191 | ||
|
717569993e | ||
|
fc7edb9e37 | ||
|
ee1ef94c02 | ||
|
14c1c3ddd2 | ||
|
c8008d5339 | ||
|
2290c96ca7 | ||
|
fa7c32298e | ||
|
24e784a236 |
@ -1053,5 +1053,14 @@
|
||||
"9253M":"児島,発,11:02#多度津,発,11:30#善通寺,発,11:54#琴平,着,12:00#",
|
||||
"9256M":"琴平,発,15:20#善通寺,発,15:26#多度津,発,15:35#宇多津,発,15:44#児島,着,16:04#",
|
||||
"9057M":"高松,発,18:27#坂出,発,18:41#宇多津,発,18:46#丸亀,発,18:49#多度津,着,18:55#",
|
||||
"9054M":"宇多津,発,9:00#坂出,発,9:07#高松,着,9:21#"
|
||||
"9054M":"宇多津,発,9:00#坂出,発,9:07#高松,着,9:21#",
|
||||
//9001: "岡山,発,10:11#児島,発,11:05#坂出,発,11:41#高松,着,12:00#独自補完データ,提,https://x.com/makkun3/status/1750490886293848372#",
|
||||
9001: "ウェルカムセレモニー,頃,9:40#岡山,頃,10:10#琴平,頃,14:00#琴平観光,以降,14:00#湯山荘 阿讃琴南,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第1章\n-瀬戸の海に想いを馳せながら-\n岡山・高松・琴平,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
//9029: "高松,発,12:42#琴平,着,13:57#独自補完データ,提,https://x.com/makkun3/status/1750490886293848372#",
|
||||
9029: "ウェルカムセレモニー,頃,9:40#岡山,頃,10:10#琴平,頃,14:00#琴平観光,以降,14:00#湯山荘 阿讃琴南,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第1章\n-瀬戸の海に想いを馳せながら-\n岡山・高松・琴平,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
//9003: "多度津,発,10:09#今治,発,13:20#伊予亀岡,発,13:55#菊間,発,14:04#松山,着,14:50#独自補完データ,提,https://x.com/makkun3/status/1750490886293848372#",
|
||||
9003: "湯山荘 阿讃琴南,頃,9:00#多度津,頃,10:10#松山,頃,14:50#宿泊施設,以降,14:50#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第2章\n -四国の伝統文化を感じて-\n多度津・坂出・松山,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
9055: "宿泊施設→バス,着,10:30#松山,頃,10:30#今治,頃,14:15#しまなみエリア観光,以降,14:15#Azumi Setoda,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第3章\n-凪の誘い・瀬戸内の絶景-\n今治・しまなみ海道,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
9056: "宿泊施設→バス,着,10:30#松山,頃,10:30#今治,頃,14:15#しまなみエリア観光,以降,14:15#Azumi Setoda,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第3章\n-凪の誘い・瀬戸内の絶景-\n今治・しまなみ海道,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
9004: "Azumi Setoda,頃,9:30#今治,頃,10:30#高松,頃,14:30#高松港\n↓\n瀬戸内クルーズ(貸切)\n「おりんぴあどりーむ せと」\n↓ \n 新岡山港,以降,14:15#岡山駅,頃,18:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS フィナーレ\n-四国・瀬戸内の彩りに囲まれて-\n今治・高松・岡山,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
}
|
@ -608,6 +608,43 @@ export const customTrainDataDetector = (TrainNumber) => {
|
||||
info: "",
|
||||
};
|
||||
|
||||
/////ロイヤルエクスプレス
|
||||
case "9001":
|
||||
case "9029":
|
||||
return {
|
||||
type: "SPCL",
|
||||
trainName: "THE ROYAL EXPRESS",
|
||||
trainIcon: "http://trainfrontview.net/p/izq2100rex1.png",
|
||||
trainNumDistance: null,
|
||||
info: "[団体専用] 第1章 -瀬戸の海に想いを馳せながら- 岡山・高松・琴平",
|
||||
};
|
||||
/////ロイヤルエクスプレス
|
||||
case "9003":
|
||||
return {
|
||||
type: "SPCL",
|
||||
trainName: "THE ROYAL EXPRESS",
|
||||
trainIcon: "http://trainfrontview.net/p/izq2100rex1.png",
|
||||
trainNumDistance: null,
|
||||
info: "[団体専用] 第2章 -四国の伝統文化を感じて- 多度津・坂出・松山",
|
||||
};
|
||||
/////ロイヤルエクスプレス
|
||||
case "9055":
|
||||
case "9056":
|
||||
return {
|
||||
type: "SPCL",
|
||||
trainName: "THE ROYAL EXPRESS",
|
||||
trainIcon: "http://trainfrontview.net/p/izq2100rex1.png",
|
||||
trainNumDistance: null,
|
||||
info: "[団体専用] 第3章 -凪の誘い・瀬戸内の絶景- 今治・しまなみ海道",
|
||||
};
|
||||
case "9004":
|
||||
return {
|
||||
type: "SPCL",
|
||||
trainName: "THE ROYAL EXPRESS",
|
||||
trainIcon: "http://trainfrontview.net/p/izq2100rex1.png",
|
||||
trainNumDistance: null,
|
||||
info: "[団体専用] フィナーレ -四国・瀬戸内の彩りに囲まれて- 今治・高松・岡山",
|
||||
};
|
||||
default:
|
||||
return {
|
||||
type: "Normal",
|
||||
|
@ -6,6 +6,34 @@ export const injectJavascriptData = (
|
||||
stationMenu,
|
||||
trainMenu
|
||||
) => {
|
||||
|
||||
|
||||
const specialTrainIcon = `
|
||||
////ロイヤルエクスプレス
|
||||
case "9001":
|
||||
case "9029":
|
||||
case "9003":
|
||||
case "9055":
|
||||
case "9056":
|
||||
case "9004":
|
||||
setStationIcon(element.querySelector("img"),'https://storage.haruk.in/izq2100rex.png');
|
||||
break;
|
||||
`
|
||||
const specialTrainName = `
|
||||
////ロイヤルエクスプレス
|
||||
case "9001":
|
||||
case "9029":
|
||||
return "ロイヤルエクスプレス\\n-瀬戸の海に想いを馳せながら-";
|
||||
case "9003":
|
||||
return "ロイヤルエクスプレス\\n-四国の伝統文化を感じて-";
|
||||
case "9055":
|
||||
case "9056":
|
||||
return "ロイヤルエクスプレス\\n-凪の誘い・瀬戸内の絶景-";
|
||||
case "9004":
|
||||
return "ロイヤルエクスプレス\\n-四国・瀬戸内の彩りに囲まれて-";
|
||||
break;
|
||||
`
|
||||
|
||||
// 一番上のメニュー非表示 地図スイッチによって切り替え
|
||||
const topMenu =
|
||||
mapSwitch != "true"
|
||||
@ -464,6 +492,7 @@ export const injectJavascriptData = (
|
||||
case "8063D":
|
||||
setStationIcon(element.querySelector("img"),'https://storage.haruk.in/s185ym1.png');
|
||||
break;
|
||||
`+specialTrainIcon+`
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -541,6 +570,7 @@ const data = getJRF(列番データ);
|
||||
//安芸行と併結列車を個別に表示、それ以外をdefaultで下りなら既定の行き先を、上りなら奈半利行を設定
|
||||
const getTKT = num =>{
|
||||
switch(num){
|
||||
`+specialTrainName+`
|
||||
case "5814D":
|
||||
case "5816D":
|
||||
return "ごめん・なはり線直通\\n快速 奈半利行";
|
||||
|
@ -13,6 +13,15 @@ export const useAllTrainDiagram = () => {
|
||||
export const AllTrainDiagramProvider = ({ children }) => {
|
||||
const [allTrainDiagram, setAllTrainDiagram] = useState();
|
||||
const customData = {
|
||||
//9001: "岡山,発,10:11#児島,発,11:05#坂出,発,11:41#高松,着,12:00#独自補完データ,提,https://x.com/makkun3/status/1750490886293848372#",
|
||||
9001: "ウェルカムセレモニー,頃,9:40#岡山,頃,10:10#琴平,頃,14:00#琴平観光,以降,14:00#湯山荘 阿讃琴南,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第1章\n-瀬戸の海に想いを馳せながら-\n岡山・高松・琴平,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
//9029: "高松,発,12:42#琴平,着,13:57#独自補完データ,提,https://x.com/makkun3/status/1750490886293848372#",
|
||||
9029: "ウェルカムセレモニー,頃,9:40#岡山,頃,10:10#琴平,頃,14:00#琴平観光,以降,14:00#湯山荘 阿讃琴南,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第1章\n-瀬戸の海に想いを馳せながら-\n岡山・高松・琴平,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
//9003: "多度津,発,10:09#今治,発,13:20#伊予亀岡,発,13:55#菊間,発,14:04#松山,着,14:50#独自補完データ,提,https://x.com/makkun3/status/1750490886293848372#",
|
||||
9003: "湯山荘 阿讃琴南,頃,9:00#多度津,頃,10:10#松山,頃,14:50#宿泊施設,以降,14:50#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第2章\n -四国の伝統文化を感じて-\n多度津・坂出・松山,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
9055: "宿泊施設→バス,着,10:30#松山,頃,10:30#今治,頃,14:15#しまなみエリア観光,以降,14:15#Azumi Setoda,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第3章\n-凪の誘い・瀬戸内の絶景-\n今治・しまなみ海道,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
9056: "宿泊施設→バス,着,10:30#松山,頃,10:30#今治,頃,14:15#しまなみエリア観光,以降,14:15#Azumi Setoda,頃,16:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS 第3章\n-凪の誘い・瀬戸内の絶景-\n今治・しまなみ海道,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
9004: "Azumi Setoda,頃,9:30#今治,頃,10:30#高松,頃,14:30#高松港\n↓\n瀬戸内クルーズ(貸切)\n「おりんぴあどりーむ せと」\n↓ \n 新岡山港,以降,14:15#岡山駅,頃,18:00#独自補完データ,提,https://www.the-royalexpress.jp/plan/2614/#ROYAL EXPRESS フィナーレ\n-四国・瀬戸内の彩りに囲まれて-\n今治・高松・岡山,提,https://www.the-royalexpress.jp/plan/2614/#",
|
||||
};
|
||||
useEffect(() => {
|
||||
fetch(
|
||||
|
Loading…
Reference in New Issue
Block a user