You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paopao-ce/web/dist/assets/Anouncement-Bku_tnhO.js

2 lines
2.1 KiB

import{_ as C}from"./post-skeleton-B6KFVL2X.js";import{_ as N}from"./main-nav.vue_vue_type_style_index_0_lang-D7-FAbTY.js";import{u as R}from"./vuex--ttreJMD.js";import{b as q}from"./vue-router-yrkFRUM9.js";import{K as F,_ as S}from"./index-DxHQoSDp.js";import{G as V,J as A,R as P,H as j}from"./naive-ui-BJojRuLw.js";import{d as D,r as n,b as E,f as e,q as a,w as p,Y as u,F as G,x as H,bq as l,j as o,t as I,k as s,z as _,s as J}from"./@vue-9sINKCPW.js";import"./vooks-CfQnrjIt.js";import"./evtd-CI_DDEu_.js";import"./@vicons-PCg97L0F.js";import"./axios-t--hEgTQ.js";import"./moment-P60zs0je.js";/* empty css */import"./seemly-D-teBmey.js";import"./vueuc-DrMWnH2h.js";import"./@css-render-DN2R7sM6.js";import"./vdirs-DRH9Xvnd.js";import"./@juggle-C8OzoCMD.js";import"./css-render-BDrvWz3H.js";import"./@emotion-WldOFDRm.js";import"./lodash-es-TJvrUncL.js";import"./treemate-HRdUPn5m.js";import"./async-validator-9PlIezaS.js";import"./date-fns-Db9XENWt.js";const K={key:0,class:"pagination-wrap"},L={key:0,class:"skeleton-wrap"},M={key:1},O={key:0,class:"empty-wrap"},T={class:"bill-line"},U=D({__name:"Anouncement",setup(Y){const d=R(),g=q(),v=n(!1),r=n([]),i=n(+g.query.p||1),f=n(20),m=n(0),h=c=>{i.value=c};return E(()=>{}),(c,$)=>{const k=N,y=P,w=C,x=A,z=j,B=V;return o(),e("div",null,[a(k,{title:"公告"}),a(B,{class:"main-content-wrap",bordered:""},{footer:p(()=>[m.value>1?(o(),e("div",K,[a(y,{page:i.value,"onUpdate:page":h,"page-slot":l(d).state.collapsedRight?5:8,"page-count":m.value},null,8,["page","page-slot","page-count"])])):u("",!0)]),default:p(()=>[v.value?(o(),e("div",L,[a(w,{num:f.value},null,8,["num"])])):(o(),e("div",M,[r.value.length===0?(o(),e("div",O,[a(x,{size:"large",description:"暂无数据"})])):u("",!0),(o(!0),e(G,null,H(r.value,t=>(o(),I(z,{key:t.id},{default:p(()=>[s("div",T,[s("div",null,"NO."+_(t.id),1),s("div",null,_(t.reason),1),s("div",{class:J({income:t.change_amount>=0,out:t.change_amount<0})},_((t.change_amount>0?"+":"")+(t.change_amount/100).toFixed(2)),3),s("div",null,_(l(F)(t.created_on)),1)])]),_:2},1024))),128))]))]),_:1})])}}}),kt=S(U,[["__scopeId","data-v-d4d04859"]]);export{kt as default};