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
b99c0c7c
Commit
b99c0c7c
authored
Apr 22, 2021
by
yangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tupian
parent
c3cc1001
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
4 deletions
+46
-4
application/index/view/index/index.html
application/index/view/index/index.html
+1
-0
application/index/view/index/newsdataile.html
application/index/view/index/newsdataile.html
+8
-0
application/index/view/layout/topnav.html
application/index/view/layout/topnav.html
+21
-0
public/nginx.htaccess
public/nginx.htaccess
+8
-4
public/static/css/style.css
public/static/css/style.css
+8
-0
No files found.
application/index/view/index/index.html
View file @
b99c0c7c
...
...
@@ -14,6 +14,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/index/newsdataile.html
View file @
b99c0c7c
<!--
* @Author: your name
* @Date: 2021-04-22 14:09:22
* @LastEditTime: 2021-04-22 15:25:06
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \108\application\index\view\index\newsdataile.html
-->
<!DOCTYPE html>
<html
lang=
"zh-cn"
>
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
...
...
application/index/view/layout/topnav.html
View file @
b99c0c7c
<!--
* @Author: your name
* @Date: 2021-04-22 14:09:22
* @LastEditTime: 2021-04-22 14:29:08
* @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"
>
...
...
@@ -55,4 +63,17 @@
</nav>
</div>
</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
"
);
}
});
})
</script>
<!-- nav end -->
\ No newline at end of file
public/nginx.htaccess
View file @
b99c0c7c
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
\ No newline at end of file
index index.html index.htm index.php;
#autoindex on;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
\ No newline at end of file
public/static/css/style.css
View file @
b99c0c7c
...
...
@@ -69,6 +69,13 @@ word-break:break-all;
.homenavs
.nav-link.dropdown-toggle
::after
{
display
:
none
;
}
.fixed
{
position
:
fixed
;
left
:
0
;
top
:
0
;
right
:
0
;
z-index
:
99
;
}
.homenavs_main
{
background-color
:
#fff
;
height
:
5rem
;
...
...
@@ -1391,6 +1398,7 @@ transform: scale(1);
}
.newsinfodetaile_body
img
{
/* width: 100%; */
display
:
block
;
}
.detatileinfo
.breadcrumb
a
{
...
...
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