mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2106675a0a | |||
| 1b68e0174d | |||
| b47f692ac1 |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pojazdownik",
|
"name": "pojazdownik",
|
||||||
"version": "1.8.11",
|
"version": "1.8.12",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
<div class="thumbnail-container">
|
<div class="thumbnail-container">
|
||||||
<div>{{ stockType }}</div>
|
<div>{{ stockType }}</div>
|
||||||
<img
|
<img
|
||||||
:src="`https://static.spythere.eu/thumbnails/${stockType}.png`"
|
:src="`https://stacjownik.spythere.eu/static/thumbnails/${stockType}.png`"
|
||||||
:title="stockType"
|
:title="stockType"
|
||||||
style="opacity: 0"
|
style="opacity: 0"
|
||||||
@error="(e) => onStockItemError(e, stockType)"
|
@error="(e) => onStockItemError(e, stockType)"
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
v-for="thumbnail in getVehicleThumbnails(stock.vehicleRef.type)"
|
v-for="thumbnail in getVehicleThumbnails(stock.vehicleRef.type)"
|
||||||
draggable="false"
|
draggable="false"
|
||||||
style="min-width: 200px"
|
style="min-width: 200px"
|
||||||
:src="`https://static.spythere.eu/thumbnails/v2/${thumbnail.src}.png`"
|
:src="`https://stacjownik.spythere.eu/static/thumbnails/${thumbnail.src}.png`"
|
||||||
:alt="stock.vehicleRef.type"
|
:alt="stock.vehicleRef.type"
|
||||||
:title="stock.vehicleRef.type"
|
:title="stock.vehicleRef.type"
|
||||||
@load="($event) => (($event.target as HTMLImageElement).style.minWidth = 'auto')"
|
@load="($event) => (($event.target as HTMLImageElement).style.minWidth = 'auto')"
|
||||||
|
|||||||
+1
-1
@@ -137,7 +137,7 @@
|
|||||||
"MM": "MM - międzynar. pośpieszny",
|
"MM": "MM - międzynar. pośpieszny",
|
||||||
"MH": "MH - międzywoj. pośpieszny hotelowy",
|
"MH": "MH - międzywoj. pośpieszny hotelowy",
|
||||||
"RM": "RM - woj. osobowy międzynarodowy",
|
"RM": "RM - woj. osobowy międzynarodowy",
|
||||||
"RA": "RA - woj. osobowy algomeracyjny",
|
"RA": "RA - woj. osobowy aglomeracyjny",
|
||||||
|
|
||||||
"PW": "PW - pasażerski próżny - służbowy",
|
"PW": "PW - pasażerski próżny - służbowy",
|
||||||
"PX": "PX - pasażerski próżny próbny",
|
"PX": "PX - pasażerski próżny próbny",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
getThumbnailURL(vehicleType: string, size: 'small' | 'large') {
|
getThumbnailURL(vehicleType: string, size: 'small' | 'large') {
|
||||||
return `https://static.spythere.eu/images/${vehicleType}--${size == 'small' ? 300 : 800}px.jpg`;
|
return `https://stacjownik.spythere.eu/static/images/${vehicleType}--${size == 'small' ? 300 : 800}px.jpg`;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user