-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbill_list.html
199 lines (179 loc) · 8.89 KB
/
bill_list.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="./css/libs/mdb.min.css">
<link rel="stylesheet" href="./css/libs/jquery.mCustomScrollbar.min.css">
<link rel="stylesheet" href="./css/bill_list.css">
<script type="application/javascript" src="./js/libs/jquery-3.5.1.min.js"></script>
<script type="application/javascript" src="./js/libs/bootstrap.bundle.min.js"></script>
<script type="application/javascript" src="./js/libs/mdb.min.js"></script>
<script src="./js/libs/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="./js/mainpage.js"></script>
<script type="text/javascript" src="js/libs/sjcl.js"></script>
<script type="text/javascript" src="js/platform.js"></script>
<script type="text/javascript" src="js/crypto.js"></script>
<script type="text/javascript" src="js/set_subpwd.js"></script>
<script type="text/javascript" src="js/globals.js"></script>
<script src='./js/bill_list.js'></script>
<script src="./js/utils.js"></script>
<script src="./js/datajson_read.js"></script>
<script src="./js/datajson_write.js"></script>
<script src='./js/data_producer.js'></script>
<title>
content
</title>
<style>
</style>
<script>
$(function () {
var obFilter = new ob(
);
var start_time=new Date();
start_time.setHours(0);
start_time.setMinutes(0);
start_time.setSeconds(0);
start_time.setMilliseconds(0);
var end_time=new Date();
end_time.setMinutes(59)
end_time.setSeconds(59);
end_time.setMilliseconds(999);
obFilter.time=[start_time,end_time];
$('a#add-bill').click(_ => {
window.location.href = 'bill_add.html';
});
$('a#show-chart').click(_ => {
window.location.href = 'doughnut_chart.html';
});
$('a#export').click(_ => {
window.location.href = 'file_export.html';
});
updateElementListIn($('#page1'),billFilter(produce(),obFilter),card);
updateAccountList($('#otherSections'));
});
</script>
<!-- //page change
// $(document).ready(function () {
// $('a.nav-link').click(function () {
// var page_index = $(this).parent().index() - 1;
// switch (page_index) {
// case 0:
// $('#page1').addClass('cur-page').removeClass('ncur-page');
// $('#page1').siblings().removeClass('cur-page').addClass('ncur-page');
// break;
// case 1:
// $('#page2').addClass('cur-page').removeClass('ncur-page');
// $('#page2').siblings().removeClass('cur-page').addClass('ncur-page');
// break;
// case 2:
// $('#page3').addClass('cur-page').removeClass('ncur-page');
// $('#page3').siblings().removeClass('cur-page').addClass('ncur-page');
// break;
// case 3:
// $('#page4').addClass('cur-page').removeClass('ncur-page');
// $('#page4').siblings().removeClass('cur-page').addClass('ncur-page');
// break;
// };
// $(this).addClass("active").siblings().removeClass('active');
// })
// }); -->
</head>
<body>
<!-- Wrapper -->
<div class="wrapper">
<!--S Sidebar -->
<nav class="sidebar">
<div class="ml-4" style="width: 8em;height: 8em;text-align: center;line-height: 8em;"><span
style="font-size: 50px;font-family:Arial, Helvetica, sans-serif ;">Zebra</span></div>
<!-- S close sidebar menu -->
<div class="dismiss">
<svg class="bi bi-arrow-left" width="2em" height="2em" viewBox="0 0 16 16" fill="currentColor">
<path fill-rule="evenodd"
d="M5.854 4.646a.5.5 0 0 1 0 .708L3.207 8l2.647 2.646a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 0 1 .708 0z" />
<path fill-rule="evenodd" d="M2.5 8a.5.5 0 0 1 .5-.5h10.5a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z" />
</svg>
</div>
<!-- E close sidebar menu -->
<ul class="list-unstyled menu-elements">
<li>
<a id='show-chart'>图表</a>
</li>
<li>
<a id="water" href="bill_waters.html">流水</a>
</li>
<li>
<a id='set-subpwd' href='set_subpwd.html'>设置图案密码</a>
</li>
<li>
<a id="export">导出</a>
</li>
<li>
<a href="" data-toggle="collapse" class="dropdown-toggle" role="button" data-target="#otherSections">
账户
</a>
<ul class="collapse list-unstyled" id="otherSections">
</ul>
</li>
</ul>
<!-- <div class="dark-light-buttons">
<a class="btn btn-primary btn-customized-4 btn-customized-dark" href="#" role="button">Dark</a>
<a class="btn btn-primary btn-customized-4 btn-customized-light" href="#" role="button">Light</a>
</div> -->
</nav>
<!-- E sidebar -->
<div class="overlay"></div>
<div class="fixed-top">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<!--S open sidebar menu -->
<a class="open-menu pl-2" type="button" data-toggle="collapse"
data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent"
aria-expanded="false" aria-label="Toggle navigation">
<svg t="1603875674150" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="20570" width="32" height="32">
<path
d="M128 256h768v85.333333H128V256m0 213.333333h768v85.333334H128v-85.333334m0 213.333334h768v85.333333H128v-85.333333z"
fill="#1296db" p-id="20571"></path>
</svg>
</a>
<!--E open sidebar menu -->
<div class="nav-item">
<a class="pr-2" href="#"><svg class="bi bi-calendar3" width="1em" height="1em" viewBox="0 0 16 16"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z" />
<path fill-rule="evenodd"
d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z" />
</svg>今日账单</a>
</div>
<!-- <div class="nav-item">
<a class="nav-link" href="#">page2</a>
</div>
<div class="nav-item">
<a class="nav-link" href="#">page3</a>
</div> -->
</nav>
</div>
<!-- S NewRecordButton -->
<a id="add-bill" class="fixed-button rounded-circle">
<svg t="1603884170371" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
p-id="20804" width="64" height="64">
<path
d="M810.666667 554.666667h-256v256h-85.333334v-256H213.333333v-85.333334h256V213.333333h85.333334v256h256v85.333334z"
fill="#ffffff" p-id="20805"></path>
</svg>
</a>
<!-- S main content -->
<div class="container-fluid" style="margin-top: 4em;">
<div id="page1" class="page cur-page">
</div>
<div id="page2" class="page ncur-page"></div>
<div id="page3" class="page ncur-page">page3</div>
<div id="page4" class="page ncur-page">page4</div>
</div>
<!-- E main content -->
<div class="d-block" style="visibility: hidden;height: 5em;">
</div>
</div>
</body>
</html>