點評文字內容的小美化 ( 繁和簡)
<br /><br /><br /><ignore_js_op><span style="white-space: nowrap" id="attach_2273" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})">详细教程以及代码.zip<em class="xg1">(1.29 KB, 下载次数: 216)</em></span>2019-8-14 00:42 上传点击文件名下载附件</ignore_js_op><br /><br /><br /><br /><strong>大家好</strong><br /><strong>原本分享的點評文字內容的距離美化</strong><br /><strong>經過後來再測試不是很完美的方法</strong><br /><strong>所以刪除了修改方法</strong><br /><strong>保留文字內容的文字變大美化</strong><br /><br /><strong>x3.0 ~ x3.2 版本</strong><br /><br /><strong>打開</strong><br /><br /><strong>template/default/common/common.css 文件</strong><br /><br /><strong>查找</strong><br /><br /><ol><li>.xs1 { font-size: 12px !important; }</ol><br /><br /><br /><strong>替換為</strong><br /><br /><ol><li>.xs1 { font-size: 22px !important; }</ol><br /><br /><br /><strong>修改前請先備份</strong><br /><strong>修改後記得更新緩存</strong><br /><br /><strong>修改前</strong><br /><br /><img title="1.jpg" id="aimg_2269" aid="2269" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/201908/14/004103kdnfezfdbcdnbcbd.jpg" src="https://www.dismall.com/data/attachment/forum/201908/14/004103kdnfezfdbcdnbcbd.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="595" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br /><strong>修改後</strong><br /><br /><img title="2.jpg" id="aimg_2270" aid="2270" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/201908/14/004104zxb7tjr71jwpwjrd.jpg" src="https://www.dismall.com/data/attachment/forum/201908/14/004104zxb7tjr71jwpwjrd.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="597" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br /><br /><strong>如果修改 css 文件的話</strong><br /><strong>點評和用戶名字體部分都會隨著變大</strong><br /><br /><strong>如果您只想讓點評的文字內容變大的話</strong><br /><strong>另外提供一個方法給您參考</strong><br /><br /><strong>x3.0 版本</strong><br /><br /><strong>打開</strong><br /><br /><strong>template/default/forum/viewthread_node_body.htm 文件</strong><br /><br /><strong>查找</strong><br /><br /><ol><li><p><b><div class="psti"></b></p><p><b> $comment&nbsp;</b></p><p><b> <!--{if $comment}--></b></p><p><b> <a href="forum.php?mod=redirect&goto=findpost&pid=$comment&ptid=$_G" class="xi2">{lang detail}</a></b></p><p><b> <a href="forum.php?mod=post&action=reply&fid=$_G&tid=$_G&repquote=$comment&extra=$_GET&page=$page{if $_GET}&from=$_GET{/if}" class="xi2" onclick="showWindow('reply', this.href)">{lang reply}</a></b></p><p><b> <!--{/if}--></b></p><p><b> <span class="xg1"></b></p><p><b> {lang poston} <!--{date($comment, 'u')}--></b></p><p><b> <!--{if $comment['useip'] && $_G['group']['allowviewip']}-->&nbsp;IP:$comment<!--{/if}--></b></p><p><b> <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowdelpost']}-->&nbsp;<a href="javascript:;" onclick="modaction('delcomment', $comment)">{lang delete}</a><!--{/if}--></b></p><p><b> </span></b></p><p><b> </div></b></p></ol><br /><br /><br /><strong>替換為</strong><br /><br /><ol><li><p><b><font size="3"><div class="psti"></b></p><p><b> $comment&nbsp;</b></p><p><b> <!--{if $comment}--></b></p><p><b> <a href="forum.php?mod=redirect&goto=findpost&pid=$comment&ptid=$_G" class="xi2">{lang detail}</a></b></p><p><b> <a href="forum.php?mod=post&action=reply&fid=$_G&tid=$_G&repquote=$comment&extra=$_GET&page=$page{if $_GET}&from=$_GET{/if}" class="xi2" onclick="showWindow('reply', this.href)">{lang reply}</a></b></p><p><b> <!--{/if}--></b></p><p><b> <span class="xg1"></b></p><p><b> {lang poston} <!--{date($comment, 'u')}--></b></p><p><b> <!--{if $comment['useip'] && $_G['group']['allowviewip']}-->&nbsp;IP:$comment<!--{/if}--></b></p><p><b> <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowdelpost']}-->&nbsp;<a href="javascript:;" onclick="modaction('delcomment', $comment)">{lang delete}</a><!--{/if}--></b></p><p><b> </span></b></p><p><b> </div></font></b></p></ol><br /><br /><br /><strong>x3.1 ~ x3.2 版本</strong><br /><br /><strong>打開</strong><br /><br /><strong>template/default/forum/viewthread_node_body.htm 文件</strong><br /><br /><strong>查找</strong><br /><br /><ol><li><p><b><div class="psti"></b></p><p><b> $comment&nbsp;</b></p><p><b> <!--{if $comment}--></b></p><p><b> <a href="forum.php?mod=redirect&goto=findpost&pid=$comment&ptid=$_G" class="xi2">{lang detail}</a></b></p><p><b> <a href="forum.php?mod=post&action=reply&fid=$_G&tid=$_G&repquote=$comment&extra=$_GET&page=$page{if $_GET}&from=$_GET{/if}" class="xi2" onclick="showWindow('reply', this.href)">{lang reply}</a></b></p><p><b> <!--{/if}--></b></p><p><b> <span class="xg1"></b></p><p><b> {lang poston} <!--{date($comment, 'u')}--></b></p><p><b> <!--{if $comment['useip'] && $_G['group']['allowviewip']}-->&nbsp;IP:$comment{if $comment}:$comment{/if}<!--{/if}--></b></p><p><b> <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowdelpost']}-->&nbsp;<a href="javascript:;" onclick="modaction('delcomment', $comment)">{lang delete}</a><!--{/if}--></b></p><p><b> </span></b></p><p><b> </div></b></p></ol><br /><br /><br /><strong>替換為</strong><br /><br /><ol><li><p><b><font size="3"><div class="psti"></b></p><p><b> $comment&nbsp;</b></p><p><b> <!--{if $comment}--></b></p><p><b> <a href="forum.php?mod=redirect&goto=findpost&pid=$comment&ptid=$_G" class="xi2">{lang detail}</a></b></p><p><b> <a href="forum.php?mod=post&action=reply&fid=$_G&tid=$_G&repquote=$comment&extra=$_GET&page=$page{if $_GET}&from=$_GET{/if}" class="xi2" onclick="showWindow('reply', this.href)">{lang reply}</a></b></p><p><b> <!--{/if}--></b></p><p><b> <span class="xg1"></b></p><p><b> {lang poston} <!--{date($comment, 'u')}--></b></p><p><b> <!--{if $comment['useip'] && $_G['group']['allowviewip']}-->&nbsp;IP:$comment{if $comment}:$comment{/if}<!--{/if}--></b></p><p><b> <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowdelpost']}-->&nbsp;<a href="javascript:;" onclick="modaction('delcomment', $comment)">{lang delete}</a><!--{/if}--></b></p><p><b> </span></b></p><p><b> </div></font></b></p></ol><br /><br /><br /><strong>修改前請先備份</strong><br /><strong>修改後記得更新緩存</strong><br /><br /><strong>修改前</strong><br /><br /><img title="3.jpg" id="aimg_2271" aid="2271" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/201908/14/004104dbz1avbeem1asmib.jpg" src="https://www.dismall.com/data/attachment/forum/201908/14/004104dbz1avbeem1asmib.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="595" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br /><strong>修改後</strong><br /><br /><img title="4.jpg" id="aimg_2272" aid="2272" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/201908/14/004104gmja8tcr8606i2gr.jpg" src="https://www.dismall.com/data/attachment/forum/201908/14/004104gmja8tcr8606i2gr.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="597" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br /><br /><strong>溫馨小叮嚀</strong><br /><br /><strong>除了修復 bug 外</strong><br /><strong>任何的修改和美化</strong><br /><strong>除非實在很需要</strong><br /><strong>不然不建議修改文件喔^^</strong><br /><br /><br />修改<em>, </em>美化<em>, </em>溫馨<em>, </em>小叮<em>, </em>除了
頁:
[1]