<i class="las la-book" onclick="showAnimeBlockIntroduce({{ forloop.counter }})"></i>
function showAnimeBlockIntroduce(num) {
let block = $("#ta-animeBlock-introduce-"+num);
block.css("opacity") === '0' ? block.css("opacity", "1") : block.css("opacity", "0");
}
function showAnimeBlockIntroduce(num) {
let block = $("#ta-animeBlock-introduce-"+num);
block.css("display") === 'none' ? block.css("display", "block") : block.css("display", "none");
}
.ta-animeBlock-introduce {
display: none;
/* opacity: 0; */
/*
其他一大堆属性
*/
overflow-y: auto;
transition: all 2s ease;
}
.ta-animeBlock-introduce {
/* 还原回opacity */
opacity: 0;
/*
其他一大堆属性
*/
overflow-y: auto;
transition: all 2s ease;
}
/* 新增 */
.ta-animeBlock-introduce::-webkit-scrollbar {
width: 0!important;
}
function showAnimeBlockIntroduce(num) {
let block = $("#ta-animeBlock-introduce-"+num);
block.css("opacity") === '0' ? block.css({"opacity":"1", "overflow-y":"auto"}) : block.css({"opacity":"0", "overflow-y":"hidden"});
}
.ta-animeBlock-introduce {
opacity: 0;
position: absolute;
top: 0;
width: 100%;
height: 300px;
line-height: 32px;
padding: 1.5rem;
word-break: break-all;
/* hidden的时候无法滚动 */
overflow-y: hidden;
color: var(--ta-white);
background: rgba(0, 0, 0, .3);
transition: all 2s ease;
}
.ta-animeBlock-introduce::-webkit-scrollbar {
width: 0!important;
}
此页面不支持夜间模式!
已进入夜间模式!
已进入普通模式!
搜索框不允许为空
签到成功!经验+5!芋圆币+2!
签到失败!今日已签到!
需要登录社区账号才可以进入!