index.3619a7ff.js 19 KB

1
  1. var z=Object.defineProperty,q=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var k=(e,t,o)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,l=(e,t)=>{for(var o in t||(t={}))Y.call(t,o)&&k(e,o,t[o]);if(R)for(var o of R(t))H.call(t,o)&&k(e,o,t[o]);return e},b=(e,t)=>q(e,N(t));import{d as O,r as U,c as K,o as G,a as S,n as F,e as J,T as p,s as W,b as c,E as X,B as Q,F as Z,R as ee,f as te,g as oe,D as ne,h as v,i as se}from"./vendor.2bcdc9cf.js";function ze(){import("data:text/javascript,")}const re=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function o(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerpolicy&&(a.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?a.credentials="include":n.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(n){if(n.ep)return;n.ep=!0;const a=o(n);fetch(n.href,a)}};re();var ae=(e,t)=>{const o=e.__vccOpts||e;for(const[s,n]of t)o[s]=n;return o};const ie=O({name:"App"});function ue(e,t,o,s,n,a){const i=U("router-view");return G(),K(i)}var ce=ae(ie,[["render",ue]]);const le="modulepreload",C={},de="./",r=function(t,o){return!o||o.length===0?t():Promise.all(o.map(s=>{if(s=`${de}${s}`,s in C)return;C[s]=!0;const n=s.endsWith(".css"),a=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${a}`))return;const i=document.createElement("link");if(i.rel=n?"stylesheet":le,n||(i.as="script",i.crossOrigin=""),i.href=s,document.head.appendChild(i),n)return new Promise((m,d)=>{i.addEventListener("load",m),i.addEventListener("error",d)})})).then(()=>t())},me="_error_1s57h_1",pe="_info_1s57h_9";var fe={error:me,info:pe};const u=S({user:{status:"init",data:{}},platformType:"",platformApi:"/api-student",version:"",ossUploadUrl:"https://ks3-cn-beijing.ksyuncs.com/"}),_e=e=>{u.user.status="login",u.user.data=e},D=()=>{u.user.status="logout",u.user.data=null},B=()=>{u.user.status="error",u.user.data=null};S({loadingCount:0});const f=()=>{const e=navigator.userAgent;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&e.indexOf("KHTML")==-1,mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/Mac OS X/),android:e.indexOf("DAYAAPPA")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("DAYAAPPI")>-1,isApp:e.indexOf("DAYAAPPI")>-1||e.indexOf("DAYAAPPA")>-1||e.indexOf("Adr")>-1,iPad:e.indexOf("iPad")>-1,webApp:e.indexOf("Safari")==-1,weixin:e.indexOf("MicroMessenger")>-1,huawei:!!e.match(/huawei/i)||!!e.match(/honor/i),xiaomi:!!e.match(/mi\s/i)||!!e.match(/redmi/i)||!!e.match(/mix/i)}},he=()=>""+new Date().getTime()+Math.floor(Math.random()*1e6),Ne=()=>{sessionStorage.removeItem("Authorization")},ge=e=>{sessionStorage.setItem("Authorization",e)},Ye=(e,t)=>e==="year"?`${t}\u5E74`:e==="month"?`${t}\u6708`:e==="day"?`${t}\u65E5`:e==="hour"?`${t}\u65F6`:e==="minute"?`${t}\u5206`:t,He=(e,t="0,0.00")=>F(e).format(t);function Ue(){const e=window.location.href;let t="";return/test/.test(e)?t="http://mstutest.dayaedu.com":/dev/.test(e)?t="http://mstudev.dayaedu.com":/online/.test(e)?t="https://mstuonline.dayaedu.com":t="http://mstutest.dayaedu.com",t}const Ae=window.postMessage;window.postMessage=e=>{Ae(e,"*")};const x=()=>{},_={},I=f();I.isApp&&window.addEventListener("message",e=>{var t,o,s;try{console.log(e,"message",e.data);const n=e.data?typeof e.data=="object"?e.data:JSON.parse(e.data):{},a=((t=n.content)==null?void 0:t.uuid)||n.uuid;console.log(a,n.content,"uuid");try{n.content&&(n.content=JSON.parse(n.content))}catch{}if(((o=n==null?void 0:n.content)==null?void 0:o.uuid)&&console.log("data",n),!a){const d=Object.keys(_).filter(y=>y.indexOf(n.api)===0);console.log(d,"keys"),console.log(n,"data");for(const y of d){const P=_[y]||x;typeof P=="function"&&P(n)}return}const i=((s=n.content)==null?void 0:s.uuid)||n.uuid||n.api+n.uuid,m=_[i]||x;console.log(n,"data"),typeof m=="function"&&m(n)}catch(n){console.error("\u901A\u4FE1\u6D88\u606F\u89E3\u6790\u9519\u8BEF",n)}});var $,V;const Ee=window.DAYA||((V=($=window.webkit)==null?void 0:$.messageHandlers)==null?void 0:V.DAYA),L=(e,t)=>{if(I.isApp){const o=he();_[o]=t||x,e.content=e.content?b(l({},e.content),{uuid:o}):{uuid:o},Ee.postMessage(JSON.stringify(e)),console.log("send:",JSON.stringify(e))}},T=J({timeout:2e4,timeoutMessage:"\u8BF7\u6C42\u8D85\u65F6"});let j=!1,h;T.interceptors.request.use((e,t)=>{t.hideLoading||(clearTimeout(h),p.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),j=t.initRequest||!1;const o=sessionStorage.getItem("Authorization")||"",s={};return o&&!["/api-auth/usernameLogin","/api-auth/smsLogin","/api-auth/code/sendSms"].includes(e)&&(s.Authorization=o),{url:e,options:b(l({},t),{params:W(t.params),headers:l(l({},t.headers),s)})}},{global:!1});T.interceptors.response.use(async e=>{if(h=setTimeout(()=>{p.clear()},100),e.status>299||e.status<200){clearTimeout(h);const o="\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u72B6\u6001\u7801"+e.status;throw p(o),new Error(o)}const t=await e.clone().json();if(t.code!==200&&t.errCode!==0){let o=t.msg||t.message||"\u5904\u7406\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5";j&&(t.code===403||t.code===401?D():B()),t.code===403||t.code===401||(clearTimeout(h),p(o));const s=f();throw t.code===403&&(o+="403",s.isApp?L({api:"login"}):D()),new Error(o)}return e},{global:!1});var ye="./assets/empty.41ba23f5.png",be=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ye}),Oe="./assets/network.40ebc073.png",ve=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Oe}),De="./assets/no_shop--goods.f27c43b7.png",xe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:De}),Le="./assets/notFond.21839776.png",Te=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Le});const we="_tips_hcemc_6",Pe="_btn_hcemc_11",Re="_SMALL_hcemc_15",ke="_CERT_hcemc_19",Se="_GOODS_hcemc_26";var w={"col-result":"_col-result_hcemc_1",tips:we,btn:Pe,SMALL:Re,CERT:ke,GOODS:Se};const g=e=>{const t=`./images/${e}`;return{"./images/empty.png":be,"./images/network.png":ve,"./images/no_shop--goods.png":xe,"./images/notFond.png":Te}[t].default};var Fe=O({name:"col-result",props:{tips:{type:String},type:{type:String,default:"empty"},classImgSize:{type:String,default:"SMALL"},plain:{type:Boolean,default:!1},btnStatus:{type:Boolean,default:!0},buttonText:{type:String,default:"\u6211\u77E5\u9053\u4E86"},onClick:Function},methods:{onResult(){this.onClick?this.onClick():L({api:"back",content:{}})}},computed:{image(){let e=null;switch(this.type){case"error":e="error";break;case"network":e=g("network.png");break;case"search":e="search";break;case"notFond":e=g("notFond.png");break;case"goods":e=g("no_shop--goods.png");break;default:e=g("empty.png");break}return e}},render(){return c("div",{class:[w["col-result"],"col-result-container"]},[c(X,{image:this.image,class:w[this.classImgSize],description:this.tips},null),this.btnStatus?c(Q,{class:w.btn,round:!0,block:!0,type:"primary",plain:this.plain,onClick:this.onResult},{default:()=>[this.buttonText]}):null])}});f();var Ce=O({name:"Auth",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal||!1},isNeedView(){return u.user.status==="login"||this.$route.path==="/login"||this.isExternal}},mounted(){!this.isExternal&&this.setAuth()},methods:{async setAuth(){const{query:e}=this.$route,t=e.userInfo||e.Authorization;if(t&&ge(t),!this.loading){if(u.user.status==="init"||u.user.status==="error"){this.loading=!0;try{const o=await T.get("/api-student/student/queryUserInfo",{initRequest:!0});_e(o.data)}catch(o){const s=o.message;s.indexOf("403")===-1&&s.indexOf("authentication")===-1?B():D()}this.loading=!1}if(u.user.status==="logout")if(f().isApp)L({api:"login"});else try{const o=this.$route,s=l({returnUrl:this.$route.path},this.$route.query);o.meta.isRegister&&(s.isRegister=o.meta.isRegister),this.$router.replace({path:"/login",query:s})}catch{}}}},render(){return c(Z,null,[u.user.status==="error"?c("div",{class:fe.error},[c(Fe,{type:"notFond",classImgSize:"CERT",tips:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",buttonText:"\u91CD\u65B0\u52A0\u8F7D",plain:!0,onClick:this.setAuth},null)]):this.isNeedView?c(ee,null,null):null])}});const Be=[{path:"/orderDetail",name:"orderDetail",component:()=>r(()=>import("./index.12e7891f.js"),["assets/index.12e7891f.js","assets/index.19518307.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.e07367fb.css","assets/index.2fc2f59a.css","assets/index.2539762b.css","assets/index.5cb54b78.css","assets/index.ed0ac76f.css","assets/index.9aecfad8.css","assets/index.69271b6e.js","assets/index.762e3cf6.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/index.6e7075da.js","assets/index.a522005a.css","assets/index.d554fd8c.js","assets/index.a316dc08.css","assets/item.3ccc7112.js","assets/item.809e9496.css","assets/index.ebee95a8.js","assets/orderStatus.dcbcbeb4.js","assets/tradeOrder.9478960b.js"]),meta:{title:"\u8BA2\u5355\u8BE6\u60C5"}},{path:"/tradeDetail",name:"tradeDetail",component:()=>r(()=>import("./trade-detail.003939c6.js"),["assets/trade-detail.003939c6.js","assets/trade-detail.bdd6c940.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.ed0ac76f.css","assets/index.e07367fb.css","assets/index.6e7075da.js","assets/index.a522005a.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/index.ebee95a8.js","assets/icon_teacher.40b6f077.js","assets/orderStatus.dcbcbeb4.js"]),meta:{title:"\u4EA4\u6613\u8BE6\u60C5"}},{path:"/goodsOrder",name:"goodsOrder",component:()=>r(()=>import("./index.8406b60f.js"),["assets/index.8406b60f.js","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.380da1d6.css","assets/index.53cbb04c.css","assets/index.e07367fb.css","assets/index.6e7075da.js","assets/index.a522005a.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/item.fde3cf4e.js","assets/item.7e571da2.css","assets/cart.2a3b730f.js","assets/shop-mall.af754d60.js"]),meta:{title:"\u5546\u54C1\u8BA2\u5355"}},{path:"/afterSale",name:"afterSale",component:()=>r(()=>import("./after-sale.3e33cf26.js"),["assets/after-sale.3e33cf26.js","assets/index.9bdb045e.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.9aecfad8.css","assets/index.380da1d6.css","assets/index.53cbb04c.css","assets/index.e07367fb.css","assets/index.6e7075da.js","assets/index.a522005a.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/item.fde3cf4e.js","assets/item.7e571da2.css","assets/cart.2a3b730f.js"]),meta:{title:"\u552E\u540E\u670D\u52A1"}},{path:"/shopMall",name:"shopMall",component:()=>r(()=>import("./index.41f134c1.js"),["assets/index.41f134c1.js","assets/index.7d0a98a5.css","assets/index.e07367fb.css","assets/index.53cbb04c.css","assets/index.380da1d6.css","assets/index.09cb4b8c.css","assets/index.5cb54b78.css","assets/index.2539762b.css","assets/index.c1ee5538.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/icon_search.081dbbf0.js","assets/icon_search.009cf043.css","assets/index.08fd04ff.js","assets/index.23842ce7.css","assets/index.903a2347.js","assets/index.8158e111.css","assets/shop-mall.af754d60.js"]),meta:{title:"\u5546\u57CE"}},{path:"/goodsList",name:"goodsList",component:()=>r(()=>import("./index.3c6a90f7.js"),["assets/index.3c6a90f7.js","assets/index.87098f54.css","assets/index.ed0ac76f.css","assets/index.c1ee5538.css","assets/index.380da1d6.css","assets/index.53cbb04c.css","assets/index.09cb4b8c.css","assets/index.5cb54b78.css","assets/index.2539762b.css","assets/index.8428c081.css","assets/index.9aecfad8.css","assets/index.e07367fb.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/icon_search.081dbbf0.js","assets/icon_search.009cf043.css","assets/index.08fd04ff.js","assets/index.23842ce7.css","assets/index.903a2347.js","assets/index.8158e111.css","assets/shop-mall.af754d60.js"]),meta:{title:"\u5546\u54C1\u5217\u8868"}},{path:"/goodsDetail",name:"goodsDetail",component:()=>r(()=>import("./index.c2589e23.js"),["assets/index.c2589e23.js","assets/index.79a3ebb7.css","assets/index.53cbb04c.css","assets/index.e07367fb.css","assets/index.935001ee.css","assets/index.09cb4b8c.css","assets/index.5cb54b78.css","assets/index.2539762b.css","assets/index.c1ee5538.css","assets/index.ed0ac76f.css","assets/index.177ef3cf.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/index.08fd04ff.js","assets/index.23842ce7.css","assets/index.903a2347.js","assets/index.8158e111.css","assets/shop-mall.af754d60.js","assets/index.6e7075da.js","assets/index.a522005a.css"]),meta:{title:"\u5546\u54C1\u8BE6\u60C5"}},{path:"/cart",name:"cart",component:()=>r(()=>import("./index.41b61270.js"),["assets/index.41b61270.js","assets/index.2fc2f59a.css","assets/index.2539762b.css","assets/index.177ef3cf.css","assets/index.e07367fb.css","assets/index.c1ee5538.css","assets/index.912db15c.css","assets/index.6e7075da.js","assets/index.a522005a.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/index.module.3bc378ff.js","assets/index.module.ce54f8cd.css","assets/index.903a2347.js","assets/index.8158e111.css","assets/cart.2a3b730f.js","assets/shop-mall.af754d60.js"]),meta:{title:"\u8D2D\u7269\u8F66"}},{path:"/cartConfirm",name:"cartConfirm",component:()=>r(()=>import("./index.7ad1169c.js"),["assets/index.7ad1169c.js","assets/index.e07367fb.css","assets/index.c1ee5538.css","assets/index.912db15c.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.2fc2f59a.css","assets/index.2539762b.css","assets/index.177ef3cf.css","assets/index.5cb54b78.css","assets/index.ed0ac76f.css","assets/index.9aecfad8.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/cart.2a3b730f.js","assets/index.module.3bc378ff.js","assets/index.module.ce54f8cd.css","assets/index.e7c25db6.js","assets/index.4d07e940.css","assets/index.69271b6e.js","assets/index.762e3cf6.css","assets/index.6e7075da.js","assets/index.a522005a.css","assets/index.d554fd8c.js","assets/index.a316dc08.css","assets/item.3ccc7112.js","assets/item.809e9496.css","assets/index.ebee95a8.js","assets/address.6eabc372.js"]),meta:{title:"\u786E\u8BA4\u8BA2\u5355"}},{path:"/cartConfirmAgin",name:"cartConfirmAgin",component:()=>r(()=>import("./index.b70405c2.js"),["assets/index.b70405c2.js","assets/index.e07367fb.css","assets/index.c1ee5538.css","assets/index.912db15c.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.177ef3cf.css","assets/index.2fc2f59a.css","assets/index.2539762b.css","assets/index.5cb54b78.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/cart.2a3b730f.js","assets/index.module.3bc378ff.js","assets/index.module.ce54f8cd.css","assets/index.e7c25db6.js","assets/index.4d07e940.css","assets/index.69271b6e.js","assets/index.762e3cf6.css","assets/index.6e7075da.js","assets/index.a522005a.css"]),meta:{title:"\u786E\u8BA4\u8BA2\u5355"}},{path:"/shopOrderDetail",name:"shopOrderDetail",component:()=>r(()=>import("./index.5e78c242.js"),["assets/index.5e78c242.js","assets/index.0193702d.css","assets/index.8428c081.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.e07367fb.css","assets/index.c1ee5538.css","assets/index.912db15c.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/cart.2a3b730f.js","assets/shop-mall.af754d60.js"]),meta:{title:"\u8BA2\u5355\u8BE6\u60C5"}},{path:"/address",name:"address",component:()=>r(()=>import("./index.433d00a6.js"),["assets/index.433d00a6.js","assets/index.b02432d8.js","assets/index.99decbb2.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/address.6eabc372.js"]),meta:{title:"\u5730\u5740\u5217\u8868"}},{path:"/editAddress",name:"editAddress",component:()=>r(()=>import("./edit-address.3d88d8ba.js"),["assets/edit-address.3d88d8ba.js","assets/edit-address.b27f978b.css","assets/index.2ba271cf.css","assets/index.935001ee.css","assets/index.09cb4b8c.css","assets/index.9aecfad8.css","assets/index.b02432d8.js","assets/index.99decbb2.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/validate.47dbf779.js"]),meta:{title:"\u7F16\u8F91\u5730\u5740"}},{path:"/shopTrade",name:"shopTrade",component:()=>r(()=>import("./trade-detail.1bd05d22.js"),["assets/trade-detail.1bd05d22.js","assets/trade-detail.bdd6c940.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.ed0ac76f.css","assets/index.e07367fb.css","assets/index.6e7075da.js","assets/index.a522005a.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.dcbcbeb4.js","assets/shop-mall.af754d60.js"]),meta:{title:"\u4EA4\u6613\u8BE6\u60C5"}},{path:"/coupons",name:"coupons",component:()=>r(()=>import("./index.80db1c83.js"),["assets/index.80db1c83.js","assets/index.380da1d6.css","assets/index.53cbb04c.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/item.3ccc7112.js","assets/item.809e9496.css","assets/index.ebee95a8.js"]),meta:{title:"\u4F18\u60E0\u5238"}}],Ie=[],je=[];var Me=[{path:"/",component:Ce,redirect:"/shopMall",children:[...Be,{path:"/login",name:"login",component:()=>r(()=>import("./login.e9ee9de5.js"),["assets/login.e9ee9de5.js","assets/login.2ff06b64.css","assets/index.935001ee.css","assets/index.09cb4b8c.css","assets/index.9aecfad8.css","assets/index.ed0ac76f.css","assets/index.e07367fb.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/validate.47dbf779.js"]),meta:{isRegister:!1}},{path:"/tradeRecord",name:"tradeRecord",component:()=>r(()=>import("./index.e0b8f651.js"),["assets/index.e0b8f651.js","assets/index.5226d72e.css","assets/index.380da1d6.css","assets/index.53cbb04c.css","assets/index.9bdb045e.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.2ba271cf.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css","assets/index.ebee95a8.js","assets/tradeOrder.9478960b.js","assets/orderStatus.dcbcbeb4.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}}]},...je,...Ie,{path:"/:pathMatch(.*)*",component:()=>r(()=>import("./index.ab6e9c1c.js"),["assets/index.ab6e9c1c.js","assets/index.5361fbba.css","assets/index.e07367fb.css","assets/vendor.2bcdc9cf.js","assets/vendor.68261ebd.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const A=te({history:oe(),routes:Me});A.beforeEach((e,t,o)=>{const s=e.meta.title;document.title=s||"\u9177\u4E50\u79C0",o()});let M=!1;A.onError(e=>{if(e instanceof Error){const t=e.name.indexOf("chunk"),o=A.currentRoute.value.fullPath;t&&!M&&(M=!0,ne.alert({title:"\u66F4\u65B0\u63D0\u793A",message:"APP\u6709\u66F4\u65B0\u8BF7\u70B9\u51FB\u786E\u5B9A\u5237\u65B0\u9875\u9762?",confirmButtonColor:"var(--van-primary)"}).then(()=>{location.hash=o,window.location.reload()}))}});var $e={moneyFormat(e){return F(e).format("0,0.00")},dateFormat(e,t="YYYY-MM-DD HH:mm:ss"){return v(e).format(t)}};const E=se(ce);v.locale("zh-ch");E.config.globalProperties.$dayjs=v;E.config.globalProperties.$filters=$e;E.use(A);E.mount("#app");export{Fe as C,ze as __vite_legacy_guard,Ne as a,ge as b,_e as c,f as d,Ye as f,He as m,L as p,T as r,u as s,Ue as v};