(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-095bfd0b"],{"2db0":function(e,t,c){"use strict";c("68ef"),c("cb51"),c("3743"),c("1a04"),c("1146"),c("f032")},"341e":function(e,t,c){"use strict";c.d(t,"a",(function(){return v}));var a=c("23f9"),l=c("7a23"),o=c("1fba"),n=c("fa7c"),s=c("e5f6"),r=c("8db7"),i=c("80ac"),d=c("05df"),b=c("efd9"),j=c("f23a");const[O,u,p]=Object(o["a"])("search"),m=Object(n["a"])({},i["b"],{label:String,shape:Object(s["e"])("square"),leftIcon:Object(s["e"])("search"),clearable:s["g"],actionText:String,background:String,showAction:Boolean});var k=Object(l["defineComponent"])({name:O,props:m,emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup(e,{emit:t,slots:c,attrs:a}){const o=Object(d["a"])(),s=Object(l["ref"])(),O=()=>{c.action||(t("update:modelValue",""),t("cancel"))},m=c=>{const a=13;c.keyCode===a&&(Object(r["e"])(c),t("search",e.modelValue))},k=()=>e.id||o+"-input",v=()=>{if(c.label||e.label)return Object(l["createVNode"])("label",{class:u("label"),for:k()},[c.label?c.label():e.label])},f=()=>{if(e.showAction){const t=e.actionText||p("cancel");return Object(l["createVNode"])("div",{class:u("action"),role:"button",tabindex:0,onClick:O},[c.action?c.action():t])}},g=()=>{var e;return null==(e=s.value)?void 0:e.blur()},E=()=>{var e;return null==(e=s.value)?void 0:e.focus()},h=e=>t("blur",e),B=e=>t("focus",e),V=e=>t("clear",e),A=e=>t("clickInput",e),y=e=>t("clickLeftIcon",e),N=e=>t("clickRightIcon",e),I=Object.keys(i["b"]),w=()=>{const o=Object(n["a"])({},a,Object(n["k"])(e,I),{id:k()}),r=e=>t("update:modelValue",e);return Object(l["createVNode"])(j["a"],Object(l["mergeProps"])({ref:s,type:"search",class:u("field",{"with-message":o.errorMessage}),border:!1,onBlur:h,onFocus:B,onClear:V,onKeypress:m,onClickInput:A,onClickLeftIcon:y,onClickRightIcon:N,"onUpdate:modelValue":r},o),Object(n["k"])(c,["left-icon","right-icon"]))};return Object(b["a"])({focus:E,blur:g}),()=>{var t;return Object(l["createVNode"])("div",{class:u({"show-action":e.showAction}),style:{background:e.background}},[null==(t=c.left)?void 0:t.call(c),Object(l["createVNode"])("div",{class:u("content",e.shape)},[v(),w()]),f()])}}});const v=Object(a["a"])(k)},"3bd2":function(e,t,c){e.exports=c.p+"img/empty.c9c42a18.png"},"3e78":function(e,t,c){"use strict";c("b50f")},4866:function(e,t,c){e.exports=c.p+"img/welfare_bg.fcba194e.png"},"5d6d":function(e,t,c){"use strict";c("d1a5")},8784:function(e,t,c){"use strict";c("e44c")},ab39:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAbBJREFUWEftmL1NBDEQhd8kkEIJ0IKdUAKHCDhCSiCgFgJKIAQhIY4SLrFbgBIghWSQpV0JWfZ67PHBIm7DlWfm2zc/tpcw84dmzoctoDZDf1NBa+2KmY+I6MI5t9KqMGVvrV0w8y0RrZ1zi3htUkFjzBuAPQAfAM6990+bgDTGnAC4A7AL4N17vy8CHL7qfjDcCOQAF2LsBCGIaJnKVrYGNwkZKZeFC2pONknsqEe6Y+VKPotdHDn8BLBsrckWX0XAIHOL47jYW32IALWQrXDFGuyhggauGrBWSS1cE6AUsgdcM2AJshecCjAHOdTtuEOoxpIaMAMZXoftSw3XBTABGV51gfsfgImGmE+KU906myaZGiW/PmYkAJI1klO6+LAwOqsJXLM2B1sF2BKwxeY7rBhQE0hjKwLUBGgpjSoFe8BpICWXpm4bf+kUlGqULGBP5Qon88l7dxLQWnvMzA/jpbp0NZTMsxIkEZ05557jdTnAF2Y++MlfH0T06pw7FAEaY66J6BTAZeqrWhTL2YRsAbhh5kfv/ZUIsCeA1pdoDmqDaOy3gBr1uh35tRBT9l+VEFk4dJ+VdQAAAABJRU5ErkJggg=="},b50f:function(e,t,c){},d1a5:function(e,t,c){},e44c:function(e,t,c){},efe3:function(e,t,c){"use strict";c.r(t);var a=c("fa47"),l=c("341e"),o=(c("2db0"),c("7a23")),n=c("6605"),s=c("5913"),r=(c("d510"),c("fc91")),i=c("4866"),d=c.n(i),b=c("0530");const j=e=>(Object(o["pushScopeId"])("data-v-2dd7c4c4"),e=e(),Object(o["popScopeId"])(),e),O={class:"hot-list-wrap"},u=j(()=>Object(o["createElementVNode"])("div",{class:"hot-title"},null,-1)),p={class:"list"},m={key:0,class:"loading-wrap"},k={key:1},v=["onClick"],f={class:"left-part flex-ac"},g={class:"pic-wrap"},E=["src"],h={class:"status"},B={class:"info-card"},V={class:"name"},A={class:"label"},y={class:"status"};var N={__name:"hotList",setup(e){const t=Object(o["ref"])([]),c=Object(o["ref"])(!0),a=e=>{e.target.src=d.a},l=async e=>{await b["a"].playVideoById({drama_id:e.spid+"",platform:e.platform})};return Object(o["onMounted"])(async()=>{const{data:e}=await Object(r["g"])({page:1,sort:"search_hot",size:10});c.value=!1,t.value=e.list}),(e,n)=>{const r=s["a"];return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",O,[u,Object(o["createElementVNode"])("div",p,[c.value?(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",m,[Object(o["createVNode"])(r,{color:"linear-gradient( 138deg, #50E4E8 0%, #0ED674 100%)"})])):(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",k,[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(t.value,(e,t)=>(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",{class:"card-item flex-ac-jb",onClick:t=>l(e),key:t},[Object(o["createElementVNode"])("div",f,[Object(o["createElementVNode"])("div",g,[Object(o["createElementVNode"])("img",{class:"img",src:e.cover,onError:n[0]||(n[0]=e=>a(e)),alt:""},null,40,E),Object(o["createElementVNode"])("div",{class:Object(o["normalizeClass"])(["rank","level"+(t+1)])},Object(o["toDisplayString"])(t+1),3),Object(o["createElementVNode"])("div",h,Object(o["toDisplayString"])(e.sp_status?"未完结":"已完结"),1)]),Object(o["createElementVNode"])("div",B,[Object(o["createElementVNode"])("div",V,Object(o["toDisplayString"])(e.title),1),Object(o["createElementVNode"])("div",A,Object(o["toDisplayString"])(e.cname),1),Object(o["createElementVNode"])("div",y,Object(o["toDisplayString"])(e.sp_status?"未完结":"已完结"),1)])]),Object(o["createElementVNode"])("div",{class:Object(o["normalizeClass"])(["right-part","level"+(t+1)])},Object(o["toDisplayString"])((e.collect_num/1e4).toFixed(1))+"万人在追 ",3)],8,v))),128))]))])])}}},I=(c("8784"),c("6b0d")),w=c.n(I);const C=w()(N,[["__scopeId","data-v-2dd7c4c4"]]);var S=C,x=c("ab39"),D=c.n(x),L=c("2849");const _=e=>(Object(o["pushScopeId"])("data-v-71d5a384"),e=e(),Object(o["popScopeId"])(),e),F={class:"search-page"},J={class:"search-header flex-ac"},M={class:"content"},U=_(()=>Object(o["createElementVNode"])("div",{class:"search-icon"},[Object(o["createElementVNode"])("i",{class:"icon"})],-1)),G={class:"search-content"},K={key:0,class:"init-status"},T={key:0,class:"history-wrap"},W=_(()=>Object(o["createElementVNode"])("div",{class:"title"},null,-1)),z={class:"history-list"},Q=["onClick"],R={key:1,class:"search-status"},Y={key:0},Z=["onClick"],q={class:"left-part"},X=["src"],H={class:"right-part"},P={class:"title"},$={class:"text"},ee={class:"desc"};var te={__name:"index",setup(e){const t=Object(o["ref"])(null),c=Object(o["ref"])(""),s=Object(o["ref"])([]),i=Object(o["ref"])([]),j=Object(o["ref"])(!1),O=Object(n["d"])(),u=()=>{O.back()},p=async e=>{await b["a"].playVideoById({drama_id:e.spid+"",platform:e.platform})},m=async()=>{await Object(L["a"])({message:"清除后此前搜索记录都会消失哦~",title:"确认清除搜索记录吗？",cancelButtonText:"再想想",className:"delhistory-confirm"}),await Object(r["b"])(),s.value=[]},k=()=>{j.value=!1,i.value=[],c.value=""},v=e=>{c.value=e,f()},f=async e=>{const{data:t}=await Object(r["g"])({page:1,size:10,keyword:c.value});j.value=!0,i.value=t.list.map(e=>({...e,titleArr:e.title.split("")}))},g=e=>{e.target.src=d.a};return Object(o["onMounted"])(async()=>{Object(o["nextTick"])(()=>{t.value.$el.querySelector("input").focus()});const{data:e}=await Object(r["h"])();s.value=e.history}),(e,n)=>{const r=l["a"],d=a["a"];return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",F,[Object(o["createElementVNode"])("div",J,[Object(o["createElementVNode"])("i",{class:"left-icon",onClick:u}),Object(o["createElementVNode"])("div",M,[U,Object(o["createVNode"])(r,{ref_key:"searchRef",ref:t,modelValue:c.value,"onUpdate:modelValue":n[0]||(n[0]=e=>c.value=e),autocomplete:"off",placeholder:"搜索剧名/主角名",clearable:"",onSearch:f,"clear-icon":Object(o["unref"])(D.a),onClear:k},null,8,["modelValue","clear-icon"])]),Object(o["createElementVNode"])("div",{class:"right-btn",onClick:f},"搜索")]),Object(o["createElementVNode"])("div",G,[j.value?(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",R,[i.value.length?(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",Y,[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(i.value,(e,t)=>(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",{class:"search-item",onClick:t=>p(e),key:t},[Object(o["createElementVNode"])("div",q,[Object(o["createElementVNode"])("img",{class:"cover",src:e.cover,alt:"",onError:n[1]||(n[1]=e=>g(e))},null,40,X)]),Object(o["createElementVNode"])("div",H,[Object(o["createElementVNode"])("div",P,[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(e.titleArr,(e,t)=>(Object(o["openBlock"])(),Object(o["createElementBlock"])("span",{key:t,class:Object(o["normalizeClass"])([e===c.value?"bold":""])},Object(o["toDisplayString"])(e),3))),128))]),Object(o["createElementVNode"])("div",$,Object(o["toDisplayString"])(e.cname),1),Object(o["createElementVNode"])("div",ee,Object(o["toDisplayString"])(e.desc),1)])],8,Z))),128))])):(Object(o["openBlock"])(),Object(o["createBlock"])(d,{key:1,text:"暂无搜索内容"}))])):(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",K,[s.value.length?(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",T,[Object(o["createElementVNode"])("div",{class:"history-header flex-ac-jb"},[W,Object(o["createElementVNode"])("div",{class:"del",onClick:m})]),Object(o["createElementVNode"])("div",z,[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(s.value,(e,t)=>(Object(o["openBlock"])(),Object(o["createElementBlock"])("div",{class:"history-item",key:t,onClick:t=>v(e)},Object(o["toDisplayString"])(e),9,Q))),128))])])):Object(o["createCommentVNode"])("",!0),Object(o["createVNode"])(S)]))])])}}};c("5d6d");const ce=w()(te,[["__scopeId","data-v-71d5a384"]]);t["default"]=ce},f032:function(e,t,c){},fa47:function(e,t,c){"use strict";var a=c("7a23"),l=c("3bd2"),o=c.n(l),n=c("26a1");const s={class:"empty-container"},r={class:"text"};var i={__name:"index",props:["text","width"],setup(e){return(t,c)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",s,[Object(a["createElementVNode"])("img",{class:"img",style:Object(a["normalizeStyle"])({width:Object(a["unref"])(n["a"])(e.width||340)+"px"}),src:o.a,alt:""},null,4),Object(a["createElementVNode"])("div",r,Object(a["toDisplayString"])(e.text||"暂无在追的剧，去看剧吧"),1)]))}},d=(c("3e78"),c("6b0d")),b=c.n(d);const j=b()(i,[["__scopeId","data-v-76d8a133"]]);t["a"]=j}}]);