-
- {{ chosenRealComposition.number }} {{ chosenRealComposition.name }}
+
+
+
+
+ {{ chosenRealComposition.number }} {{ chosenRealComposition.name }}
+
+ |
+
+
+
+ {{ $t('stocklist.mass') }}
+ {{ (store.totalWeight / 1000).toFixed(1) }}t
+ ({{ $t('stocklist.mass-accepted') }}:
+ {{
+ store.acceptableWeight ? `${~~(store.acceptableWeight / 1000)}t` : '-'
+ }}) - {{ $t('stocklist.length') }}:
+ {{ store.totalLength }}m
+ - {{ $t('stocklist.vmax') }}
+ (?):
+ {{ store.maxStockSpeed }} km/h
- |
-
-
-
- {{ $t('stocklist.mass') }}
- {{ (store.totalWeight / 1000).toFixed(1) }}t
- ({{ $t('stocklist.mass-accepted') }}:
- {{
- store.acceptableWeight ? `${~~(store.acceptableWeight / 1000)}t` : '-'
- }}) - {{ $t('stocklist.length') }}:
- {{ store.totalLength }}m
- - {{ $t('stocklist.vmax') }}
- (?):
- {{ store.maxStockSpeed }} km/h
-
-
-
-
-
- {{ $t('stocklist.coldstart-info') }}
-
-
-
- {{ $t('stocklist.doublemanning-info') }}
-
-
-
-
-
- (!) {{ $t('stocklist.warning-not-suitable') }}
-
- (!) {{ $t('stocklist.warning-passenger-too-long') }}
+
+
+
+
+ {{ $t('stocklist.coldstart-info') }}
+
+
+
+ {{ $t('stocklist.doublemanning-info') }}
+
-
- (!) {{ $t('stocklist.warning-freight-too-long') }}
-
+
+
+ (!) {{ $t('stocklist.warning-not-suitable') }}
+
-
- (!)
- {{
- $t('stocklist.warning-team-only-vehicle', [
- teamOnlyVehicles.map((v) => v.vehicleRef.type).join(', '),
- ])
- }}
-
+
+ (!) {{ $t('stocklist.warning-passenger-too-long') }}
+
-
+
+ (!) {{ $t('stocklist.warning-freight-too-long') }}
+
-
- {{ $t('stocklist.warning-too-many-locos') }}
-
-
+
+ (!)
+ {{
+ $t('stocklist.warning-team-only-vehicle', [
+ teamOnlyVehicles.map((v) => v.vehicleRef.type).join(', '),
+ ])
+ }}
+
-
-
-
-
-
-
{{ $t('stocklist.list-empty') }}
-
-
-
-
- -
-
-
- {{ stock.cargo.id }}
-
+
+ {{ $t('stocklist.warning-too-many-locos') }}
+
+
-
{{ stock.vehicleRef.length }}m
+
-
- {{ ((stock.vehicleRef.weight + (stock.cargo?.weight ?? 0)) / 1000).toFixed(1) }}t
-
-
{{ stock.vehicleRef.maxSpeed }}km/h
-
-
-
-
+
+
+
+
{{ $t('stocklist.list-empty') }}
+
+
+
+
+ -
+
+
+ •
+ {{ i + 1 }}.
+
+
+
+ {{
+ isTractionUnit(stock.vehicleRef)
+ ? stock.vehicleRef.type
+ : getCarSpecFromType(stock.vehicleRef.type)
+ }}
+
+
+
+ {{ stock.cargo.id }}
+
+
+ {{ stock.vehicleRef.length }}m
+
+
+ {{ ((stock.vehicleRef.weight + (stock.cargo?.weight ?? 0)) / 1000).toFixed(1) }}t
+
+ {{ stock.vehicleRef.maxSpeed }}km/h
+
+
+
+
+
@@ -520,11 +524,10 @@ export default defineComponent({
@import '../../styles/global';
@import '../../styles/tab.scss';
-.stock-list-tab {
+.tab_content {
display: flex;
flex-direction: column;
gap: 0.5em;
- position: relative;
}
.warning {
diff --git a/src/components/utils/StockThumbnails.vue b/src/components/utils/StockThumbnails.vue
index c24b38d..4f2049c 100644
--- a/src/components/utils/StockThumbnails.vue
+++ b/src/components/utils/StockThumbnails.vue
@@ -97,6 +97,7 @@ const allowDrop = (e: DragEvent) => {
display: flex;
overflow: auto;
background-color: #353a57;
+ min-height: 100px;
}
.thumbnail-item {