Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildbank-replica
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚珂
buildbank-replica
Commits
4a1dc705
Commit
4a1dc705
authored
Apr 30, 2026
by
何波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
b2ba76a1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
24 deletions
+50
-24
account.html
account.html
+50
-24
account_balance.html
account_balance.html
+0
-0
No files found.
account.html
View file @
4a1dc705
...
@@ -173,6 +173,9 @@
...
@@ -173,6 +173,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
;
}
}
...
@@ -262,9 +265,6 @@
...
@@ -262,9 +265,6 @@
padding
:
0
;
padding
:
0
;
border
:
0
;
border
:
0
;
}
}
tr
td
.checkbox
{
margin-left
:
15px
;
}
.tableList
tr
td
{
.tableList
tr
td
{
overflow
:
hidden
;
overflow
:
hidden
;
height
:
35px
;
height
:
35px
;
...
@@ -314,6 +314,9 @@
...
@@ -314,6 +314,9 @@
align-items
:
center
;
align-items
:
center
;
gap
:
4px
;
gap
:
4px
;
}
}
.tableListBody
:hover
{
background-color
:
#ebf4fb
;
}
.lineLeft
{
.lineLeft
{
float
:
left
;
float
:
left
;
margin-right
:
20px
;
margin-right
:
20px
;
...
@@ -384,6 +387,9 @@
...
@@ -384,6 +387,9 @@
vertical-align
:
middle
;
vertical-align
:
middle
;
border-radius
:
5px
;
border-radius
:
5px
;
}
}
.btn-group
button
:hover
{
background-color
:
#229EE6
;
}
/* 温馨提示 */
/* 温馨提示 */
.tips-section
{
.tips-section
{
padding
:
0
10px
10px
10px
;
padding
:
0
10px
10px
10px
;
...
@@ -438,7 +444,8 @@
...
@@ -438,7 +444,8 @@
}
}
.ths
,
.tds
{
.ths
,
.tds
{
border
:
1px
solid
#000
;
color
:
#000
!important
;
border
:
1px
solid
#000
!important
;
padding
:
4px
;
padding
:
4px
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
normal
;
font-weight
:
normal
;
...
@@ -1159,11 +1166,12 @@
...
@@ -1159,11 +1166,12 @@
<td
nowrap=
""
><a
id=
"td10"
style=
"cursor: pointer;width: 173.05px;"
"
>
开户机构
<img
class=
"sortImgClass"
src=
"https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/sortNo.png"
style=
"vertical-align:text-bottom;_vertical-align:middle;margin-left:3px;"
></a></td>
<td
nowrap=
""
><a
id=
"td10"
style=
"cursor: pointer;width: 173.05px;"
"
>
开户机构
<img
class=
"sortImgClass"
src=
"https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/sortNo.png"
style=
"vertical-align:text-bottom;_vertical-align:middle;margin-left:3px;"
></a></td>
<td
nowrap=
""
style=
"display:none;"
><a
id=
"td11"
style=
"cursor: pointer;"
>
历史余额
<img
class=
"sortImgClass"
src=
"https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/sortNo.png"
style=
"vertical-align:text-bottom;_vertical-align:middle;margin-left:3px;"
></a></td>
<td
nowrap=
""
style=
"display:none;"
><a
id=
"td11"
style=
"cursor: pointer;"
>
历史余额
<img
class=
"sortImgClass"
src=
"https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/sortNo.png"
style=
"vertical-align:text-bottom;_vertical-align:middle;margin-left:3px;"
></a></td>
<td
nowrap=
""
style=
"display:none;"
><a
id=
"td12"
style=
"cursor: pointer;"
>
历史查询时间
<img
class=
"sortImgClass"
src=
"https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/sortNo.png"
style=
"vertical-align:text-bottom;_vertical-align:middle;margin-left:3px;"
></a></td>
<td
nowrap=
""
style=
"display:none;"
><a
id=
"td12"
style=
"cursor: pointer;"
>
历史查询时间
<img
class=
"sortImgClass"
src=
"https://xc.b2bstatic3.ccb.com/V6/STY6/CN/images7/sortNo.png"
style=
"vertical-align:text-bottom;_vertical-align:middle;margin-left:3px;"
></a></td>
<td
nowrap=
""
style=
"width: 26.52px;"
><a
id=
"showOrHideTableBtn"
onclick=
"setShowOrHideRsTable();parent.iFrameHeight();"
class=
"tableLink"
>
>>
</a></td>
<!-- <td nowrap="" style="width: 26.52px;"><a id="showOrHideTableBtn" onclick="setShowOrHideRsTable();parent.iFrameHeight();" class="tableLink">>></a></td> -->
<td
nowrap=
""
style=
"width: 26.52px;"
><a
id=
"showOrHideTableBtn"
class=
"tableLink"
>
>>
</a></td>
</tr>
</tr>
<tr
onmouseover=
"tdOver(this)"
onmouseout=
"tdOut(this)"
class=
"tableListBody"
>
<tr
class=
"tableListBody"
>
<td><input
type=
"checkbox"
id=
"acc_42050123704500001941@156"
class=
"row-checkbox"
name=
"ACC_NO"
value=
"42050123704500001941@中科软盈(武汉)科技有限公司@中国建设银行股份有限公司武汉南湖大道支行@420237045@1@156@202004"
class=
"checkbox
"
bankcode=
"202004"
></td>
<td><input
type=
"checkbox"
id=
"acc_42050123704500001941@156"
class=
"row-checkbox"
name=
"ACC_NO"
value=
"42050123704500001941@中科软盈(武汉)科技有限公司@中国建设银行股份有限公司武汉南湖大道支行@420237045@1@156@202004"
style=
"margin-left: 15px;
"
bankcode=
"202004"
></td>
<td
onclick=
"onAccount(
1
)"
><a
href=
"#"
>
42050123704500001941
</a>
</td>
<td
onclick=
"onAccount(
0
)"
><a
href=
"#"
>
42050123704500001941
</a>
</td>
<td
class=
"txtLeft fzWord"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
中科软盈(武汉)科技有限公司
</td>
<td
class=
"txtLeft fzWord"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
中科软盈(武汉)科技有限公司
</td>
<td
nowrap=
""
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
人民币元
</td>
<td
nowrap=
""
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
人民币元
</td>
<td
nowrap=
""
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
中国建设银行
</td>
<td
nowrap=
""
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
中国建设银行
</td>
...
@@ -1173,15 +1181,13 @@
...
@@ -1173,15 +1181,13 @@
<td
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
class=
"table_center"
>
钞
</td>
<td
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
class=
"table_center"
>
钞
</td>
<td
class=
"fzWord"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
class=
"table_center"
>
-
</td>
<td
class=
"fzWord"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
class=
"table_center"
>
-
</td>
<td
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
class=
"table_center"
>
中国建设银行股份有限公司武汉南湖大道支行
</td>
<td
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
class=
"table_center"
>
中国建设银行股份有限公司武汉南湖大道支行
</td>
<td
style=
"display:none;"
class=
"txtRight"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
<td
style=
"display:none;"
class=
"txtRight"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
></td>
775,342.62
</td>
<td
style=
"display:none;"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
2026-04-29
<br>
11:01:15
</td>
<td
style=
"display:none;"
onclick=
"balanceQuery('42050123704500001941@420237045@1@156@202004')"
>
2026-04-29
<br>
11:01:15
</td>
<td>
</td>
<td>
</td>
</tr>
</tr>
<tr
style=
"display:none"
id=
"queryProcess"
class=
" tableListTr"
>
<tr
style=
"display:none"
id=
"queryProcess"
class=
" tableListTr"
>
<td
colspan=
"13"
class=
"table_left"
>
<td
colspan=
"13"
class=
"table_left"
>
<
div
id=
"queryProcessDiv"
>
正在进行余额查询,请稍候
<img
src=
"/V6/STY3/CN/images6/NCCB_jd2.gif"
></div
>
<
!-- <div id="queryProcessDiv">正在进行余额查询,请稍候<img src="https://xc.b2bstatic3.ccb.com/V6/STY3/CN/images6/NCCB_jd2.gif"></div> --
>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -1258,7 +1264,7 @@
...
@@ -1258,7 +1264,7 @@
<p>
2. 实时余额查询支持同时50个账户。
</p>
<p>
2. 实时余额查询支持同时50个账户。
</p>
<p>
3. 历史余额、明细查询支持5个以内账户同时查询并实时返回查询结果,5个以上将通过批量方式查询下载。
</p>
<p>
3. 历史余额、明细查询支持5个以内账户同时查询并实时返回查询结果,5个以上将通过批量方式查询下载。
</p>
<p>
4. 本日首次登录时,历史余额栏位为系统自动于本日零点查询的账户余额;本日非首次查询余额,历史余额显示上次查询的余额信息。
</p>
<p>
4. 本日首次登录时,历史余额栏位为系统自动于本日零点查询的账户余额;本日非首次查询余额,历史余额显示上次查询的余额信息。
</p>
<p>
5. 若您的签约/授权账户变动未及时体现在账户列表中,请点击此处
<a
href=
"#"
>
刷新
</a>
。
</p>
<p>
5. 若您的签约/授权账户变动未及时体现在账户列表中,请点击此处
<a
href=
"#"
onclick=
"window.location.reload()"
>
刷新
</a>
。
</p>
</div>
</div>
<div
id=
"pdfArea"
>
<div
id=
"pdfArea"
>
<div
class=
"title"
>
活期账户列表信息
</div>
<div
class=
"title"
>
活期账户列表信息
</div>
...
@@ -1306,19 +1312,42 @@
...
@@ -1306,19 +1312,42 @@
</html>
</html>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"
></script>
<script>
<script>
function
onAccount
(
number
){
// function onAccount(number){
if
(
number
==
1
){
// if(number == 1){
// window.location.href = './account_info.html'
// }
// if(number == 2){
// window.location.href = './account_balance.html'
// }
// if(number == 3){
// window.location.href = './account_detail.html'
// }
// if(number == 4){
// window.location.href = './history_query.html'
// }
// }
function
onAccount
(
number
)
{
if
(
number
==
0
)
{
window
.
location
.
href
=
'./account_balance.html'
}
else
{
var
checkedList
=
document
.
querySelectorAll
(
'.row-checkbox:checked'
);
if
(
checkedList
.
length
===
0
)
{
alert
(
'请先勾选账户'
);
return
;
}
if
(
number
==
1
)
{
window
.
location
.
href
=
'./account_info.html'
window
.
location
.
href
=
'./account_info.html'
}
}
if
(
number
==
2
)
{
if
(
number
==
2
)
{
window
.
location
.
href
=
'./account_balance.html'
window
.
location
.
href
=
'./account_balance.html'
}
}
if
(
number
==
3
)
{
if
(
number
==
3
)
{
window
.
location
.
href
=
'./account_detail.html'
window
.
location
.
href
=
'./account_detail.html'
}
}
if
(
number
==
4
)
{
if
(
number
==
4
)
{
window
.
location
.
href
=
'./history_query.html'
window
.
location
.
href
=
'./history_query.html'
}
}
}
}
}
function
openFilter
(
element
)
{
function
openFilter
(
element
)
{
var
isChecked
=
element
.
checked
;
var
isChecked
=
element
.
checked
;
...
@@ -1385,8 +1414,8 @@ function balanceQuery(strAccno) {
...
@@ -1385,8 +1414,8 @@ function balanceQuery(strAccno) {
if
(
balanceValue
==
'<FONT color=gray>点击查询</FONT>'
||
balanceValue
==
'<font color="gray">点击查询</font>'
||
balanceValue
==
' '
){
if
(
balanceValue
==
'<FONT color=gray>点击查询</FONT>'
||
balanceValue
==
'<font color="gray">点击查询</font>'
||
balanceValue
==
' '
){
// document.getElementById("queryProcess").style.display="";
// document.getElementById("queryProcess").style.display="";
// document.getElementById("queryProcessDiv").innerHTML='正在进行余额查询,请稍候
<
img
src
=
"/V6/STY3/CN/images6/NCCB_jd2.gif"
>
';
// document.getElementById("queryProcessDiv").innerHTML='正在进行余额查询,请稍候
<
img
src
=
"/V6/STY3/CN/images6/NCCB_jd2.gif"
>
';
document.getElementById('
balance_
'+checkedAccno).innerHTML='
775342.62
';
document.getElementById('
balance_
'+checkedAccno).innerHTML='
775
,
342.62
';
document.getElementById('
bookBalance_
'+checkedAccno).innerHTML='
775342.62
';
document.getElementById('
bookBalance_
'+checkedAccno).innerHTML='
775
,
342.62
';
}
}
}
}
// 获取表头行元素
// 获取表头行元素
...
@@ -1505,9 +1534,6 @@ document.querySelectorAll('.downloadBox li').forEach((el, index) => {
...
@@ -1505,9 +1534,6 @@ document.querySelectorAll('.downloadBox li').forEach((el, index) => {
});
});
});
});
function submitSelect(scope, type) {
function submitSelect(scope, type) {
console.log(type,'
type
');
// scope: 0 当前页 / 1 全部(你可以扩展)
// type: 1 txt 2 excel 3 csv 4 pdf
var data = getTableData();
var data = getTableData();
switch (type) {
switch (type) {
case '
1
':
case '
1
':
...
@@ -1660,7 +1686,7 @@ function downloadExcel(list) {
...
@@ -1660,7 +1686,7 @@ function downloadExcel(list) {
const isNumber = /^-?
\
d+(
\
.
\
d+)?$/.test(val);
const isNumber = /^-?
\
d+(
\
.
\
d+)?$/.test(val);
ws[cellRef] = {
ws[cellRef] = {
v: val,
v: val,
t:
isNumber ? "n" :
"s", // ✅ 数字 or 字符串
t: "s", // ✅ 数字 or 字符串
s: {
s: {
font: baseFont,
font: baseFont,
alignment: { horizontal: "left", vertical: "center" }
alignment: { horizontal: "left", vertical: "center" }
...
...
account_balance.html
View file @
4a1dc705
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment