作者 景龙
1 个管道 的构建 通过 耗费 1 秒

修改头部样式

... ... @@ -121,7 +121,7 @@ class RegionController extends HomeBaseController
->field($field)
->order('weigh desc')
->paginate(1);
$arr['data'] = $res;
$arr['data'] = $res->toArray();
$arr['page'] = $res->render();
return $arr;
}
... ...
... ... @@ -7,6 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>明星访谈更多</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/layui.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/bootstrap4.0.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/header.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/show.css">
</head>
... ... @@ -100,16 +101,19 @@
<p>3</p>
<span> > </span>
</div> -->
</div>
<div class="pagination">
{$page|default=''}
<!--分页-->
<div class="pagination">
{$page|default=''}
</div>
</div>
<!--<div id="page">-->
<!--</div>-->
</div>
<!-- 底部 -->
<footer></footer>
<include file="public@footer">
<script src="__TMPL__/public/assets/js/jquery-3.2.1.min.js"></script>
<script src="__TMPL__/public/assets/js/layui.js"></script>
<script src="__TMPL__/public/assets/js/public.js"></script>
... ...
... ... @@ -81,6 +81,9 @@
color: rgba(255, 255, 255, 1);
opacity: 0.4;
}
.about_content p{
height: 76px;
}
/* 关注我们 */
#footer .about_bot {
... ...
... ... @@ -17,7 +17,7 @@
#header .home_logo {
width: 110px;
height: 70px;
margin: 0 175px 0 210px;
margin: 0 44px 0 0px;
}
#header .home_logo img {
... ... @@ -35,7 +35,7 @@
color: rgba(77, 77, 77, 1);
width: 70px;
height: 76px;
margin: 0 30px;
margin: 0 20px;
text-align: center;
border-top: 4px solid rgba(255, 255, 255, 1);
}
... ... @@ -112,7 +112,8 @@
#header .home_search {
position: relative;
width: 308px;
width: 222px;
margin-left: 28px;
}
... ... @@ -120,7 +121,7 @@
#header .home_search .search_icon {
position: absolute;
left: 85px;
left: 22px;
top: 32px;
background-image: url("../starImg/aicon_23.png");
background-repeat: no-repeat;
... ... @@ -134,7 +135,7 @@
/* 输入框 */
#header .home_search input {
margin: 0 16px 0 76px;
margin: 0 16px 0 10px;
width: 160px;
height: 33px;
background: rgba(242, 242, 242, 1);
... ...
... ... @@ -673,6 +673,7 @@ p {
}
.personal_narration p {
height: 90px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
... ... @@ -803,6 +804,7 @@ p {
.scout_box h1 {
width: 237px;
height: 46px;
margin: 42px auto 0;
font-size: 16px;
font-weight: 400;
... ...
... ... @@ -260,6 +260,7 @@ body {
}
.show_INMain_con2 p {
height: 90px;
font-size: 16px;
color: rgba(102, 102, 102, 1);
line-height: 32px;
... ... @@ -806,6 +807,7 @@ body {
}
.show_3_list_txt p {
height: 256px;
font-size: 16px;
color: rgba(102, 102, 102, 1);
line-height: 32px;
... ...
... ... @@ -54,4 +54,8 @@ $(function(){
}else{
$('.home_nav_act').children('a').addClass('home_nav_act');
}
//改变分页图标
$('.page-item').eq(0).children().text('<');
$('.page-item:last').children().text('>');
});
\ No newline at end of file
... ...
<!--头部 -->
<div id="header">
<!-- logo -->
<section class="home_logo">
<img src="__TMPL__/public/assets/starImg/logo.png" alt="">
</section>
<!-- 导航栏 -->
<section class="home_nav">
<ul>
<li class="home_nav_act">
<a class="home_nav_act" href="/">首页</a>
</li>
<volist name="slide" id="vo">
<li class="slide_vo">
<a class="home_nav_act_A" href="{$vo.url}">{$vo.name}</a>
<div class="home_nav_down">
<div class="home_nav_down2">
<img src="__TMPL__/public/assets/starImg/aicon_32.png" alt="">
<dl>
<volist name="vo.child" id="voo">
<dd><a href="{$voo.url}">{$voo.name}</a></dd>
</volist>
</dl>
</div>
</div>
<div style="width: 1200px;margin: auto">
<section class="home_logo">
<img src="__TMPL__/public/assets/starImg/logo.png" alt="">
</section>
<!-- 导航栏 -->
<section class="home_nav">
<ul>
<li class="home_nav_act">
<a class="home_nav_act" href="/">首页</a>
</li>
</volist>
<!--<li>-->
<volist name="slide" id="vo">
<li class="slide_vo">
<a class="home_nav_act_A" href="{$vo.url}">{$vo.name}</a>
<div class="home_nav_down">
<div class="home_nav_down2">
<img src="__TMPL__/public/assets/starImg/aicon_32.png" alt="">
<dl>
<volist name="vo.child" id="voo">
<dd><a href="{$voo.url}">{$voo.name}</a></dd>
</volist>
</dl>
</div>
</div>
</li>
</volist>
<!--<li>-->
<!--<a href="">星球奇境</a>-->
<!--&lt;!&ndash; 下拉导航 &ndash;&gt;-->
<!--<div class="home_nav_down">-->
<!--<div class="home_nav_down2">-->
<!--<img src="__TMPL__/public/assets/starImg/aicon_32.png" alt="">-->
<!--<dl>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--</dl>-->
<!--</div>-->
<!--<div class="home_nav_down2">-->
<!--<img src="__TMPL__/public/assets/starImg/aicon_32.png" alt="">-->
<!--<dl>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--<dd><a href="">地标1</a></dd>-->
<!--</dl>-->
<!--</div>-->
<!--</li>-->
</ul>
</section>
<!-- 搜索框 -->
<section class="home_search">
<i class="search_icon"></i>
<input type="text" placeholder="巴厘岛">
</section>
<!-- 登录注册 -->
<section class="home_login">
<!--</div>-->
<!--</li>-->
</ul>
</section>
<!-- 搜索框 -->
<section class="home_search">
<i class="search_icon"></i>
<input type="text" placeholder="巴厘岛">
</section>
<!-- 登录注册 -->
<section class="home_login">
<span>
<p>注册</p>
<p>登录</p>
</span>
</section>
</section>
</div>
<!-- logo -->
</div>
\ No newline at end of file
... ...