bc810a1e by 任超

feat:在线缴费

1 parent 3053da5f
...@@ -22,9 +22,12 @@ $(function () { ...@@ -22,9 +22,12 @@ $(function () {
22 , parseData: function (res) { //将原始数据解析成 table 组件所规定的数据 22 , parseData: function (res) { //将原始数据解析成 table 组件所规定的数据
23 return { 23 return {
24 "code": res.code, //解析接口状态 24 "code": res.code, //解析接口状态
25 "data": res.data //解析数据列表 25 "data": res.data ,//解析数据列表
26 "count": res.count
26 }; 27 };
27 } 28 }
29 ,page: true
30 ,limit: 10 //
28 }); 31 });
29 // 线下支付记录查询 32 // 线下支付记录查询
30 table.render({ 33 table.render({
...@@ -43,9 +46,12 @@ $(function () { ...@@ -43,9 +46,12 @@ $(function () {
43 , parseData: function (res) { //将原始数据解析成 table 组件所规定的数据 46 , parseData: function (res) { //将原始数据解析成 table 组件所规定的数据
44 return { 47 return {
45 "code": res.code, //解析接口状态 48 "code": res.code, //解析接口状态
46 "data": res.data //解析数据列表 49 "data": res.data,//解析数据列表
50 "count": res.count
47 }; 51 };
48 } 52 }
53 ,page: true
54 ,limit: 10 //
49 }); 55 });
50 //监听行工具事件 56 //监听行工具事件
51 table.on('tool(payList)', function (obj) { 57 table.on('tool(payList)', function (obj) {
......
...@@ -34,4 +34,7 @@ ...@@ -34,4 +34,7 @@
34 } 34 }
35 .unpayed { 35 .unpayed {
36 color: #FF5722; 36 color: #FF5722;
37 }
38 .layui-laypage .layui-laypage-curr .layui-laypage-em {
39 background-color: #1E9FFF;
37 } 40 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "code": 0, 2 "code": 0,
3 "msg": "", 3 "msg": "",
4 "count": 1000, 4 "count": 13,
5 "data": [ 5 "data": [
6 { 6 {
7 "username": "user-0", 7 "username": "user-0",
...@@ -38,6 +38,90 @@ ...@@ -38,6 +38,90 @@
38 "classify": "酱油", 38 "classify": "酱油",
39 "score": 31, 39 "score": 31,
40 "state": 0 40 "state": 0
41 },
42 {
43 "username": "user-2",
44 "sex": "女",
45 "city": "城市-2",
46 "sign": "签名-2",
47 "experience": 650,
48 "logins": 77,
49 "wealth": 6298078,
50 "classify": "酱油",
51 "score": 31,
52 "state": 0
53 },
54 {
55 "username": "user-2",
56 "sex": "女",
57 "city": "城市-2",
58 "sign": "签名-2",
59 "experience": 650,
60 "logins": 77,
61 "wealth": 6298078,
62 "classify": "酱油",
63 "score": 31,
64 "state": 0
65 },
66 {
67 "username": "user-2",
68 "sex": "女",
69 "city": "城市-2",
70 "sign": "签名-2",
71 "experience": 650,
72 "logins": 77,
73 "wealth": 6298078,
74 "classify": "酱油",
75 "score": 31,
76 "state": 0
77 },
78 {
79 "username": "user-2",
80 "sex": "女",
81 "city": "城市-2",
82 "sign": "签名-2",
83 "experience": 650,
84 "logins": 77,
85 "wealth": 6298078,
86 "classify": "酱油",
87 "score": 31,
88 "state": 0
89 },
90 {
91 "username": "user-2",
92 "sex": "女",
93 "city": "城市-2",
94 "sign": "签名-2",
95 "experience": 650,
96 "logins": 77,
97 "wealth": 6298078,
98 "classify": "酱油",
99 "score": 31,
100 "state": 0
101 },
102 {
103 "username": "user-2",
104 "sex": "女",
105 "city": "城市-2",
106 "sign": "签名-2",
107 "experience": 650,
108 "logins": 77,
109 "wealth": 6298078,
110 "classify": "酱油",
111 "score": 31,
112 "state": 0
113 },
114 {
115 "username": "user-2",
116 "sex": "女",
117 "city": "城市-2",
118 "sign": "签名-2",
119 "experience": 650,
120 "logins": 77,
121 "wealth": 6298078,
122 "classify": "酱油",
123 "score": 31,
124 "state": 0
41 } 125 }
42 ] 126 ]
43 } 127 }
...\ No newline at end of file ...\ No newline at end of file
......