From e2b6568552febbc38c1e182cb640955b29591276 Mon Sep 17 00:00:00 2001 From: zhouhefeng Date: Tue, 14 Apr 2026 10:29:00 +0800 Subject: [PATCH] commit --- .../views/mobile/train/trainInfo.html | 193 +++++++++++------- 1 file changed, 123 insertions(+), 70 deletions(-) diff --git a/src/main/resources/views/mobile/train/trainInfo.html b/src/main/resources/views/mobile/train/trainInfo.html index 8bddc2c..e7b6351 100644 --- a/src/main/resources/views/mobile/train/trainInfo.html +++ b/src/main/resources/views/mobile/train/trainInfo.html @@ -39,6 +39,42 @@ layout("/mobile/platform.html"){ font-size: 12px; } + .train-card { + position: relative; + overflow: hidden; + } + + .train-card-actions { + display: flex; + justify-content: flex-end; + align-items: center; + flex-wrap: wrap; + gap: 8px; + margin-top: 10px; + } + + .train-card-button { + width: 74px; + height: 28px; + } + + .train-card-status { + width: 74px; + text-align: right; + line-height: 1; + } + + .train-card-status image { + width: 52px; + height: auto; + } + + .train-list-wrapper { + /* 给底部固定 tabbar 和安全区预留空间,避免最后一张卡片被遮挡 */ + padding-bottom: calc(80px + env(safe-area-inset-bottom)); + box-sizing: border-box; + } + .train-title { color: grey; } @@ -152,6 +188,7 @@ layout("/mobile/platform.html"){ .van-tabs__nav--complete { padding: 0; } + .risk-dialog-wrapper { display: flex; flex-direction: column; @@ -166,18 +203,18 @@ layout("/mobile/platform.html"){ padding-bottom: 16px; /* 给按钮留点空间 */ } - .remark-content{ + .remark-content { width: 100%; max-width: 100%; - /* height: calc(100vh - 46px - 44px); - overflow-y: auto;*/ + /* height: calc(100vh - 46px - 44px); + overflow-y: auto;*/ } - .remark-content *{ - max-width: 100%!important; + .remark-content * { + max-width: 100% !important; } - .table-class{ + .table-class { width: 100%; margin-top: 10px; border-radius: 5px; @@ -186,14 +223,17 @@ layout("/mobile/platform.html"){ font-size: 13px; table-layout: fixed; border-collapse: collapse; + th { background-color: #f2f2f2; border: 1px solid #dddddd; } + tr { text-align: center; border-bottom: 1px solid #dddddd; } + td { border: 1px solid #dddddd; } @@ -209,24 +249,24 @@ layout("/mobile/platform.html"){ :options="activityOptions"> + + + + + - - - - - -