import{a as s,$ as t}from"./jquery.ae2e4fc2.js";import"./index.8d9a5802.js";import{p as e,j as i,o as a,k as c,e as o,t as l,F as n,m as r,l as d,v as m}from"./vendor.4ad3eef5.js";import{_ as p,a as u}from"./bootstrap-datetimepicker.min.css_vue&type=style&index=2&src&lang.c9bd92a9.js";const h={data:()=>({timeId:"",data:"",timeInfo:""}),mounted(){var s=sessionStorage.getItem("ListShow");s&&1==s&&(sessionStorage.setItem("ListShow",0),setTimeout((()=>{window.location.reload()}),100)),this.timeInfo=this.$route.query.time,this.getJson()},methods:{removeScripts(){const s=document.querySelectorAll('script[src^="/h5/public/static/js/"]');document.querySelectorAll('style[src^="/public/static/css/"]').forEach((s=>s.remove())),s.forEach((s=>s.remove()))},openBm(s){sessionStorage.setItem("index",s),sessionStorage.setItem("isShow",1),setTimeout((()=>{window.history.back()}),50)},getJson(){s.post("https://jinrigushi.gushitv.com/api/h5/date/search",{date:this.timeInfo}).then((s=>{this.data=s.data.data,console.log(s),t("#activeDate").val(this.timeInfo),this.loadScripts(["/h5/public/static/js/jquery.min.js","/h5/public/static/js/jquery.mobile.custom.min.js","/h5/public/static/js/bootstrap.min.js","/h5/public/static/js/bootstrap-datetimepicker.min.js","/h5/public/static/js/bootstrap-datetimepicker.zh-CN.js","/h5/public/static/js/jquery.qrcode.min.js","/h5/public/static/js/pinchzoom.min.js","/h5/public/static/js/html2canvas.min.js","/h5/public/static/js/navi.js","/h5/public/static/js/qfstatH5.js","/h5/public/static/js/posterShare.js","/h5/public/static/js/bigHaiBao.js"])})).catch((s=>console.error("Error loading the JSON file:",s)))},loadScripts(s){s.reduce(((s,t)=>s.then((()=>(s=>new Promise((t=>{const e=document.createElement("script");e.src=s,e.type="text/javascript",e.onload=t,document.head.appendChild(e)})))(t)))),Promise.resolve())}}};e("data-v-1106100f");const v=o("input",{type:"hidden",id:"activeDate",value:""},null,-1),j={key:0,class:"topBox"},b={class:"cp"},f=o("div",{class:"divider"},null,-1),y=o("div",{class:"divider"},null,-1),g={class:"thumbnail-left-left clearfix"},S={class:"shortjpg"},I={class:"title"},x=["onClick"],q=["src"],w=o("div",{class:"footerBox"},[o("div",{class:"footerWrap wangqi"},[o("div",{class:"item"},[o("img",{src:p,alt:""}),o("div",{class:"text datetimeBtn"},"往期")])]),o("div",{class:"synthesis share"},[o("div",{class:"item"},[o("img",{src:u,alt:""}),o("div",{class:"text"},"分享")])]),o("input",{type:"text",class:"form_date"}),o("div",{class:"cancelBox",style:{display:"none"}},[o("button",{class:"cancelBtn"},"取消")]),o("div",{class:"synthPage"})],-1),k=o("div",{class:"mask"},null,-1),B={style:{display:"none"},id:"publishDateTime"};i(),h.render=function(s,t,e,i,p,u){return a(),c("div",null,[v,""!==p.data?(a(),c("div",j,[o("div",b,l(p.timeInfo)+" 版面总览",1),f,y,o("div",g,[o("ul",null,[(a(!0),c(n,null,r(p.data.bm,((s,t)=>(a(),c("li",S,[o("p",null,[o("span",I,l(s.bm_name),1)]),o("a",{href:"#",onClick:m((s=>u.openBm(t)),["prevent"])},[o("img",{class:"paperImg",src:s.bm_img,border:"0",style:{width:"100%"}},null,8,q)],8,x)])))),256))])])])):d("",!0),w,k,o("div",B,l(p.timeInfo),1)])},h.__scopeId="data-v-1106100f";export{h as default};
