|
修改前的效果图:
修改不影响手机版正常浏览,此次修改原理只是把原来的代码注释掉,增加美化后的代码即可实现。
修改方法:查找文件:/template/default/mobile/common/preview.htm
- <!--{template common/header}-->
- <div id="ct" class="wp cl ptw pbw">
- <table style="margin:0 auto"><tr><td>
- <font color="#ff0000"> <!--</font><div class="z" style="width: 500px; height: 650px; background: url({STATICURL}image/mobile/browser_big.jpg) no-repeat 0 0;">
- <iframe id="ifm0" frameborder="0" width="425" height="530" style="margin: 115px 0 0 23px;" src="{if $_G['setting']['mobile']['allowmnew']}m/{else}misc.php?mod=mobile&view=true{/if}"></iframe>
- </div>
- <div class="z" style="margin-top: 60px; width: 430px;">
- <div class="mtw bm bw0" style="background-color: #dfeaf4;">
- <div class="bm_c">
- <h1 class="xw1 xs2 mbn">{lang login_mobile}</h1>
- <p class="mbw xg2">{lang login_mobile_join}</p>
- <p class="hm mbw" style="font-size: 18px; color: #F60;">
- <img src="data/cache/$file" />
- </p>
- </div>
- </div>
- </div> <font color="#ff0000">--></font>
- </td></tr></table>
- </div>
- <!--{template common/footer}-->
复制代码 如上将代码原来的代码注释掉,加上你自己想要美化的代码即可。
|
|