|
楼主 |
发表于 2016-5-20 15:05:31
|
显示全部楼层
问题1、手机页面,在清理浏览器缓存后,打开页面会提醒你访问的页面无手机页面。点击确定后,自动回到原来页面,再点击相应版块,就正常显示了。
问题2,手机模板幻灯片,在微信中打开页面链接,幻灯片图片变得参差不齐。头部导航条也不见了?其余正常。提醒无手机页页的页面代码如下:
<?php exit;?>
<!--{template common/header}-->
<link rel="stylesheet" type="text/css" href="template/dr/touch/style/css/forumdisplay_list.css" media="all" />
<link rel="stylesheet" type="text/css" href="template/dr/touch/style/css/forumdisplay_list.css" id="JCSS" media="all" />
<script src="template/dr/touch/style/js/jquery.cookie.js" type="text/javascript"></script>
<body class="bg">
<!--{eval require DISCUZ_ROOT.'template/dr/touch/style/plus/wap_config.php';}-->
<div id="mwp">
<div id="mcontent">
<div class="t_blank cl"></div>
<div class="mforum_head">
<div class="mforum_h_1">
<dl class="cl">
<dt>
{if $_G['forum']['icon']}
<img src="data/attachment/common/$_G['forum']['icon']" />
{else}
<img src="template/dr/touch/style/icon_no.png" />
{/if}
</dt>
<dd class="dd1">{$_G['forum']['name']}</dd>
<dd class="dd2">
<span class="s1">主题<em>$_G[forum][threads]</em></span>
<span class="s2">帖子<em>$_G[forum][posts]</em></span>
</dd>
<dd class="dd3">
<cite><span>{$_G[group][stars]}</span><em>{$_G[group][grouptitle]}</em></cite>
<!--{eval $fav=DB::fetch_first("SELECT * FROM ".DB::table('home_favorite')." WHERE uid=".$_G[uid]." and `idtype`='fid' and id=".$_G[fid]."");}-->
<cite>{if $fav[id]}<a href="javascript:void(0);" class="a1">已关注</a>{else}<a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum&formhash={FORMHASH}" class="a2"><i>+</i>关注</a>{/if}</cite>
</dd>
</dl>
</div>
<!--{if !in_array($_G[fid],array(36,115,2000))}-->
<!--{if $subexists && $_G['page'] == 1 || ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || count($_G['forum']['threadsorts']['types']) > 0}-->
<div class="mforum_h_2">
<!--{if $subexists && $_G['page'] == 1}-->
<ul class="cl">
<li class="li_w">子版块</li>
<!--{loop $sublist $sub}-->
<li><a href="forum.php?mod=forumdisplay&fid={$sub[fid]}">{$sub['name']}</a></li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || count($_G['forum']['threadsorts']['types']) > 0}-->
<ul class="cl">
<li id="ttp_all" {if !$_GET['typeid'] && !$_GET['sortid']}class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['forum']['threadsorts']['defaultshow']}&filter=sortall&sortall=1{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang forum_viewall}</a></li>
<!--{if $_G['forum']['threadtypes']}-->
<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
<!--{if $_GET['typeid'] == $id}-->
<li class="a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['sortid']}&filter=sortid&sortid=$_GET['sortid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
<!--{else}-->
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$id$forumdisplayadd[typeid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $_G['forum']['threadsorts']}-->
<!--{if $_G['forum']['threadtypes']}--><li><span class="pipe">|</span></li><!--{/if}-->
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
<!--{if $_GET['sortid'] == $id}-->
<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['typeid']}&filter=typeid&typeid=$_GET['typeid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
<!--{else}-->
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$id$forumdisplayadd[sortid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</ul>
<!--{/if}-->
<!--{if $quicksearchlist && !$_GET['archiveid']}-->
<!--{subtemplate forum/search_sortoption}-->
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
</div>
<!--{if !in_array($_G[fid],array(36,115,2000))}-->
<!--{if !$subforumonly}-->
<div class="mfmlist mfmlist1">
<ul>
<!--{if $livethread}-->
<li class="cl">
<span class="s1">直播</span>
<span class="s2">回复$livethread[replies]</span>
<a href="forum.php?mod=viewthread&tid=$livethread[tid]">$livethread[subject]</a>
</li>
<!--{/if}-->
<!--{if $_G['forum_threadcount']}-->
<!--{loop $_G['forum_threadlist'] $key $thread}-->
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<!--{if !$_G['setting']['mobile']['mobiledisplayorder3'] && $thread['displayorder'] > 0}-->
{eval continue;}
<!--{/if}-->
<!--{if $thread['displayorder'] > 0 && !$displayorder_thread}-->
{eval $displayorder_thread = 1;}
<!--{/if}-->
<!--{if $thread['moved']}-->
<!--{eval $thread[tid]=$thread[closed];}-->
<!--{/if}-->
<li class="cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra">
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<span class="s1">置顶</span>
<!--{/if}-->
<!--{if $thread['digest'] > 0}-->
<span class="s2">精</span>
<!--{/if}-->
<!--{if $thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<span class="s2">图</span>
<!--{/if}-->
<i>{$thread[subject]}</i></a>
</li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if !$subforumonly}-->
<!--{if in_array($_G[fid],array(36,115,2000))}-->
。。。。。
坐等高手指点!
|
|