dede去掉顶踩部分模块代码显示的修改方法

找到模板目录:/templets/default/article_article.htm 模板文件里找到以下代码注释或者删除即可:

<div>
    <div class="diggbox digg_good" onmousemove="this.style.backgroundPosition='left bottom';"
        onmouseout="this.style.backgroundPosition='left top';" onclick="javascript:postDigg('good',{dede:field.id/})">
        <div class="digg_act">顶一下</div>
        <div class="digg_num">({dede:field.goodpost/})</div>
        <div class="digg_percent">
            <div class="digg_percent_bar"><span style="width:{dede:field.goodper/}%"></span></div>
            <div class="digg_percent_num">{dede:field.goodper/}%</div>
        </div>
    </div>
    <div class="diggbox digg_bad" onmousemove="this.style.backgroundPosition='right bottom';"
        onmouseout="this.style.backgroundPosition='right top';" onclick="javascript:postDigg('bad',{dede:field.id/})">
        <div class="digg_act">踩一下</div>
        <div class="digg_num">({dede:field.badpost/})</div>
        <div class="digg_percent">
            <div class="digg_percent_bar"><span style="width:{dede:field.badper/}%"></span></div>
            <div class="digg_percent_num">{dede:field.badper/}%</div>
        </div>
    </div>
</div>
<script language="javascript" type="text/javascript">
    getDigg({
        dede: field.id /
    });
</script>

 

posted @ 2023-07-14 14:25  asqq8  阅读(3)  评论(0编辑  收藏  举报