Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bc810a1e
authored
2020-11-06 11:39:53 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:在线缴费
1 parent
3053da5f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
3 deletions
staticJs/zxjf.js
staticViews/zxjf/css/index.css
staticViews/zxjf/lib/index.json
staticJs/zxjf.js
View file @
bc810a1
...
...
@@ -22,9 +22,12 @@ $(function () {
,
parseData
:
function
(
res
)
{
//将原始数据解析成 table 组件所规定的数据
return
{
"code"
:
res
.
code
,
//解析接口状态
"data"
:
res
.
data
//解析数据列表
"data"
:
res
.
data
,
//解析数据列表
"count"
:
res
.
count
};
}
,
page
:
true
,
limit
:
10
//
});
// 线下支付记录查询
table
.
render
({
...
...
@@ -43,9 +46,12 @@ $(function () {
,
parseData
:
function
(
res
)
{
//将原始数据解析成 table 组件所规定的数据
return
{
"code"
:
res
.
code
,
//解析接口状态
"data"
:
res
.
data
//解析数据列表
"data"
:
res
.
data
,
//解析数据列表
"count"
:
res
.
count
};
}
,
page
:
true
,
limit
:
10
//
});
//监听行工具事件
table
.
on
(
'tool(payList)'
,
function
(
obj
)
{
...
...
staticViews/zxjf/css/index.css
View file @
bc810a1
...
...
@@ -34,4 +34,7 @@
}
.unpayed
{
color
:
#FF5722
;
}
.layui-laypage
.layui-laypage-curr
.layui-laypage-em
{
background-color
:
#1E9FFF
;
}
\ No newline at end of file
...
...
staticViews/zxjf/lib/index.json
View file @
bc810a1
{
"code"
:
0
,
"msg"
:
""
,
"count"
:
1
000
,
"count"
:
1
3
,
"data"
:
[
{
"username"
:
"user-0"
,
...
...
@@ -38,6 +38,90 @@
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
},
{
"username"
:
"user-2"
,
"sex"
:
"女"
,
"city"
:
"城市-2"
,
"sign"
:
"签名-2"
,
"experience"
:
650
,
"logins"
:
77
,
"wealth"
:
6298078
,
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
},
{
"username"
:
"user-2"
,
"sex"
:
"女"
,
"city"
:
"城市-2"
,
"sign"
:
"签名-2"
,
"experience"
:
650
,
"logins"
:
77
,
"wealth"
:
6298078
,
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
},
{
"username"
:
"user-2"
,
"sex"
:
"女"
,
"city"
:
"城市-2"
,
"sign"
:
"签名-2"
,
"experience"
:
650
,
"logins"
:
77
,
"wealth"
:
6298078
,
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
},
{
"username"
:
"user-2"
,
"sex"
:
"女"
,
"city"
:
"城市-2"
,
"sign"
:
"签名-2"
,
"experience"
:
650
,
"logins"
:
77
,
"wealth"
:
6298078
,
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
},
{
"username"
:
"user-2"
,
"sex"
:
"女"
,
"city"
:
"城市-2"
,
"sign"
:
"签名-2"
,
"experience"
:
650
,
"logins"
:
77
,
"wealth"
:
6298078
,
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
},
{
"username"
:
"user-2"
,
"sex"
:
"女"
,
"city"
:
"城市-2"
,
"sign"
:
"签名-2"
,
"experience"
:
650
,
"logins"
:
77
,
"wealth"
:
6298078
,
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
},
{
"username"
:
"user-2"
,
"sex"
:
"女"
,
"city"
:
"城市-2"
,
"sign"
:
"签名-2"
,
"experience"
:
650
,
"logins"
:
77
,
"wealth"
:
6298078
,
"classify"
:
"酱油"
,
"score"
:
31
,
"state"
:
0
}
]
}
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment