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
0528087d
authored
2020-12-16 14:33:38 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of yun.pashanhoo.com:renchao/portalStaticPage
2 parents
393d12a3
c1822b35
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
63 deletions
staticJs/yysj.js
staticViews/yysj.html
staticJs/yysj.js
View file @
0528087
This diff is collapsed.
Click to expand it.
staticViews/yysj.html
View file @
0528087
...
...
@@ -62,7 +62,7 @@
</ul>
</div>
<div
class=
"appoint_time"
>
<div
class=
"swiper-container"
>
<div
class=
"swiper-container"
>
<div
class=
"swiper-wrapper"
id=
"swiperDate"
></div>
</div>
<!-- Add Arrows -->
...
...
@@ -112,65 +112,3 @@
<
/ul
>
{{
#
}
}}
{{
#
});
}}
</script>
\ No newline at end of file
<script
id=
"business_item"
type=
"text/html"
>
{{
#
layui
.
each
(
d
.
busList
,
function
(
index
,
item
){
}}
<
div
class
=
"business_item"
>
<
div
class
=
"item_time"
>
<
span
>
上午
<
/span
>
<
span
>
{{
item
.
startTime
}}
<
/span
>
<
span
>-<
/span
>
<
span
>
{{
item
.
endTime
}}
<
/span
>
<
/div
>
<
ul
>
{{
#
layui
.
each
(
item
.
orgBusinessList
,
function
(
index1
,
item1
){
}}
{{
#
if
(
!
item
.
choosePeriodRulesId
&&
item1
.
residueNumber
==
0
){
}}
<
li
class
=
"isAppoint"
data
-
id
=
"{{item1.periodRulesId}}"
>
<
h3
>
{{
item1
.
shortName
}}
<
/h3
>
<
p
style
=
"color:#5FB878"
>
(
剩
{{
item1
.
residueNumber
}}
票
)
<
/p
>
<
/li
>
{{
#
}
}}
{{
#
if
(
!
item
.
choosePeriodRulesId
&&
item1
.
residueNumber
!=
0
){
}}
<
li
class
=
"item_appoint"
data
-
id
=
"{{item1.periodRulesId}}"
>
<
h3
>
{{
item1
.
shortName
}}
<
/h3
>
<
p
style
=
"color:#5FB878"
>
(
剩
{{
item1
.
residueNumber
}}
票
)
<
/p
>
<
/li
>
{{
#
}
}}
<!--
表示预约的是该时间段
且是最后一个号
-->
{{
#
if
(
item
.
choosePeriodRulesId
&&
item1
.
periodRulesId
==
item
.
choosePeriodRulesId
&&
item1
.
residueNumber
==
0
){
}}
<
li
class
=
"isAppoint"
data
-
id
=
"{{item1.periodRulesId}}"
>
<
h3
>
{{
item1
.
shortName
}}
<
/h3
>
<
input
type
=
"button"
value
=
'取消预约'
>
<
input
type
=
"button"
value
=
'查看详情'
>
<
p
style
=
"color:#5FB878"
>
(
剩
{{
item1
.
residueNumber
}}
票
)
<
/p
>
<
/li
>
{{
#
}
}}
<!--
表示预约的是该时间段,且该时间段的号不为
0
-->
{{
#
if
(
item
.
choosePeriodRulesId
&&
item1
.
periodRulesId
==
item
.
choosePeriodRulesId
&&
item1
.
residueNumber
!=
0
){
}}
<
li
class
=
"isAppoint"
data
-
id
=
"{{item1.periodRulesId}}"
>
<
h3
>
{{
item1
.
shortName
}}
<
/h3
>
<
input
type
=
"button"
value
=
'取消预约'
>
<
input
type
=
"button"
value
=
'查看详情'
>
<
p
style
=
"color:#5FB878"
>
(
剩
{{
item1
.
residueNumber
}}
票
)
<
/p
>
<
/li
>
{{
#
}
}}
<!--
表示预约的不是该时间段且剩余号为
0
-->
{{
#
if
(
item
.
choosePeriodRulesId
&&
item1
.
periodRulesId
!=
item
.
choosePeriodRulesId
&&
item1
.
residueNumber
==
0
){
}}
<
li
class
=
"isAppoint"
data
-
id
=
"{{item1.periodRulesId}}"
>
<
h3
>
{{
item1
.
shortName
}}
<
/h3
>
<
p
style
=
"color:#5FB878"
>
(
剩
{{
item1
.
residueNumber
}}
票
)
<
/p
>
<
/li
>
{{
#
}
}}
<!--
表示预约的不是该时间段且剩余数不为
0
-->
{{
#
if
(
item
.
choosePeriodRulesId
&&
item1
.
periodRulesId
!=
item
.
choosePeriodRulesId
&&
item1
.
residueNumbe
!=
0
){
}}
<
li
class
=
"isAppoint"
data
-
id
=
"{{item1.periodRulesId}}"
>
<
h3
>
{{
item1
.
shortName
}}
<
/h3
>
<
p
style
=
"color:#5FB878"
>
(
剩
{{
item1
.
residueNumber
}}
票
)
<
/p
>
<
/li
>
{{
#
}
}}
{{
#
})
}}
<
/ul
>
<
/div
>
{{
#
});
}}
</script>
...
...
Please
register
or
sign in
to post a comment