-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (96 loc) · 2.41 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>李扬故事汇后台管理系统</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="shortcut icon" href="img/icon.png" type="image/x-icon" />
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/comment.css" />
<script src="js/jquery-1.9.1.min.js"></script>
<script src="layui/layui.all.js"></script>
<script src="js/vue.min.js"></script>
<script src="js/comment.js"></script>
<style type="text/css">
.index_nav li {
width: 33% !important;
}
.index_nav .icon {
height: 90px !important;
}
</style>
</head>
<body>
<div class="KJYBOX">
<div class="index">
<div class="indexbg">
<ul class="index_nav">
<li>
<div class="index-list">
<div class="icon songicon"></div>
<div class="tabtext">
<p>曲目</p>
<p>({{melodyCount}})</p>
</div>
</div>
</li>
<!--<li>
<div class="index-list">
<div class="icon classifyicon"></div>
<div class="tabtext">
<p>分类</p>
<p>({{classificationCount}})</p>
</div>
</div>
</li>-->
<li>
<div class="index-list">
<div class="icon albumicon"></div>
<div class="tabtext">
<p>专辑</p>
<p>({{albumCount}})</p>
</div>
</div>
</li>
<li>
<div class="index-list">
<div class="icon usericon"></div>
<div class="tabtext">
<p>用户</p>
<p>({{accountCount}})</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</body>
<script>
var paras = {
melodyCount: "",
classificationCount: "",
albumCount: "",
accountCount: ""
}
loadvue(paras);
function loaddata() {
var paras = {};
paras = JSON.stringify(paras);
crequest('POST', 'mainpage/query.do', 1, paras, function(res) {
setData.melodyCount = res.data.melodyCount;
setData.classificationCount = res.data.classificationCount;
setData.albumCount = res.data.albumCount;
setData.accountCount = res.data.accountCount;
judedatalen()
}, function() {
layer.msg("首页加载失败");
})
}
loaddata();
</script>
</html>