X1运营交流
请教个冲突问题
  • 闻过则喜 消费1195.52元 2021-01-29 11:40 11:40
433
7

我在pc-layout。htm里加上了 友情链接代码, 后,备案图标就不显示了,这是什么道理


<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{block name="head_title"}{$webdb.seo_title?:$webdb.webname}{/block}</title>
<meta http-equiv="X-UA-Compatible" content="IE=8"><!-- 强制ie8,for 360 -->
<meta name="keywords" content='{block name="head_keword"}{$webdb.seo_keyword}{/block}'>
<meta name="description" content='{block name="head_description"}{$webdb.seo_description}{/block}'>
{block name="head_base_css"}<link rel="stylesheet" href="__STATIC__/css/pc_reset.css">{/block}
{block name="head_qb_ui"}<link rel="stylesheet" href="__STATIC__/css/qb_ui.css">{/block}
{block name="head_font_icon"}<link rel="stylesheet" href="__STATIC__/icon/icon.css">{/block}
{block name="head_jquery_js"}<script type="text/javascript" src="__STATIC__/js/core/jquery.min.js"></script>{/block}
{block name="head_layer_js"}
<script type="text/javascript" src="__STATIC__/layer/layer.js"></script>
<script type="text/javascript" src="__STATIC__/layui/layui.js"></script>
{/block}
</head>
<body>
<!--下面是钩子插件,做风格的时候尽量加上,方便扩展  -->
{:hook_listen('layout_body_head',$userdb,['webdb'=>$webdb,'info'=>$info],true)}

{block name="body_Headcont"}
<link rel="stylesheet" href="__STATIC__/index/default/pcheader.css"> 
<div class="qb_pc_topBox">
	<ul>		
{notempty name="$userdb"}
		<ol><a href="{:get_url('user',$userdb.uid)}" target="_blank">{$userdb.username}</a> 您好!欢迎来到 {$webdb.webname}</ol>
		<li><a href="{:get_url('member')}" target="_blank"><dd class="glyphicon glyphicon-user"></dd>会员中心</a> <a href="#" onclick="pc_open_msg()"><dd class="fa fa-envelope-o"></dd>短消息</a><span style="color:#fff;margin-left:3px;padding:0 4px 0 4px;background:red;font-size:10px;display:none;" class="msg-num">0</span> <a href="{:get_url('quit')}" target="_blank"><dd class="fa fa-sign-in"></dd>退出</a> </li>
{else /}
		<ol>您好!欢迎来到{$webdb.webname}</ol>
		<li>
			{include file="index@min_login" /}
		</li>
{/notempty}
	</ul>
</div>
<script type="text/javascript">
function pc_open_msg(){
	layer.open({
	  type: 2,
	  maxmin:true,
	  shade: 0,
	  title: '短消息',
	  //shade: [0.3,'#333'], 
	  area: ['900px', '600px'],
	  anim: 1,
	  content: '{:urls("member/msg/index")}',
	  end: function(){ //关闭事件
		  if(typeof(close_msg_win)=="function"){
			  close_msg_win();
		  }
	  },
	  success: function(layero, index){ 
		  if(typeof(oepn_msg_win)=="function"){
			  oepn_msg_win();
		  }
	  },
	});
}
</script>
<style type="text/css">.head_logo_warp{width:1200px;margin:auto;}</style>
	<div class="head_logo_warp">
	<!--引用碎片-->
	{qb:hy name="pc_layout_002" where="index_style/default/index/index_pc/headmenu" val="datas" type="labelmodel"}
		{$datas}
	{/qb:hy}
	</div>
{/block}

{block name="body_AllScorllSlide"}<!---通栏幻灯片----->{/block}
{block name="body_LeftMenu"}<!---左边类京东菜单----->{/block}
{block name="body_ContactSearch"}
<!--通栏联系电话与搜索__STATIC__/css/qb_ui.css中控制---->
<div class="qb_ui_ContactSearch">
	<ul>
		<ol><i class="fa fa-volume-control-phone"></i> 服务热线 <a href="tel:{$webdb.service_tel}">{$webdb.service_tel}</a></ol>
		<li>
