Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
鹿
鹿马108官网
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
鹿马108官网
Commits
8a888dfd
Commit
8a888dfd
authored
Apr 23, 2021
by
yangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daohanglan
parent
b99c0c7c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
15 deletions
+27
-15
application/index/view/index/aboutus.html
application/index/view/index/aboutus.html
+1
-0
application/index/view/index/contactus.html
application/index/view/index/contactus.html
+1
-0
application/index/view/index/joinin.html
application/index/view/index/joinin.html
+1
-0
application/index/view/index/news.html
application/index/view/index/news.html
+9
-0
application/index/view/layout/topnav.html
application/index/view/layout/topnav.html
+13
-13
public/static/css/style.css
public/static/css/style.css
+2
-2
No files found.
application/index/view/index/aboutus.html
View file @
8a888dfd
...
...
@@ -14,6 +14,7 @@
<link
rel=
"stylesheet"
href=
"__CDN__/static/js/swiper/swiper.min.css"
>
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/style.css"
>
<script
src=
"__CDN__/static/js/swiper/swiper.min.js"
></script>
<script
src=
"__CDN__/static/js/jquery-3.3.1.min.js"
></script>
<style>
.swiper-container
{
...
...
application/index/view/index/contactus.html
View file @
8a888dfd
...
...
@@ -12,6 +12,7 @@
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/style.css"
>
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/animate/animate.min.css"
>
<script
src=
"__CDN__/static/js/jquery-3.3.1.min.js"
></script>
</head>
<body>
...
...
application/index/view/index/joinin.html
View file @
8a888dfd
...
...
@@ -13,6 +13,7 @@
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/style.css"
>
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/animate/animate.min.css"
>
<script
src=
"__CDN__/static/js/jquery-3.3.1.min.js"
></script>
</head>
<body>
...
...
application/index/view/index/news.html
View file @
8a888dfd
<!--
* @Author: your name
* @Date: 2021-04-22 14:09:22
* @LastEditTime: 2021-04-23 12:26:59
* @LastEditors: your name
* @Description: In User Settings Edit
* @FilePath: \108\application\index\view\index\news.html
-->
<!DOCTYPE html>
<html
lang=
"zh-cn"
>
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
...
...
@@ -15,6 +23,7 @@
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/style.css"
>
<link
rel=
"stylesheet"
href=
"__CDN__/static/css/animate/animate.min.css"
>
<script
src=
"__CDN__/static/js/swiper/swiper.min.js"
></script>
<script
src=
"__CDN__/static/js/jquery-3.3.1.min.js"
></script>
</head>
<body>
...
...
application/index/view/layout/topnav.html
View file @
8a888dfd
<!--
* @Author: your name
* @Date: 2021-04-22 14:09:22
* @LastEditTime: 2021-04-2
2 14:29:0
8
* @LastEditTime: 2021-04-2
3 13:25:4
8
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \108\application\index\view\layout\topnav.html
-->
<!-- nav start -->
<div
class=
"Maskss "
id=
"Maskss"
></div>
<div
class=
"homenavs_main"
>
<div
class=
"homenavs_main
fixed
"
>
<div
class=
"container homenavs"
>
<nav
class=
"navbar navbar-expand-lg navbar-light "
>
...
...
@@ -63,17 +63,17 @@
</nav>
</div>
</div>
<div
style=
"height: 5rem;width: 100%;"
></div>
<script>
$
(
function
()
{
$
(
window
).
scroll
(
function
()
{
// console.log($(window).scrollTop())
// console.log($(".homenavs_main").height()) // 120
if
(
$
(
window
).
scrollTop
()
>=
0
){
$
(
"
.homenavs_main
"
).
addClass
(
"
fixed
"
);
}
else
{
$
(
"
.homenavs_main
"
).
removeClass
(
"
fixed
"
);
}
});
})
// $(window).scroll(function () {
// // console.log($(window).scrollTop())
// // console.log($(".homenavs_main").height()) // 120
// if($(window).scrollTop()>0){
// $(".homenavs_main").addClass("fixed");
// } else {
// $(".homenavs_main").removeClass("fixed");
// }
// });
</script>
<!-- nav end -->
\ No newline at end of file
public/static/css/style.css
View file @
8a888dfd
...
...
@@ -73,13 +73,13 @@ word-break:break-all;
position
:
fixed
;
left
:
0
;
top
:
0
;
right
:
0
;
-webkit-transform
:
translateZ
(
0
)
;
z-index
:
99
;
}
.homenavs_main
{
background-color
:
#fff
;
height
:
5rem
;
width
:
100%
;
}
.navbar-collapse
{
...
...
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