Commit 2658fd9a authored by 何波's avatar 何波

样式调整

parent 6ed02c29
...@@ -140,13 +140,13 @@ ...@@ -140,13 +140,13 @@
/* 交易明细表格 */ /* 交易明细表格 */
.tablebox { .tablebox {
width: 1145px; /* width: 1145px; */
overflow-x: auto; overflow-x: auto;
margin: auto; margin: auto;
} }
.detail-table { .detail-table {
width: calc(100% - 40px); /* width: calc(100% - 40px); */
border-collapse: collapse; border-collapse: collapse;
border: 1px solid #62a7e3; border: 1px solid #62a7e3;
overflow: hidden; overflow: hidden;
...@@ -184,8 +184,10 @@ ...@@ -184,8 +184,10 @@
} }
.toolbar-box { .toolbar-box {
padding-left: 10px;
background-color: #f6fbf4;
border: 1px solid #e8e8e8; border: 1px solid #e8e8e8;
padding-bottom: 4px; border-top: none;
} }
/* 工具栏/统计栏 */ /* 工具栏/统计栏 */
...@@ -193,8 +195,7 @@ ...@@ -193,8 +195,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 10px 10px 0 10px; padding-right: 10px;
background: #f8faf5;
} }
.toolbar-left { .toolbar-left {
...@@ -363,10 +364,7 @@ ...@@ -363,10 +364,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
height: 42px; height: 42px;
margin-top: 15px;
line-height: 42px; line-height: 42px;
padding-left: 10px;
padding-right: 11px;
} }
.toolbar2 .left { .toolbar2 .left {
...@@ -503,7 +501,9 @@ ...@@ -503,7 +501,9 @@
cursor: pointer; cursor: pointer;
background: #FFFFFF; background: #FFFFFF;
} }
.downloadBox ul li:hover {
font-weight: bold;
}
.download { .download {
background: url(https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/tableDownload.png) no-repeat left center; background: url(https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/tableDownload.png) no-repeat left center;
} }
...@@ -838,7 +838,7 @@ ...@@ -838,7 +838,7 @@
<!-- 工具栏 --> <!-- 工具栏 -->
<div class="toolbar2"> <div class="toolbar2">
<div class="toolbar-left"> <div class="toolbar-left">
<label><input type="checkbox" id="all_1" onclick="selectAll(1);">全选</label> <label><input type="checkbox" id="all_1" style="margin-right: 5px;" onclick="selectAll(1);">全选</label>
<span>本次查询时间:20250901-20260428</span> <span>本次查询时间:20250901-20260428</span>
</div> </div>
<div id="rightType"> <div id="rightType">
...@@ -860,7 +860,7 @@ ...@@ -860,7 +860,7 @@
<div class="tableLBtn_active"> <div class="tableLBtn_active">
<a href="#" class="tableRBtn download">下载全部</a> <a href="#" class="tableRBtn download">下载全部</a>
</div> </div>
<div class="downloadBox" style="left: 0;"> <div class="downloadBox" style="right: 0;">
<ul> <ul>
<li onclick="submitSelect('0','1')" class="firstLi">Txt下载</li> <li onclick="submitSelect('0','1')" class="firstLi">Txt下载</li>
<li onclick="submitSelect('0','2')">Excel下载</li> <li onclick="submitSelect('0','2')">Excel下载</li>
...@@ -869,31 +869,6 @@ ...@@ -869,31 +869,6 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="tableLBtn_box">
<div class="tableLBtn_active">
<a href="#" class="tableRBtn download">下载其他格式</a>
</div>
<div class="downloadBox" style="left: 0;">
<ul>
<li class="firstLi">网银Txt</li>
<li>网银Excel</li>
<li>网银Csv</li>
<li>现金Txt</li>
<li>现金Excel</li>
</ul>
</div>
</div>
<div class="tableLBtn_box">
<div class="tableLBtn_active">
<a href="#" class="tableRBtn print">打印</a>
</div>
<div class="downloadBox" style="right: 0;">
<ul>
<li onclick="printPage('1')" class="firstLi">网页打印</li>
<li onclick="printPage('2')">PDF打印</li>
</ul>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -944,7 +919,7 @@ window.addEventListener('load', () => { ...@@ -944,7 +919,7 @@ window.addEventListener('load', () => {
}, '*'); }, '*');
}); });
let table = document.getElementById("resultTable"); let table = document.getElementById("resultTable");
table.style.width = "1145px"; // table.style.width = "1145px";
table.style.tableLayout = "fixed"; // 关键! table.style.tableLayout = "fixed"; // 关键!
let CURRENT_ROWS = []; let CURRENT_ROWS = [];
let CURRENT_RANGE = { from: '', to: '' }; let CURRENT_RANGE = { from: '', to: '' };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment