Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Theater
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴春
Theater
Commits
d45dd4c4
Commit
d45dd4c4
authored
Mar 15, 2019
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/chun/theater
parents
cc8d1da9
ece6388f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
22 deletions
+46
-22
Index.cshtml
EheMall.Web/Areas/Mobile/Views/Home/Index.cshtml
+46
-22
No files found.
EheMall.Web/Areas/Mobile/Views/Home/Index.cshtml
View file @
d45dd4c4
...
@@ -64,9 +64,32 @@
...
@@ -64,9 +64,32 @@
align-items
:
center
;
align-items
:
center
;
}
}
.swiper-slide
img
{
.swiper-slide
img
{
width
:
100%
width
:
100%
}
}
.BMapLib_SearchInfoWindow
{
height
:
240px
;
bottom
:
-250px
;
width
:
300px
!important
;
}
#BMapLib_stationText0
{
width
:
40px
;
}
.BMapLib_trans_text
{
width
:
175px
!important
;
}
#BMapLib_tab_tohere0
{
width
:
95px
!important
;
}
.BMapLib_first
{
width
:
100px
!important
;
}
.BMapLib_current
{
width
:
100px
!important
;
}
#BMapLib_tab_fromhere0
{
width
:
100px
!important
;
}
</style>
</style>
</head>
</head>
<body>
<body>
...
@@ -644,25 +667,26 @@
...
@@ -644,25 +667,26 @@
$
(
".nav-abox a"
).
click
(
function
()
{
$
(
".nav-abox a"
).
click
(
function
()
{
$
(
this
).
addClass
(
'Nav_selected'
).
siblings
().
removeClass
(
'Nav_selected'
);
$
(
this
).
addClass
(
'Nav_selected'
).
siblings
().
removeClass
(
'Nav_selected'
);
});
});
var
newsTop
=
$
(
"#news"
).
offset
().
top
;
//var newsTop = $("#news").offset().top;
var
programTop
=
$
(
"#program"
).
offset
().
top
;
//var programTop = $("#program").offset().top;
var
gookTop
=
$
(
"#gook"
).
offset
().
top
;
//var gookTop = $("#gook").offset().top;
var
videoTop
=
$
(
"#video"
).
offset
().
top
;
//var videoTop = $("#video").offset().top;
var
contactTop
=
$
(
"#contact"
).
offset
().
top
;
//var contactTop = $("#contact").offset().top;
$
(
window
).
scroll
(
function
()
{
//$(window).scroll(function () {
var
scrollTop
=
$
(
window
).
scrollTop
();
// var scrollTop = $(window).scrollTop();
if
(
scrollTop
>
0
&&
scrollTop
<
newsTop
)
{
// if (scrollTop > 0 && scrollTop
<
newsTop
)
{
$
(
'.Nav_about'
).
addClass
(
'Nav_selected'
).
siblings
().
removeClass
(
'Nav_selected'
);
// $('.Nav_about').addClass('Nav_selected').siblings().removeClass('Nav_selected');
}
else
if
(
scrollTop
>
newsTop
&&
scrollTop
<
programTop
)
{
// } else if (scrollTop > newsTop+50 && scrollTop
<
programTop
)
{
$
(
'.Nav_news'
).
addClass
(
'Nav_selected'
).
siblings
().
removeClass
(
'Nav_selected'
);
// $('.Nav_news').addClass('Nav_selected').siblings().removeClass('Nav_selected');
}
else
if
(
scrollTop
>
programTop
&&
scrollTop
<
gookTop
)
{
// } else if (scrollTop > programTop+50 && scrollTop
<
gookTop
)
{
$
(
'.Nav_program'
).
addClass
(
'Nav_selected'
).
siblings
().
removeClass
(
'Nav_selected'
);
// $('.Nav_program').addClass('Nav_selected').siblings().removeClass('Nav_selected');
}
else
if
(
scrollTop
>
gookTop
&&
scrollTop
<
videoTop
)
{
// } else if (scrollTop > Nav_program && scrollTop
<
contactTop
)
{
$
(
'.Nav_gook'
).
addClass
(
'Nav_selected'
).
siblings
().
removeClass
(
'Nav_selected'
);
// $('.Nav_gook').addClass('Nav_selected').siblings().removeClass('Nav_selected');
}
else
if
(
scrollTop
>
videoTop
&&
scrollTop
<
contactTop
)
{
// } else if (scrollTop > videoTop && scrollTop
<
contactTop
)
{
$
(
'.Nav_video'
).
addClass
(
'Nav_selected'
).
siblings
().
removeClass
(
'Nav_selected'
);
// $('.Nav_video').addClass('Nav_selected').siblings().removeClass('Nav_selected');
}
// }
});
//});
});
});
$
(
'#but'
).
click
(
function
()
{
$
(
'#but'
).
click
(
function
()
{
$
(
".videoImgFlow"
).
css
({
display
:
'block'
});
$
(
".videoImgFlow"
).
css
({
display
:
'block'
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment