完善页面

v1.0
bobi 2019-05-16 09:06:48 +08:00
parent 8590b345c9
commit 0692b30850
8 changed files with 62 additions and 4 deletions

View File

@ -76,7 +76,7 @@
<i class="iconfont icon-xiazai"></i> 下载中心
</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;" path="pages/message/download.html" tab-id="4-1"><i class="iconfont icon-xiazai"></i> 下载列表</a></dd>
<dd><a href="javascript:;" path="pages/download/download.html" tab-id="4-1"><i class="iconfont icon-xiazai"></i> 下载列表</a></dd>
</dl>
</li>
<li class="layui-nav-item">

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>下载列表</title>
</head>
<body>
<h1>下载列表</h1>
</body>
</html>

10
pages/link/link.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>链接列表</title>
</head>
<body>
<h1>链接列表</h1>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>留言列表</title>
</head>
<body>
<h1>留言列表</h1>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>产品列表</title>
</head>
<body>
<h1>产品列表</h1>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>日志详情</title>
</head>
<body>
<h1>日志详情</h1>
</body>
</html>

View File

@ -97,6 +97,9 @@
case "del":
del(data.id);
break;
case "detail":
detail(data.id);
break;
}
});
@ -114,6 +117,10 @@
}
});
}
function detail (id) {
okLayer.open("日志详情", "system-log-detail.html?id=" + id, "90%", "90%")
}
function del (id) {
okLayer.confirm("确定要删除吗?", function () {
@ -139,7 +146,8 @@
</script>
<!-- 行工具栏模板 -->
<script type="text/html" id="operationTpl">
<a href="javascript:;" title="删除" lay-event="del"><i class="layui-icon">&#xe640;</i></a>
<a href="javascript:;" title="详情" lay-event="detail"><i class="layui-icon layui-icon-tips"></i></a>
<a href="javascript:;" title="删除" lay-event="del"><i class="layui-icon layui-icon-delete"></i></a>
</script>
</body>
</html>

View File

@ -60,9 +60,9 @@ okLayer.confirm("确定要批量删除吗?", function (index) {
* @param content 内容url
* @param width 弹窗宽度
* @param height 弹窗高度
* @param isRefreshTable 是否刷新表格
* @param function 回调函数
*/
okLayer.open("添加用户", "user-add.html", "90%", "90%", true)
okLayer.open("添加用户", "user-add.html", "90%", "90%", function() {})
</pre>
</div>
<!--js逻辑-->