<style type="text/css">
.model_search{float:right;background: #35C4B8;margin-left:15px;border-radius:5px;}
.model_search a{color:#fff;line-height:36px;margin:0 10px;}
.model_search:hover{background: orange;}
.model_search:hover a{color:#fff;}
</style>
		    {if config('system_dirname')&&modules_config(config('system_dirname'))}<em class="model_search"><a href="{:urls('search/index')}" target="_blank">精准搜索</a></em>{/if}
			<form method="get" action="{:urls('search/index/lists')}">
				<dl>
					<dt><input type="text" name="keyword" placeholder="全站搜索" required/></dt>
					<dd><button type="submit"><i class="fa fa-search"></i></button></dd>
				</dl>
			</form>
		</li>
	</ul>
</div>
{/block}

{block name="model_content"}
	<!--引用碎片-->
	{qb:hy name="pc_layout_001" where="index_style/default/index/kefu" val="datas" type="labelmodel"}
		{$datas}
	{/qb:hy}
{/block}


<!--下面这一行是导航条-->
{block name="nav"}{qb:nav title="" url="" /}{/block}
{block name="body_content"}页面主体部分内容{/block}
<!--下面是钩子插件,做风格的时候尽量加上,方便扩展-->
{:hook_listen('layout_body',$userdb,['webdb'=>$webdb,'info'=>$info],true)}
{block name="body_Footcont"}

<link rel="stylesheet" href="__STATIC__/index/default/pcfooter.css"> 
</div>
<div>{qb:tag name="links" rows="9" where="status=1" class="plugins\links\index\Link@labelShow"}

<ul>

{notempty name="$rs.picurl"}

<li style="float: left;margin-left:45px;"><a href="{$rs.url}"><img src="{$rs.picurl}" title="{$rs.title}" /></a></li>

{else}

<li style="background:#cc0066;font-size:16px;float:left;margin-left:50px;"><a style="color:#ffffff" href="{$rs.url}">{$rs.title}</a></li>

{/notempty}

</ul>

{/qb:tag}</div>

<div class="body_Footcont">
	<ul>
		<ol>
			<dl>
				<dt>{$webdb.copyright}</dt>
				<dd>
				{if $webdb.miibeian_gongan_gov_cn}
				<img src="https://x1.php168.com/public/static/qibo/beian.png";>
				<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode={:preg_replace('/([^\\d]+)([\\d]+)([^\\d]+)/', '\\\\2', $webdb.miibeian_gongan_gov_cn)}" target="_blank">{$webdb.miibeian_gongan_gov_cn}</a> 
				{/if}
				<a href="http://www.beian.miit.gov.cn/"; target="_blank">{$webdb.miibeian_gov_cn}</a> Powered by <a href="https://www.php168.com/"; target="_blank">QBSYSTEM W{$webdb.QB_VERSION}5</a> Code &copy;2020-2030</dd>
			</dl>
		</ol>
		<li>
			<dl>
				<dt>扫一扫手机访问</dt>
				<dd><img src="{:urls('index/qrcode/index')}?url={:urlencode(get_url('location'))}"/></dd>
			</dl>
		</li>
	</ul>
</div>
{/block}

{include file="index@weixingz" /}<!--若没有关注微信公众号,就做个提醒-->

<!--下面是钩子插件,做风格的时候尽量加上,方便扩展-->
{:hook_listen('layout_body_foot',$userdb,['webdb'=>$webdb,'info'=>$info],true)}
<script type="text/javascript" src="__STATIC__/js/qibo.js"></script>
</body>
</html>

还有奇怪的地方就是 这里面多了个 </div>.去掉他或者补全他 ,底部样式就受影响



1
赏礼
赏钱
收藏
点击回复
      全部留言
  • 7
  • 袁冬 普通粉丝 消费:160.85元 2021-01-29 14:33 14:336楼
    你的贴代码才能看出来  
    袁冬 消费:160.85元 2021-01-29 14:33
    大哥也是山东得?
    闻过则喜 消费:1195.52元 其他手机 2021-01-29 14:34
    才觉出来呀
    闻过则喜 消费:1195.52元 2021-01-29 14:38
    我补充下主题,有时间的话可以看看, 问题不重要,只是很纳闷
    袁冬 消费:160.85元 华为 2021-01-29 14:39
    @闻过则喜 山东哪里的  我淄博的
    闻过则喜 消费:1195.52元 其他手机 2021-01-29 14:44
    向西300里
    闻过则喜 消费:1195.52元 2021-01-29 14:49
    记得你是在招远啊
0 赏钱 赏礼回复
更多回复
      你可能感兴趣的主题
恢复多功能编辑器
  • 3 1
  • X1运营交流
        圈内贴子51652
    • 圈子成员1018
    本圈子内的新贴

    推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648