PageSourceSearch

https://m.juooo.com/next/assets/TheaterIndex.c4bbc11a.js

js juooo.com collected 2026-10-04 08:59:11 UTC 2,862 bytes, 1 lines download raw bytes

1import{g as h,x as b,w as v,h as y,j as p,s as g,t as e,a0 as d,m as x,E as T,F as k,i as $,r as I,a1 as m}from"./vendor.2ffabf8d.js";import{_ as f,u as w}from"./index.b031f90a.js";const l=a=>(T("data-v-70bc21a3"),a=a(),k(),a),C={class:"tabs"},S=["src"],q=l(()=>e("text",{class:"tab-text"},"\u5267\u9662",-1)),B=["src"],j=l(()=>e("text",{class:"tab-text"},"\u8D2D\u7968",-1)),E=["src"],D=l(()=>e("text",{class:"tab-text"},"\u7968\u5939",-1)),M=["src"],N=l(()=>e("text",{class:"tab-text"},"\u6211\u7684",-1)),R=h({__name:"Tabs",props:{activedTab:{type:String,default:function(){return"home"}}},emits:["update:activedTab"],setup(a,{emit:i}){const s=a,t=b("home");v(()=>s.activedTab,()=>{t.value=s.activedTab},{immediate:!0}),v(()=>t.value,()=>{i("update:activedTab",t.value)},{immediate:!0});const o=y(),r=p();w();const n=u=>{switch(u){case"home":o.replace(`/theater/home?theater_id=${r.query.theater_id}`);break;case"theater":o.replace(`/theater/project/category?theater_id=${r.query.theater_id}`);break;case"eticket":o.replace(`/theater/eticket/list?theater_id=${r.query.theater_id}`);break;case"mine":o.replace(`/theater/mine?theater_id=${r.query.theater_id}`);break}t.value=u};return(u,c)=>(x(),g("div",C,[e("div",{class:d(["tab",{active:t.value==="home"}]),onClick:c[0]||(c[0]=_=>n("home"))},[e("img",{class:"tab-icon",src:t.value==="home"?"/next/imgs/home_actived.svg":"/next/imgs/home.svg"},null,8,S),q],2),e("div",{class:d(["tab",{active:t.value==="theater"}]),onClick:c[1]||(c[1]=_=>n("theater"))},[e("img",{class:"tab-icon",src:t.value==="theater"?"/next/imgs/buy_actived.svg":"/next/imgs/buy.svg"},null,8,B),j],2),e("div",{class:d(["tab",{active:t.value==="eticket"}]),onClick:c[2]||(c[2]=_=>n("eticket"))},[e("img",{class:"tab-icon",src:t.value==="eticket"?"/next/imgs/eticket_actived.svg":"/next/imgs/eticket.svg"},null,8,E),D],2),e("div",{class:d(["tab",{active:t.value==="mine"}]),onClick:c[3]||(c[3]=_=>n("mine"))},[e("img",{class:"tab-icon",src:t.value==="mine"?"/next/imgs/mine_actived.svg":"/next/imgs/mine.svg"},null,8,M),N],2)]))}});var V=f(R,[["__scopeId","data-v-70bc21a3"]]);const z=a=>(T("data-v-23d8c089"),a=a(),k(),a),A={class:"index"},F={class:"tabs-area"},H=z(()=>e("view",{class:"tabs-bg"},null,-1)),L={class:"tabs-items-area"},P=h({__name:"TheaterIndex",setup(a){const i=b("home"),s=p();return $(()=>{localStorage.setItem("theater",String(s.query.theater_id))}),v(()=>s.name,()=>{s.name==="TheaterHome"?i.value="home":s.name==="TheaterProjectCategory"?i.value="theater":s.name==="TheaterMine"?i.value="mine":s.name=="TheaterEticketList"&&(i.value="eticket")},{immediate:!0}),(t,o)=>{const r=I("router-view");return x(),g("div",A,[m(r),e("div",F,[H,e("view",L,[m(V,{activedTab:i.value,"onUpdate:activedTab":o[0]||(o[0]=n=>i.value=n)},null,8,["activedTab"])])])])}}});var J=f(P,[["__scopeId","data-v-23d8c089"]]);export{J as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.