").attr({src:cover_url,alt:a}),u=$("
");if(null!=f){u.append("个人评分:");let e=f.star_count;for(let t=0;t");v.append("豆瓣评分:");for(let e=0;e").attr({width:60,height:60});p.attr("id","canvas"+h),drawMain(p[0],10*w,"#"+n,"#"+i),v.append(" "+w+"/10"),s.append(c),r.append(p),o.append(r),o.append(s),d.append(l),d.append(u),d.append(v),o.append(d),e.append(o)}}getData(jsonFile),document.addEventListener("click",(function(e){if(e.target.classList.contains("search")){event.preventDefault();var t=e.target.dataset.search;document.querySelector(`.active[data-search="${t}"]`)?.classList.remove("active");e.target.dataset.value&&e.target.classList.add("active")}getData(jsonFile)}))