主题自定义代码

放置于底部自定义代码区

1.隐藏评论

<script type="text/javascript">
  $(document).ready(function(){
    $(".jinsom-comment-form").remove();
    $(".jinsom-bbs-edior.comment").remove();
    $(".jinsom-comments-btn.opacity").remove();
    $("span.comment").remove();
    
  });
</script>


2.手机端

<script type="text/javascript">
myApp.onPageBeforeInit('post-single', function(page) {
  $('.jinsom-single-comment').remove();
  $('.jinsom-post-words-tool').children('a').attr("disabled", true).css("pointer-events", "none").text("禁止回复");
  $('.jinsom-post-words-tool').find('a.comment').remove();
})
</script>


3.电脑端css

.class{color:#f00;}
/*冲向2025*/
@-webkit-keyframes yxyh2023a{0%{left: -50%;opacity:0;}
25%{left: 25%;opacity:1;}
50%{left: 50%;opacity:0;}
75%{left: 75%;opacity:1;}
100%{left: 150%;opacity:0;}}}}
@keyframes yxyh2023a{0%{left: -50%;opacity:0;}
25%{left: 25%;opacity:1;}
50%{left: 50%;opacity:0;}
75%{left: 75%;opacity:1;}
100%{left: 150%;opacity:0;}}
@-webkit-keyframes yxyh2023b{0%{transform: translateY(-1px);}
50%{transform: translateY(1px);}
100%{transform: translateY(-1px);}}
@keyframes yxyh2023b{0%{transform: translateY(-1px);}
50%{transform: translateY(1px);}
100%{transform: translateY(-1px);}}
.jinsom-honor-冲向2025{position: relative;overflow: hidden;visibility: hidden;background: none!important;display: inline-flex;}
.jinsom-honor-冲向2025:after{content: "—";position: absolute;line-height: 8px;right: 0;top: 3px;bottom: 3px;width: 20px;border-top: 1px #9e9e9e solid;border-bottom: 1px #9e9e9e solid;-webkit-animation: yxyh2023a 0.5s ease-out infinite;animation: yxyh2023a 0.5s ease-out infinite;text-indent: -10px;color: #607d8b;font-weight: bold;font-size: 12px;visibility: visible;opacity: .7;-webkit-transform: skew(60deg);-moz-transform: skew(60deg);-o-transform: skew(60deg);}
.jinsom-honor-冲向2025:before{content: "冲向2025";visibility: visible;position: absolute;-webkit-animation: yxyh2023b 1s linear infinite;animation: yxyh2023b 1s linear infinite;z-index: 1;background: -webkit-linear-gradient(0deg,#ff5722,#ffc107);color: transparent;-webkit-background-clip: text;font-weight: bold;}
/*字体*/
@font-face {
font-family: 'HarmonyOS';
src:
url('https://cloud-music.nos-eastchina1.126.net/font/FZYouHJW_509R.TTF') format('truetype'),
font-weight: 400;
font-style: normal;
font-display: swap;
}
*:not([class*="icon"]):not(i) {
font-family: "HarmonyOS" !important;
}


评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注