修复一些交互问题

This commit is contained in:
技术老胡 2025-06-03 11:41:16 +08:00
parent 5826a7f6e1
commit 5b69aded08
2 changed files with 15 additions and 4 deletions

View File

@ -113,7 +113,7 @@
</a></li> </a></li>
<?php }else{ ?> <?php }else{ ?>
<li><a href="/User/login" class="a-head-btn bdr-5 bg-color-white">登录</a></li> <li><a href="/User/login" class="a-head-btn bdr-5 bg-color-white">登录</a></li>
<li><a href="/" class="a-head-btn bdr-5 bg-color-0055ff">注册</a></li> <!-- <li><a href="/" class="a-head-btn bdr-5 bg-color-0055ff">注册</a></li> -->
<?php } ?> <?php } ?>
</ul> </ul>
</div> </div>
@ -127,7 +127,7 @@
<div class="title-heading mt-4"> <div class="title-heading mt-4">
<h1 class="heading mb-3">码支付<small class="text-success" style="font-size: 50%"> <h1 class="heading mb-3">码支付<small class="text-success" style="font-size: 50%">
[ˈheɪloʊ]</small></h1> [ˈheɪloʊ]</small></h1>
<p class="para-desc text-muted">源支付,扫码支付,免签支付,聚合支付,码支付免签约,聚合支付平台</p> <p class="para-desc text-muted">基于易支付接口开发的免签收款工具,方便个人在线收款</p>
<div class="mt-4 pt-2"> <div class="mt-4 pt-2">
<a href="/User/login" class="btn btn-primary mr-2"><svg xmlns="http://www.w3.org/2000/svg" <a href="/User/login" class="btn btn-primary mr-2"><svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img"
@ -322,7 +322,7 @@
document.write(new Date().getFullYear()); document.write(new Date().getFullYear());
</script>2024 <a href="/">码支付</a> - All </script>2024 <a href="/">码支付</a> - All
rights reserved<span class="sep"> | </span><a href="https://beian.miit.gov.cn/" rights reserved<span class="sep"> | </span><a href="https://beian.miit.gov.cn/"
target="_blank" rel="noreferrer nofollow">湘ICP备2023031541号-2</a> target="_blank" rel="noreferrer nofollow">湘ICP备********号</a>
</p> </p>
</div> </div>
</div> </div>

View File

@ -250,7 +250,7 @@
account.channelList(id); account.channelList(id);
break; break;
case 3: case 3:
alert('收款统计'); account.tradeList(id);
break; break;
case 4: case 4:
account.orderList(id); account.orderList(id);
@ -270,6 +270,17 @@
content: `/PayManage/editAccount?id=${id}`, content: `/PayManage/editAccount?id=${id}`,
}); });
} }
// 收款统计
account.tradeList = function (aid) {
// 先尝试关闭已存在的标签
if (parent.layui.tab) {
parent.layui.tab.delTabByElem('content', 'payStatistics');
}
// 重新打开标签
parent.layui.tab.addTabOnlyByElem('content',
{ id: 'payStatistics', title: '收款统计', url: `/PayManage/payStatistics`, close: true }
)
}
// 终端列表 // 终端列表
account.orderList = function (aid) { account.orderList = function (aid) {
// 先尝试关闭已存在的标签 // 先尝试关闭已存在的标签