@@ -689,10 +689,30 @@ <h5 style="margin: 0 0 8px 0; font-size: 12px; color: var(--text-color);">🗺
689689 </ div >
690690 </ div >
691691
692+ < div style ="margin: 0 0 8px 0; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; ">
693+ < button id ="addRowBtn "
694+ style ="padding:6px 10px;font-size:12px;border:1px solid var(--border-color);background:var(--btn-bg);color:var(--text-color);border-radius:4px;cursor:pointer;flex-shrink:0; "> ➕
695+ 新增一行</ button >
696+
697+ < div style ="display: flex; gap: 8px; align-items: center; font-size: 12px; flex-wrap: wrap; ">
698+ < span style ="color:var(--text-color); font-weight:600; "> 筛选:</ span >
699+ < input type ="text " id ="filterYear2 " placeholder ="年份 " style ="padding:4px 6px; font-size:11px; border:1px solid var(--border-color); background:var(--input-bg); color:var(--text-color); border-radius:4px; width:60px; ">
700+ < input type ="text " id ="filterTrainNo " placeholder ="车次/航班 " style ="padding:4px 6px; font-size:11px; border:1px solid var(--border-color); background:var(--input-bg); color:var(--text-color); border-radius:4px; width:70px; ">
701+ < input type ="text " id ="filterTrainType " placeholder ="车型号/航司 " style ="padding:4px 6px; font-size:11px; border:1px solid var(--border-color); background:var(--input-bg); color:var(--text-color); border-radius:4px; width:80px; ">
702+ < input type ="text " id ="filterStartStation " placeholder ="起点站 " style ="padding:4px 6px; font-size:11px; border:1px solid var(--border-color); background:var(--input-bg); color:var(--text-color); border-radius:4px; width:80px; ">
703+ < input type ="text " id ="filterStartCity " placeholder ="起点城市 " style ="padding:4px 6px; font-size:11px; border:1px solid var(--border-color); background:var(--input-bg); color:var(--text-color); border-radius:4px; width:80px; ">
704+ < input type ="text " id ="filterEndStation " placeholder ="终点站 " style ="padding:4px 6px; font-size:11px; border:1px solid var(--border-color); background:var(--input-bg); color:var(--text-color); border-radius:4px; width:80px; ">
705+ < input type ="text " id ="filterEndCity " placeholder ="终点城市 " style ="padding:4px 6px; font-size:11px; border:1px solid var(--border-color); background:var(--input-bg); color:var(--text-color); border-radius:4px; width:80px; ">
706+ < button id ="clearTableFilterBtn " style ="padding:4px 8px; font-size:11px; background:var(--btn-bg); color:var(--text-color); border:1px solid var(--border-color); border-radius:4px; cursor:pointer; "> 清空</ button >
707+ < button id ="toggleSelectionBtn " style ="padding:4px 8px; font-size:11px; background:var(--primary-color, #0d6efd); color:#fff; border:none; border-radius:4px; cursor:pointer; margin-left:10px; "> 多选统计</ button >
708+ </ div >
709+ </ div >
710+ < div id ="selectionStats " style ="display: none; margin-bottom: 8px; padding: 6px 10px; background: rgba(13, 110, 253, 0.1); border-left: 3px solid #0d6efd; border-radius: 4px; font-size: 12px; color: var(--text-color); ">
711+ </ div >
692712 < table id ="historyTable ">
693713 < thead >
694714 < tr >
695- < th class ="sortable " data-field ="datetime "> #</ th >
715+ < th class ="sortable " data-field ="datetime "> < input type =" checkbox " id =" selectAllRowsCb " style =" margin-right:4px; " > #</ th >
696716 < th class ="sortable " data-field ="date "> 日期</ th >
697717 < th class ="sortable " data-field ="time "> 时间</ th >
698718 < th class ="sortable " data-field ="duration "> 时长</ th >
@@ -714,11 +734,6 @@ <h5 style="margin: 0 0 8px 0; font-size: 12px; color: var(--text-color);">🗺
714734 </ thead >
715735 < tbody > </ tbody >
716736 </ table >
717- < div style ="margin: 8px 0 0; ">
718- < button id ="addRowBtn "
719- style ="padding:6px 10px;font-size:12px;border:1px solid var(--border-color);background:var(--btn-bg);color:var(--text-color);border-radius:4px;cursor:pointer; "> ➕
720- 新增一行</ button >
721- </ div >
722737 </ div >
723738
724739
0 commit comments