|
修改前的效果圖:
原來的樣子.jpg (224.84 KB, 下載次數: 18)
下載附件
2021-1-24 11:36 上傳
修改不影響手機版正常瀏覽,此次修改原理只是把原來的代碼注釋掉,增加美化后的代碼即可實現。
修改方法:查找文件:/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}-->
復制代碼 如上將代碼原來的代碼注釋掉,加上你自己想要美化的代碼即可。
|
|