Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
3
3yakj
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
甘剑浪
3yakj
Commits
7461d6b2
Commit
7461d6b2
authored
Mar 24, 2022
by
liukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提交
parent
ad853a8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
75 deletions
+27
-75
Base.php
application/common/controller/Base.php
+2
-0
bd53d07525251e1d7f391d509a459ecc.php
runtime/temp/bd53d07525251e1d7f391d509a459ecc.php
+25
-75
No files found.
application/common/controller/Base.php
View file @
7461d6b2
...
...
@@ -65,6 +65,8 @@ class Base extends Error
}
else
{
$nav
[
$key
][
'class'
]
=
'home'
;
}
}
else
{
$nav
[
$key
][
'class'
]
=
''
;
}
$child
=
db
(
'menu_child'
)
->
where
(
array
(
'pid'
=>
$value
[
'id'
],
'status'
=>
1
))
->
field
(
'title,show_type,url'
)
->
order
(
'order desc'
)
->
select
();
$nav
[
$key
][
'child'
]
=
$child
;
...
...
runtime/temp/bd53d07525251e1d7f391d509a459ecc.php
View file @
7461d6b2
<?php
/*a:4:{s:67:"D:\PHPStormProject\3yakj\config/../template/home\about\contact.html";i:1647937410;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:164
7937410
;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/
?>
<?php
/*a:4:{s:67:"D:\PHPStormProject\3yakj\config/../template/home\about\contact.html";i:1647937410;s:72:"D:\PHPStormProject\3yakj\config/../template/home\public\header_meta.html";i:1647937410;s:68:"D:\PHPStormProject\3yakj\config/../template/home\public\nav_bar.html";i:164
8113542
;s:67:"D:\PHPStormProject\3yakj\config/../template/home\public\footer.html";i:1647937410;}*/
?>
<html>
<head>
<title>
朱贝在线客服联系我们
</title>
...
...
@@ -227,89 +227,39 @@
<header
class=
"common-header"
>
<a
class=
"logo-href"
href=
"/"
></a>
<ul
class=
"clearfix"
>
<li
class=
"no-border"
>
<a
class=
"home"
href=
"
<?php
echo
url
(
'/home'
);
?>
"
>
首页
</a>
</li>
<!--<li>
<a class="news
<?php
echo
$url
==
'News'
?
'active'
:
''
;
?>
" href="/nationalTide">国潮</a>
</li>-->
<li>
<a
class=
"news
<?php
echo
$url
==
'News'
?
'active'
:
''
;
?>
"
href=
"
<?php
echo
url
(
'/news'
);
?>
"
>
动态
</a>
</li>
<li>
<a
class=
"join
<?php
echo
$url
==
'Join'
?
'active'
:
''
;
?>
"
href=
"
<?php
echo
url
(
'/join'
);
?>
"
>
加入我们
</a>
</li>
<li
class=
"white-bg-service"
>
<span
class=
"service business aboutuson"
>
关于我们
<span
class=
"down-list"
>
<span
class=
"item colortext"
>
<a
href=
"javascript:"
>
关于我们
</a>
</span>
<span
class=
"item"
>
<a
href=
"
<?php
echo
url
(
'/aboutus'
);
?>
"
>
关于我们
</a>
</span>
<span
class=
"item"
>
<a
href=
"
<?php
echo
url
(
'/contact'
);
?>
"
>
联系我们
</a>
</span>
</span>
</span>
</li>
<li
class=
"white-bg-service"
>
<span
class=
"service helpon"
>
服务与帮助
<span
class=
"down-list"
>
<span
class=
"item colortext"
>
<a
href=
"
<?php
echo
url
(
'/servicehelp/help'
);
?>
"
>
服务与帮助
</a>
</span>
<span
class=
"item"
>
<a
href=
"
<?php
echo
url
(
'/servicehelp/help'
);
?>
"
>
帮助中心
</a>
</span>
</span>
</span>
</li>
<?php
if
(
is_array
(
$nav
)
||
$nav
instanceof
\think\Collection
||
$nav
instanceof
\think\Paginator
)
:
$k
=
0
;
$__LIST__
=
$nav
;
if
(
count
(
$__LIST__
)
==
0
)
:
echo
""
;
else
:
foreach
(
$__LIST__
as
$key
=>
$vo
)
:
$mod
=
(
$k
%
2
);
++
$k
;
if
(
!
empty
(
$vo
[
'child'
]))
:
?>
<li
class=
"white-bg-service"
>
<span
class=
"service helpon"
>
朱贝直播助手
<span
class=
"down-list"
>
<span
class=
"item colortext"
>
<a
href=
""
>
朱贝直播助手
</a>
</span>
<span
class=
"item"
>
<a
href=
"http://oss.3yakj.com/app/zhuBeiLive3.0.rar"
>
for Windows
</a>
</span>
<span
class=
"item"
>
<a
target=
"_blank"
href=
"https://obsproject.com"
>
OBS下载地址
</a>
<span
class=
"service"
>
<?php
echo
htmlentities
(
$vo
[
'title'
]);
?>
<span
class=
"down-list"
style=
"position: relative;top: -30px;left: 0px;"
>
<span
class=
"item colortext"
style=
"left: -1px;width: 100%"
>
<a
href=
"javascript:"
>
<?php
echo
htmlentities
(
$vo
[
'title'
]);
?>
</a>
</span>
<!--<span class="item">-->
<!--<a href="https://cdn-fastly.obsproject.com/downloads/obs-mac-27.1.dmg">for mac</a>-->
<!--</span>-->
<?php
if
(
is_array
(
$vo
[
'child'
])
||
$vo
[
'child'
]
instanceof
\think\Collection
||
$vo
[
'child'
]
instanceof
\think\Paginator
)
:
$key
=
0
;
$__LIST__
=
$vo
[
'child'
];
if
(
count
(
$__LIST__
)
==
0
)
:
echo
""
;
else
:
foreach
(
$__LIST__
as
$key
=>
$child
)
:
$mod
=
(
$key
%
2
);
++
$key
;
?>
<span
class=
"item"
>
<a
target=
"_blank"
href=
"https://lcnsc3uqhj.feishu.cn/docs/doccnJ8LBZipIQUarP0Sous9ouc"
>
帮助中心
</a>
<a
href=
"
<?php
echo
htmlentities
(
$child
[
'url'
]);
?>
"
<?php
if
(
$child
[
'show_type'
]
==
1
)
:
?>
target=
"_blank"
<?php
endif
;
?>
>
<?php
echo
htmlentities
(
$child
[
'title'
]);
?>
</a>
</span>
<?php
endforeach
;
endif
;
else
:
echo
""
;
endif
;
?>
</span>
</span>
<li>
<?php
else
:
?>
<li
<?php
if
(
$k
==
1
)
:
?>
class=
"no-border"
<?php
else
:
?>
class=
"white-bg-service"
<?php
endif
;
?>
>
<a
class=
"
<?php
echo
htmlentities
(
$vo
[
'class'
]);
?>
<?php
echo
$url
==
ucfirst
(
$vo
[
'class'
])
?
'active'
:
''
;
?>
"
href=
"
<?php
echo
htmlentities
(
$vo
[
'url'
]);
?>
"
<?php
if
(
$vo
[
'show_type'
]
==
1
)
:
?>
target=
"_blank"
<?php
endif
;
?>
>
<?php
echo
htmlentities
(
$vo
[
'title'
]);
?>
</a>
</li>
<li
class=
"white-bg-service"
>
<a
class=
"home"
href=
"http://guild-rds.3yakj.com"
target=
"_blank"
>
公会入口
</a>
<!--<span class="service business guildon">工会入口
<span class="down-list">
<span class="item colortext">
<a href="javascript:">工会入口 </a>
</span>
<span class="item">
<a href="http://guild-rds.3yakj.com" target="_blank">mcn机构入口</a>
</span>
<span class="item">
<a href="http://guild-rds.3yakj.com" target="_blank">公会入口</a>
</span>
</span>
</span>-->
</li>
<li
class=
"white-bg-service"
>
<a
class=
"home"
href=
"
<?php
echo
url
(
'/index/index/huatai'
);
?>
"
>
华泰证券
</a>
</li>
<?php
endif
;
?>
<?php
endforeach
;
endif
;
else
:
echo
""
;
endif
;
?>
</ul>
</header>
<script>
//由于未知bug导致child不为空的时候会生成一个空的li,这里删除
var
ul
=
document
.
getElementsByClassName
(
"clearfix"
);
var
childList
=
ul
[
0
].
children
;
for
(
var
i
=
0
;
i
<
childList
.
length
;
i
++
){
if
(
childList
[
i
].
className
===
''
){
ul
[
0
].
removeChild
(
ul
[
0
].
children
[
i
]);
}
}
</script>
<!-- <div class="wrapper">
...
...
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