-精简HTML结构,优化`account.html`,`apple-card/account.html`,和`t-mall-game/account.html`中iframe的布局。 - 调整CSS样式,以增强用户界面的一致性和可读性。 - 优化`account_history.html`中的表格和搜索栏的样式与对齐。 fix(controller): 修正新增控制器参数顺序 - 修正`addController.go`中的参数顺序,确保交易类型正确传递给服务层。 - 更新数据库插入操作,确保UUID正确分配给新记录,防止SQL错误。
75 lines
2.0 KiB
HTML
75 lines
2.0 KiB
HTML
<!doctype html>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>商戶后台</title>
|
|
<link href="../static/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
|
<script src="../static/js/jquery.min.js"></script>
|
|
<script src="../static/js/jquery.min.js"></script>
|
|
<script src="../static/lib/bootstrap/js/bootstrap.min.js"></script>
|
|
<style>
|
|
.self-tabs {
|
|
margin-left: 1px;
|
|
margin-right: 1px;
|
|
text-align: center;
|
|
}
|
|
|
|
.first-menu-html, .second-menu-html {
|
|
height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.first-menu-html, .second-menu-html:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.first-menu-html {
|
|
border: 1px solid #d3d3d3;
|
|
border-radius: 2px;
|
|
margin-bottom: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container-fluid">
|
|
<div class="row self-tabs">
|
|
<div class="col-md-6 first-menu-html">
|
|
一级菜单管理
|
|
</div>
|
|
|
|
<div class="col-md-6 second-menu-html">
|
|
二级菜单管理
|
|
</div>
|
|
</div>
|
|
<div class="menu-content-html">
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
function clickFirstMenuHtml() {
|
|
$(".first-menu-html").css('background-color', 'skyblue');
|
|
$(".second-menu-html").css('background-color', 'white');
|
|
$(".menu-content-html").load("/jhboss/first_menu.html");
|
|
}
|
|
|
|
function clickSecondMenuHtml() {
|
|
$(".second-menu-html").css('background-color', 'skyblue');
|
|
$(".first-menu-html").css('background-color', 'white');
|
|
$(".menu-content-html").load("/jhboss/second_menu.html");
|
|
}
|
|
|
|
//默认打开的是一级菜单管理页面
|
|
$(function () {
|
|
clickFirstMenuHtml();
|
|
});
|
|
$(".first-menu-html").click(function () {
|
|
clickFirstMenuHtml();
|
|
});
|
|
$(".second-menu-html").click(function () {
|
|
clickSecondMenuHtml();
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |