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
418475c2
authored
2021-02-02 09:37:46 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:我的预约
1 parent
ddd93e85
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
staticCss/wdyw.css
staticJs/wdyw.js
staticViews/wdyw.html
staticCss/wdyw.css
View file @
418475c
...
...
@@ -285,4 +285,13 @@
float
:
right
;
margin-top
:
26px
;
margin-right
:
8px
;
}
.bus-active
{
background-color
:
#0097F6
;
}
.bus-active
span
{
color
:
#FFFFFF
;
}
.bus-active
p
{
color
:
#FFFFFF
;
}
\ No newline at end of file
...
...
staticJs/wdyw.js
View file @
418475c
...
...
@@ -14,6 +14,8 @@ $(function () {
let
dataId
=
(
$
(
this
).
attr
(
'data-id'
))
$
(
'.arrowList p'
).
css
(
"opacity"
,
0
);
$
(
'.arrowList p'
).
eq
(
dataId
).
css
(
"opacity"
,
1
);
$
(
'.business_titleList li a'
).
removeClass
(
'bus-active'
);
$
(
'.business_titleList li'
).
eq
(
dataId
).
find
(
'a'
).
addClass
(
'bus-active'
)
if
(
dataId
==
'0'
)
{
_applyBusinessRecord
()
dataRendering
(
dataList
.
list
)
...
...
staticViews/wdyw.html
View file @
418475c
...
...
@@ -41,7 +41,7 @@
</div>
<ul
class=
"business_titleList"
>
<li
class=
"applyBusinessRecord"
>
<a
data-id=
'0'
class=
"itemTitleActive"
>
<a
data-id=
'0'
class=
"itemTitleActive
bus-active
"
>
<p>
<span>
0
</span>
</p>
...
...
Please
register
or
sign in
to post a comment