首页一排显示6张图片:

index.php文件115行(2,4,8分别对应手机端,平板端 电脑端)

$cols="grid-cols-2 sm:grid-cols-4 xl:grid-cols-8";
改成
$cols="grid-cols-2 sm:grid-cols-4 xl:grid-cols-6";

123行

else{$sl=$slm*8;}
改成
else{$sl=$slm*6;}

文章页一排显示6张图片:

archive.php文件26行

<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 xl:grid-cols-8 gap-4">
改成
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 xl:grid-cols-6 gap-4">

文章页最大宽度:

post.php文件6行

<div class="max-w-screen-lg w-full mx-auto py-4 dark:text-white"<?php if($this->is('post')): ?>
改为
<div class="w-full mx-auto py-4 dark:text-white"<?php if($this->is('post')): ?>

赞,分享,赏

post.php文件
删除

<div class="absolute bottom-0 left-0 right-0 py-6 md:py-0 md:static text-center text-gray-700 mt-6 dark:text-gray-200">

 <a href="javascript:;" x-ref="like" @click="like($refs.like)" data-action="like" data-id="<?php $this->cid(); ?>"  class="btn-like mx-3 w-14 h-14 inline-block justify-center px-2 py-2 text-sm font-medium transition-colors duration-150 bg-gray-100 border border-transparent rounded-full dark:bg-gray-800">
        <span>
<i class="text-xl sui-Heart mx-auto block"></i>
            <small class="like-count font-theme text-xs" x-text="likenum"></small>
        </span>
    </a>
            <a href="javascript:;" x-ref="share" @click="share()" class="btn-share-toggler mx-3 w-14 h-14 inline-block justify-center px-2 py-2 text-sm font-medium transition-colors duration-150 bg-gray-100 border border-transparent rounded-full dark:bg-gray-800">
        <span>
<i class="text-xl sui-fenxinag mx-auto block"></i>
            <small class="share-count font-theme text-xs" x-text="sharenum"></small>
        </span>
    </a>
</div>
<div class="text-center text-gray-700 mt-12 dark:text-gray-200">

    <a href="javascript:;" x-ref="reward" @click="reward($refs.reward)" data-title="扫码打赏" data-desc="微信扫码" data-desc2="支付宝扫码" data-wx="<?php echo wx; ?>" data-tb="<?php echo tb; ?>" class="single-reward mx-3 w-14 h-14 inline-block justify-center px-2 py-2 text-sm font-medium transition-colors duration-150 bg-gray-100 border border-transparent rounded-full dark:bg-gray-800">
        <span><i class="text-xl sui-saoma mx-auto block"></i>
<small class="font-theme text-xs" x-text="shang"></small></span></a>
</div> 

改为

<div class="text-center text-gray-700 mt-12 dark:text-gray-200">

 <a href="javascript:;" x-ref="like" @click="like($refs.like)" data-action="like" data-id="<?php $this->cid(); ?>"  class="btn-like mx-3 w-14 h-14 inline-block justify-center px-2 py-2 text-sm font-medium transition-colors duration-150 bg-gray-100 border border-transparent rounded-full dark:bg-gray-800">
        <span>
<i class="text-xl sui-Heart mx-auto block"></i>
            <small class="like-count font-theme text-xs" x-text="likenum"></small>
        </span>
    </a>

    <a href="javascript:;" x-ref="reward" @click="reward($refs.reward)" data-title="扫码打赏" data-desc="微信扫码" data-desc2="支付宝扫码" data-wx="<?php echo wx; ?>" data-tb="<?php echo tb; ?>" class="single-reward mx-3 w-14 h-14 inline-block justify-center px-2 py-2 text-sm font-medium transition-colors duration-150 bg-gray-100 border border-transparent rounded-full dark:bg-gray-800">
        <span><i class="text-xl sui-saoma mx-auto block"></i>
<small class="font-theme text-xs" x-text="shang"></small></span></a>

            <a href="javascript:;" x-ref="share" @click="share()" class="btn-share-toggler mx-3 w-14 h-14 inline-block justify-center px-2 py-2 text-sm font-medium transition-colors duration-150 bg-gray-100 border border-transparent rounded-full dark:bg-gray-800">
        <span>
<i class="text-xl sui-fenxinag mx-auto block"></i>
            <small class="share-count font-theme text-xs" x-text="sharenum"></small>
        </span>
    </a>

</div>

登陆后才可评论

  1. 使用插件SmartSpam,设置游客评论失败
  2. comments.php删除Email、昵称、站点框
  3. functions.php文件330行
$validator->addRule('author', 'required', _t('必须填写用户名'));
改为
$validator->addRule('author', 'required', _t('请登录后发表评论'));