2 lines
20 KiB
Vue
Raw Normal View History

2025-04-29 09:38:12 +08:00
var j=Object.defineProperty,W=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var C=(e,t,a)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,P=(e,t)=>{for(var a in t||(t={}))$.call(t,a)&&C(e,a,t[a]);if(L)for(var a of L(t))M.call(t,a)&&C(e,a,t[a]);return e},x=(e,t)=>W(e,H(t));import{r as B,u as Y,a as g,o as f,c as X,b as O,d as E,w as p,e as h,K as z,f as T,g as b,S as G,n as K,h as J,v as Q,i as Z,j as I,k as ee,l as te,m as ae,T as U,I as oe,E as A,p as re,B as ne,q as ie,s as se,N as ue,G as le,t as ce,x as de,y as me,C as pe,R as he,F as _e,z as ge,A as fe,D as ve,H as we,J as Ee,L as Ie,M as be,O as Ae,P as De,Q as Re,U as ye,V as Le,W as Ce,X as Pe,Y as xe,Z as Be,_ as Oe,$ as Te,a0 as Ve,a1 as ke,a2 as Fe,a3 as Ue,a4 as qe,a5 as Se}from"./vendor.3937d42d.js";const Ne=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const i of n.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function a(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerpolicy&&(n.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?n.credentials="include":r.crossorigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function o(r){if(r.ep)return;r.ep=!0;const n=a(r);fetch(r.href,n)}};Ne();var je=(e,t)=>{const a=e.__vccOpts||e;for(const[o,r]of t)a[o]=r;return a};const We={name:"App",setup(){const e=B(0),t=B(!1),a=!0,o=Y();return{active:e,tabbarShow:t,isLoading:a,route:o}},watch:{$route:{handler(e){const{path:t}=e,a=["/home","/red-black-list","/personal-center"].indexOf(t);~a?(this.active=a,this.tabbarShow=!0):this.tabbarShow=!1},deep:!0}}},He={id:"app"},$e=I("\u9996\u9875"),Me=I("\u7EA2\u9ED1\u699C"),Ye=I("\u4E2A\u4EBA\u4E2D\u5FC3"),Xe={id:"wholeCover"},ze=I("\u52A0\u8F7D\u4E2D...");function Ge(e,t,a,o,r,n){const i=g("router-view"),s=g("van-tabbar-item"),l=g("van-tabbar"),u=g("van-loading"),d=g("van-overlay");return f(),X("div",He,[O("div",{class:K(o.tabbarShow?"content":"common")},[(f(),E(G,null,{default:p(()=>[h(i,null,{default:p(({Component:m})=>[(f(),E(z,null,[o.route.meta.keepAlive?(f(),E(T(m),{key:o.route.name})):b("v-if",!0)],1024)),o.route.meta.keepAlive?b("v-if",!0):(f(),E(T(m),{key:o.route.name}))]),_:1})]),_:1}))],2),J(h(l,{modelValue:o.active,"onUpdate:modelValue":t[0]||(t[0]=m=>o.active=m),"active-color":"#FF3C4B","inactive-color":"#000"},{default:p(()=>[h(s,{replace:"",to:"/home",icon:"wap-home-o"},{default:p(()=>[$e]),_:1}),h(s,{replace:"",to:"/red-black-list",icon:"medal-o"},{default:p(()=>[Me]),_:1}),h(s,{replace:"",to:"/personal-center",icon:"manager-o"},{default:p(()=>[Ye]),_:1})]),_:1},8,["modelValue"]),[[Q,o.tabbarShow]]),O("div",Xe,[h(d,{show:!0},{default:p(()=>[h(u,{color:"#FFF",size:"36px",vertical:"",onClick:t[1]||(t[1]=Z(()=>{},["stop"]))},{default:p(()=>[ze]),_:1})]),_:1})]),b(' <Loading v-show="isLoading"></Loading> ')])}var Ke=je(We,[["render",Ge],["__scopeId","data-v-7ba5bd90"]]);const Je="modulepreload",V={},Qe="./",c=function(t,a){return!a||a.length===0?t():Promise.all(a.map(o=>{if(o=`${Qe}${o}`,o in V)return;V[o]=!0;const r=o.endsWith(".css"),n=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${n}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":Je,r||(i.as="script",i.crossOrigin=""),i.href=o,document.head.appendChild(i),r)return new Promise((s,l)=>{i.addEventListener("load",s),i.addEventListener("error",l)})})).then(()=>t())},D=ee({history:te(),routes:[{path:"/",redirect:"/home"},{path:"/home",name:"home",meta:{title:"\u9996\u9875",keepAlive:!0},component:()=>c(()=>import("./Home.4860b560.js"),["assets/Home.4860b560.js","assets/Home.8ab5041e.css","assets/baseInfo.d9edf97e.js","assets/vendor.3937d42d.js","assets/