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
fa4c2b39
authored
2020-12-11 15:28:27 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:预约列表
1 parent
7b044e7c
Pipeline
#14
for
fa4c2b39
failed
in 0 seconds
Changes
3
Pipelines
1
Builds
0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
41 deletions
staticCss/wdyy.css
staticJs/wdyy.js
staticViews/wdyy.html
staticCss/wdyy.css
View file @
fa4c2b3
...
...
@@ -125,6 +125,7 @@
display
:
inline-block
;
float
:
right
;
color
:
#FFFFFF
;
cursor
:
pointer
;
}
.item_title
a
:hover
{
color
:
#FFFFFF
;
...
...
staticJs/wdyy.js
View file @
fa4c2b3
...
...
@@ -11,8 +11,8 @@ $(function () {
})
// 获取列表信息
function
_initData
(
currentPage
=
1
)
{
//
var appointment_list = $(".appointment_list");
//
appointment_list.empty();
var
appointment_list
=
$
(
".appointment_list"
);
appointment_list
.
empty
();
var
li
;
$
.
ajax
({
type
:
"post"
,
//提交方式
...
...
@@ -52,10 +52,13 @@ function _initData(currentPage=1) {
li
+=
'<li><span>办理业务类型:</span><p>'
+
records
[
i
].
businessName
+
'</p><a href="">办事指南</a></li>'
li
+=
'<li><span>预约日期:</span><p>'
+
records
[
i
].
reserveTime
+
'</p></li>'
li
+=
'<li><span>预约流水号:</span><p>'
+
records
[
i
].
reservationNumber
+
'</p></li>'
li
+=
'<a class="cancel_reservation">取消预约</a>'
li
+=
'</ul>'
if
(
records
[
i
].
state
==
'1'
)
{
li
+=
'<a class="cancel_reservation">取消预约</a>'
}
li
+=
'</div>'
li
+=
'</li>'
//
appointment_list.append(li);
appointment_list
.
append
(
li
);
}
}
...
...
staticViews/wdyy.html
View file @
fa4c2b3
...
...
@@ -42,43 +42,7 @@
</div>
<!-- -------------预约列表--------------- -->
<div
class=
"contentBox"
>
<ul
class=
"appointment_list"
>
<li>
<div
class=
"item_content"
>
<div
class=
"item_title success"
>
<h3>
正常
</h3>
<a>
查看
<i
class=
"layui-icon layui-icon-right"
></i>
</a>
</div>
<ul
class=
"item_info"
>
<li>
<span>
预约人:
</span>
<p>
任超
</p>
</li>
<li>
<span>
办事大厅:
</span>
<p>
米香园办事大厅
</p>
</li>
<li>
<span>
办理业务类型:
</span>
<p>
二手房交易
</p>
<a
href=
""
>
办事指南
</a>
</li>
<li>
<span>
预约日期:
</span>
<p>
2020-12-56 上午 16:13
</p>
</li>
<li>
<span>
预约流水号:
</span>
<p>
897987987987
</p>
</li>
</ul>
<a
class=
"cancel_reservation"
>
取消预约
</a>
</div>
</li>
</ul>
<ul
class=
"appointment_list"
></ul>
<div
id=
"page"
></div>
</div>
</div>
...
...
Please
register
or
sign in
to post a comment