提交 25e7d455 编写于 作者: 刘英杰's avatar 刘英杰

主体界面完成版

上级 6bfaaa44
...@@ -10,12 +10,13 @@ declare module 'vue' { ...@@ -10,12 +10,13 @@ declare module 'vue' {
Card: typeof import('./src/components/card.vue')['default'] Card: typeof import('./src/components/card.vue')['default']
DetailCard: typeof import('./src/components/activityManagementDetail/detailCard.vue')['default'] DetailCard: typeof import('./src/components/activityManagementDetail/detailCard.vue')['default']
Header: typeof import('./src/components/header.vue')['default'] Header: typeof import('./src/components/header.vue')['default']
HeaderSelect: typeof import('./src/components/headerSelect.vue')['default']
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default'] HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
Page: typeof import('./src/components/page.vue')['default'] Page: typeof import('./src/components/page.vue')['default']
Popup: typeof import('./src/components/popup.vue')['default'] Popup: typeof import('./src/components/popup.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink'] RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView'] RouterView: typeof import('vue-router')['RouterView']
SiteCard: typeof import('./src/components/siteCard.vue')['default']
SiteSelectHeader: typeof import('./src/components/siteSelectHeader.vue')['default']
VanBadge: typeof import('vant/es')['Badge'] VanBadge: typeof import('vant/es')['Badge']
VanButton: typeof import('vant/es')['Button'] VanButton: typeof import('vant/es')['Button']
VanCell: typeof import('vant/es')['Cell'] VanCell: typeof import('vant/es')['Cell']
......
import{u,f as k,o as l,c as m,a as _,h as y,L as f,i as w,j as d,k as n,G as o,C as g,S as v,l as x}from"./index-82423c0c.js";const S={style:{display:"flex","justify-content":"center","margin-top":"50%"}},q={__name:"SSO",setup(O){const t=u(),c=async a=>{const e=await v(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},i=async a=>{const e=await x(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},r=async()=>{({wx:async()=>{let e={token:t.currentRoute.value.query.token};const s=await d(e);if(s===void 0)await t.replace({name:"403"});else if(s.response.access_token.token_content!==""){n.set("site-management-token",s.response.access_token.token_content),n.set("time",s.response.access_token.expires);const p=await o();n.set("site-user-info",JSON.stringify(p.response)),await t.replace({name:"myActivity"})}},asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await i(e)},test:async()=>{const e=await g();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}}})[t.currentRoute.value.query.type]()};return k(()=>{r()}),(a,e)=>{const s=f;return l(),m("div",S,[_(s,{size:"38px",color:"#1989fa",vertical:""},{default:y(()=>[w(" 登录中")]),_:1})])}}};export{q as default}; import{u,f as k,o as l,c as m,a as _,h as y,L as f,i as w,j as d,k as n,G as o,C as g,S as v,l as x}from"./index-e9352973.js";const S={style:{display:"flex","justify-content":"center","margin-top":"50%"}},q={__name:"SSO",setup(O){const t=u(),c=async a=>{const e=await v(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},i=async a=>{const e=await x(a);if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}},r=async()=>{({wx:async()=>{let e={token:t.currentRoute.value.query.token};const s=await d(e);if(s===void 0)await t.replace({name:"403"});else if(s.response.access_token.token_content!==""){n.set("site-management-token",s.response.access_token.token_content),n.set("time",s.response.access_token.expires);const p=await o();n.set("site-user-info",JSON.stringify(p.response)),await t.replace({name:"myActivity"})}},asc:async()=>{let e={token:t.currentRoute.value.query.token};await c(e)},first:async()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};await i(e)},test:async()=>{const e=await g();if(e===void 0)await t.replace({name:"403"});else if(e.response.access_token.token_content!==""){n.set("site-management-token",e.response.access_token.token_content),n.set("time",e.response.access_token.expires);const s=await o();n.set("site-user-info",JSON.stringify(s.response)),await t.replace({name:"myActivity"})}}})[t.currentRoute.value.query.type]()};return k(()=>{r()}),(a,e)=>{const s=f;return l(),m("div",S,[_(s,{size:"38px",color:"#1989fa",vertical:""},{default:y(()=>[w(" 登录中")]),_:1})])}}};export{q as default};
import{u as i,f as l,o as p,c as k,a as _,h as d,k as s,L as m,i as y}from"./index-82423c0c.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},q={__name:"SSOInfo",setup(v){const e=i(),a=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links,u=e.currentRoute.value.query.id;await e.push({path:`/${o}`,query:{id:u}})}},c=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links;await e.push({path:`/${o}`})}},r=async()=>{if(Number(e.currentRoute.value.query.type)===2){s.set("token",e.currentRoute.value.query.token);let n={token:s.get("token")};await a(n)}else if(Number(e.currentRoute.value.query.type)===1){let n={sign:e.currentRoute.value.query.sign,code:e.currentRoute.value.query.code,timestamp:e.currentRoute.value.query.timestamp};await c(n)}};return l(()=>{r()}),(n,t)=>{const o=m;return p(),k("div",f,[_(o,{size:"38px",color:"#1989fa",vertical:""},{default:d(()=>[y(" 登录中")]),_:1})])}}};export{q as default}; import{u as i,f as l,o as p,c as k,a as _,h as d,k as s,L as m,i as y}from"./index-e9352973.js";const f={style:{display:"flex","justify-content":"center","margin-top":"50%"}},q={__name:"SSOInfo",setup(v){const e=i(),a=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links,u=e.currentRoute.value.query.id;await e.push({path:`/${o}`,query:{id:u}})}},c=async n=>{const t=await(void 0)(n);if(t.code!==1)await e.replace({name:"403"});else if(t.response.access_token.token_content!==""){s.set("site-management-token",t.response.access_token.token_content),s.set("time",t.response.access_token.expires);let o=e.currentRoute.value.query.links;await e.push({path:`/${o}`})}},r=async()=>{if(Number(e.currentRoute.value.query.type)===2){s.set("token",e.currentRoute.value.query.token);let n={token:s.get("token")};await a(n)}else if(Number(e.currentRoute.value.query.type)===1){let n={sign:e.currentRoute.value.query.sign,code:e.currentRoute.value.query.code,timestamp:e.currentRoute.value.query.timestamp};await c(n)}};return l(()=>{r()}),(n,t)=>{const o=m;return p(),k("div",f,[_(o,{size:"38px",color:"#1989fa",vertical:""},{default:d(()=>[y(" 登录中")]),_:1})])}}};export{q as default};
import{n as g,r as n,f,W as t,o as s,c as r,a as e,q as c,F as h,aq as x,Y as v,h as a,t as y,ar as w,i as l,as as B}from"./index-e9352973.js";import{B as b}from"./index-a5924d23.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},N=["src"],D={__name:"approvalPass",setup(V){g().appContext.config.globalProperties,n("");const _=n([1,2,3,4,5,6]),i=()=>{B.push({name:"indexDetail"})};return f(()=>{document.title="审批中"}),(q,z)=>{const p=t("cs-header"),o=b,d=t("cs-card"),m=t("cs-page");return s(),r("div",k,[e(p),c("div",C,[(s(!0),r(h,null,x(_.value,(F,u)=>(s(),v(d,{key:u},{image:a(()=>[c("img",{src:y(w)("sptglogo")},null,8,N)]),default:a(()=>[e(o,{class:"w-[48%]",icon:"add-o",plain:"",size:"small",type:"primary"},{default:a(()=>[l("邀请")]),_:1}),e(o,{onClick:i,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:a(()=>[l("详情")]),_:1})]),_:2},1024))),128))]),e(m)])}}};export{D as default};
import{n as g,r as n,f,ay as t,o as s,c,a as e,q as r,F as h,az as x,af as v,h as a,t as y,aA as B,i as l,aB as w}from"./index-82423c0c.js";import{B as b}from"./index-276e64d4.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},z=["src"],A={__name:"approvalPass",setup(N){g().appContext.config.globalProperties,n("");const _=n([1,2,3,4,5,6]),i=()=>{w.push({name:"indexDetail"})};return f(()=>{document.title="审批中"}),(V,F)=>{const p=t("cs-header"),o=b,d=t("cs-card"),m=t("cs-page");return s(),c("div",k,[e(p),r("div",C,[(s(!0),c(h,null,x(_.value,(I,u)=>(s(),v(d,{key:u},{image:a(()=>[r("img",{src:y(B)("sptglogo")},null,8,z)]),default:a(()=>[e(o,{class:"w-[48%]",icon:"add-o",plain:"",size:"small",type:"primary"},{default:a(()=>[l("邀请")]),_:1}),e(o,{onClick:i,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:a(()=>[l("详情")]),_:1})]),_:2},1024))),128))]),e(m)])}}};export{A as default};
import{n as f,r as n,f as g,W as t,o as s,c as r,a as e,q as c,F as h,aq as x,Y as v,h as a,t as y,at as w,i as l,as as B}from"./index-e9352973.js";import{B as b}from"./index-a5924d23.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},z=["src"],I={__name:"approvaling",setup(N){f().appContext.config.globalProperties,n("");const _=n([1,2,3,4,5,6]),i=()=>{B.push({name:"indexDetail"})};return g(()=>{document.title="审批中"}),(V,q)=>{const p=t("cs-header"),o=b,d=t("cs-card"),u=t("cs-page");return s(),r("div",k,[e(p),c("div",C,[(s(!0),r(h,null,x(_.value,(F,m)=>(s(),v(d,{key:m},{image:a(()=>[c("img",{src:y(w)},null,8,z)]),default:a(()=>[e(o,{class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:a(()=>[l("取消")]),_:1}),e(o,{onClick:i,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:a(()=>[l("详情")]),_:1})]),_:2},1024))),128))]),e(u)])}}};export{I as default};
import{n as f,r as n,f as g,ay as t,o as s,c as r,a as e,q as c,F as h,az as x,af as v,h as a,t as y,aC as B,i as l,aB as w}from"./index-82423c0c.js";import{B as C}from"./index-276e64d4.js";const b={class:"w-screen h-screen bg-gray-100 box-border"},k={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},z=["src"],I={__name:"approvaling",setup(N){f().appContext.config.globalProperties,n("");const _=n([1,2,3,4,5,6]),i=()=>{w.push({name:"indexDetail"})};return g(()=>{document.title="审批中"}),(V,F)=>{const p=t("cs-header"),o=C,d=t("cs-card"),u=t("cs-page");return s(),r("div",b,[e(p),c("div",k,[(s(!0),r(h,null,x(_.value,(q,m)=>(s(),v(d,{key:m},{image:a(()=>[c("img",{src:y(B)},null,8,z)]),default:a(()=>[e(o,{class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:a(()=>[l("取消")]),_:1}),e(o,{onClick:i,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:a(()=>[l("详情")]),_:1})]),_:2},1024))),128))]),e(u)])}}};export{I as default};
import{n as f,r as c,f as g,ay as s,o,c as r,a as e,q as l,F as h,az as x,af as y,h as a,t as w,aD as v,i as n,aB as B}from"./index-82423c0c.js";import{B as b}from"./index-276e64d4.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},z=["src"],I={__name:"awaitUse",setup(N){f().appContext.config.globalProperties,c("");const i=c([1,2,3,4,5,6]),_=()=>{B.push({name:"indexDetail"})};return g(()=>{document.title="审批中"}),(V,D)=>{const d=s("cs-header"),t=b,p=s("cs-card"),u=s("cs-page");return o(),r("div",k,[e(d),l("div",C,[(o(!0),r(h,null,x(i.value,(F,m)=>(o(),y(p,{key:m},{image:a(()=>[l("img",{src:w(v)},null,8,z)]),default:a(()=>[e(t,{class:"w-[31%]",icon:"add-o",plain:"",size:"small",type:"primary"},{default:a(()=>[n("邀请")]),_:1}),e(t,{class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("取消")]),_:1}),e(t,{onClick:_,class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("详情")]),_:1})]),_:2},1024))),128))]),e(u)])}}};export{I as default};
import{n as f,r as c,f as g,W as t,o,c as r,a as e,q as l,F as h,aq as x,Y as y,h as a,t as w,au as v,i as n,as as B}from"./index-e9352973.js";import{B as b}from"./index-a5924d23.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},z=["src"],I={__name:"awaitUse",setup(N){f().appContext.config.globalProperties,c("");const i=c([1,2,3,4,5,6]),_=()=>{B.push({name:"indexDetail"})};return g(()=>{document.title="审批中"}),(V,q)=>{const d=t("cs-header"),s=b,p=t("cs-card"),u=t("cs-page");return o(),r("div",k,[e(d),l("div",C,[(o(!0),r(h,null,x(i.value,(F,m)=>(o(),y(p,{key:m},{image:a(()=>[l("img",{src:w(v)},null,8,z)]),default:a(()=>[e(s,{class:"w-[31%]",icon:"add-o",plain:"",size:"small",type:"primary"},{default:a(()=>[n("邀请")]),_:1}),e(s,{class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("取消")]),_:1}),e(s,{onClick:_,class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("详情")]),_:1})]),_:2},1024))),128))]),e(u)])}}};export{I as default};
import{n as g,r,f,W as s,o,c,a as e,q as l,F as h,aq as x,Y as y,h as a,t as v,ar as b,i as n,as as w}from"./index-e9352973.js";import{B}from"./index-a5924d23.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},q=["src"],E={__name:"beInvited",setup(z){g().appContext.config.globalProperties,r("");const _=r([1,2,3,4,5,6]),i=()=>{w.push({name:"indexDetail"})};return f(()=>{document.title="审批中"}),(I,N)=>{const p=s("cs-header"),t=B,d=s("cs-card"),m=s("cs-page");return o(),c("div",k,[e(p),l("div",C,[(o(!0),c(h,null,x(_.value,(V,u)=>(o(),y(d,{key:u},{image:a(()=>[l("img",{src:v(b)("byqlogo")},null,8,q)]),default:a(()=>[e(t,{class:"w-[31%]",plain:"",size:"small",type:"primary"},{default:a(()=>[n("同意")]),_:1}),e(t,{class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("拒绝")]),_:1}),e(t,{onClick:i,class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("请假")]),_:1})]),_:2},1024))),128))]),e(m)])}}};export{E as default};
import{n as f,r as c,f as g,ay as s,o,c as r,a as e,q as l,F as h,az as x,af as y,h as a,t as v,aA as b,i as n,aB as w}from"./index-82423c0c.js";import{B}from"./index-276e64d4.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},z=["src"],D={__name:"beInvited",setup(I){f().appContext.config.globalProperties,c("");const _=c([1,2,3,4,5,6]),i=()=>{w.push({name:"indexDetail"})};return g(()=>{document.title="审批中"}),(N,V)=>{const p=s("cs-header"),t=B,d=s("cs-card"),m=s("cs-page");return o(),r("div",k,[e(p),l("div",C,[(o(!0),r(h,null,x(_.value,(q,u)=>(o(),y(d,{key:u},{image:a(()=>[l("img",{src:v(b)("byqlogo")},null,8,z)]),default:a(()=>[e(t,{class:"w-[31%]",plain:"",size:"small",type:"primary"},{default:a(()=>[n("同意")]),_:1}),e(t,{class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("拒绝")]),_:1}),e(t,{onClick:i,class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("请假")]),_:1})]),_:2},1024))),128))]),e(m)])}}};export{D as default};
import{b as C,d as I,r as y,ae as O,Q as p,P as g,af as $,a as d,R,ad as V,ag as j,w as _,ah as M,ai as N,aj as w,n as z,ak as E,a3 as K,B as D,aa as F,K as Q,al as Y}from"./index-e9352973.js";import{u as Z}from"./use-placeholder-210aa7a2.js";const[A,B]=C("tabbar"),q={route:Boolean,fixed:p,border:p,zIndex:g,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:$(0),safeAreaInsetBottom:{type:Boolean,default:null}},T=Symbol(A);var G=I({name:A,props:q,emits:["change","update:modelValue"],setup(e,{emit:u,slots:r}){const m=y(),{linkChildren:b}=O(T),c=Z(m,B),f=()=>{var a;return(a=e.safeAreaInsetBottom)!=null?a:e.fixed},n=()=>{var a;const{fixed:t,zIndex:o,border:l}=e;return d("div",{ref:m,role:"tablist",style:R(o),class:[B({fixed:t}),{[V]:l,"van-safe-area-bottom":f()}]},[(a=r.default)==null?void 0:a.call(r)])};return b({props:e,setActive:(a,t)=>{j(e.beforeChange,{args:[a],done(){u("update:modelValue",a),u("change",a),t()}})}}),()=>e.fixed&&e.placeholder?c(n):n()}});const X=_(G),[H,h]=C("tabbar-item"),J=M({},N,{dot:Boolean,icon:String,name:g,badge:g,badgeProps:Object,iconPrefix:String});var L=I({name:H,props:J,emits:["click"],setup(e,{emit:u,slots:r}){const m=w(),b=z().proxy,{parent:c,index:f}=E(T);if(!c)return;const n=K(()=>{var t;const{route:o,modelValue:l}=c.props;if(o&&"$route"in b){const{$route:v}=b,{to:i}=e,s=Y(i)?i:{path:i};return!!v.matched.find(P=>{const k="path"in s&&s.path===P.path,S="name"in s&&s.name===P.name;return k||S})}return((t=e.name)!=null?t:f.value)===l}),x=t=>{var o;n.value||c.setActive((o=e.name)!=null?o:f.value,m),u("click",t)},a=()=>{if(r.icon)return r.icon({active:n.value});if(e.icon)return d(Q,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var t;const{dot:o,badge:l}=e,{activeColor:v,inactiveColor:i}=c.props,s=n.value?v:i;return d("div",{role:"tab",class:h({active:n.value}),style:{color:s},tabindex:0,"aria-selected":n.value,onClick:x},[d(D,F({dot:o,class:h("icon"),content:l},e.badgeProps),{default:a}),d("div",{class:h("text")},[(t=r.default)==null?void 0:t.call(r,{active:n.value})])])}}});const ee=_(L);export{X as T,ee as a};
import{av as ke,aw as be,ax as Re,ay as Ke,a5 as Ue,az as Be,a6 as _e,aA as Pe,b as j,d as Q,r as z,aB as Ae,N as se,a3 as C,aC as ze,ah as Oe,R as je,a4 as A,aD as we,aE as ee,a7 as N,ap as q,an as ye,ao as Ee,a as x,P as H,m as Me,af as L,w as te,aF as Qe,ae as De,aG as ae,aH as qe,f as xe,aI as Ne,am as Le,Q as X,aJ as p,aK as Ge,aL as ve,aM as he,e as He,aN as Je,ab as Te,ac as me,ad as pe,aO as et,aP as Se,ag as tt,aQ as at,B as nt,ak as We,ai as it,aR as lt,n as ot,aS as st,aT as ct,aU as rt,aV as ut,aW as dt,a8 as ft,aX as vt,aa as ht,aY as Ce}from"./index-e9352973.js";function gt(e,c,s){let l,d=0;const t=e.scrollLeft,f=s===0?1:Math.round(s*1e3/16);function o(){ke(l)}function h(){e.scrollLeft+=(c-t)/f,++d<f&&(l=be(h))}return h(),o}function bt(e,c,s,l){let d,t=Re(e);const f=t<c,o=s===0?1:Math.round(s*1e3/16),h=(c-t)/o;function b(){ke(d)}function n(){t+=h,(f&&t>c||!f&&t<c)&&(t=c),Ke(e,t),f&&t<c||!f&&t>c?d=be(n):l&&(d=be(l))}return n(),b}function Ye(e,c){if(!Ue||!window.IntersectionObserver)return;const s=new IntersectionObserver(t=>{c(t[0].intersectionRatio>0)},{root:document.body}),l=()=>{e.value&&s.observe(e.value)},d=()=>{e.value&&s.unobserve(e.value)};Be(d),_e(d),Pe(l)}const[mt,wt]=j("sticky"),yt={zIndex:H,position:Me("top"),container:Object,offsetTop:L(0),offsetBottom:L(0)};var xt=Q({name:mt,props:yt,emits:["scroll","change"],setup(e,{emit:c,slots:s}){const l=z(),d=Ae(l),t=se({fixed:!1,width:0,height:0,transform:0}),f=z(!1),o=C(()=>ze(e.position==="top"?e.offsetTop:e.offsetBottom)),h=C(()=>{if(f.value)return;const{fixed:r,height:I,width:g}=t;if(r)return{width:`${g}px`,height:`${I}px`}}),b=C(()=>{if(!t.fixed||f.value)return;const r=Oe(je(e.zIndex),{width:`${t.width}px`,height:`${t.height}px`,[e.position]:`${o.value}px`});return t.transform&&(r.transform=`translate3d(0, ${t.transform}px, 0)`),r}),n=r=>c("scroll",{scrollTop:r,isFixed:t.fixed}),y=()=>{if(!l.value||ee(l))return;const{container:r,position:I}=e,g=q(l),$=Re(window);if(t.width=g.width,t.height=g.height,I==="top")if(r){const v=q(r),O=v.bottom-o.value-t.height;t.fixed=o.value>g.top&&v.bottom>0,t.transform=O<0?O:0}else t.fixed=o.value>g.top;else{const{clientHeight:v}=document.documentElement;if(r){const O=q(r),w=v-O.top-o.value-t.height;t.fixed=v-o.value<g.bottom&&v>O.top,t.transform=w<0?-w:0}else t.fixed=v-o.value<g.bottom}n($)};return A(()=>t.fixed,r=>c("change",r)),we("scroll",y,{target:d,passive:!0}),Ye(l,y),A([ye,Ee],()=>{!l.value||ee(l)||!t.fixed||(f.value=!0,N(()=>{const r=q(l);t.width=r.width,t.height=r.height,f.value=!1}))}),()=>{var r;return x("div",{ref:l,style:h.value},[x("div",{class:wt({fixed:t.fixed&&!f.value}),style:b.value},[(r=s.default)==null?void 0:r.call(s)])])}}});const Tt=te(xt),[Xe,le]=j("swipe"),St={loop:X,width:H,height:H,vertical:Boolean,autoplay:L(0),duration:L(500),touchable:X,lazyRender:Boolean,initialSwipe:L(0),indicatorColor:String,showIndicators:X,stopPropagation:X},Ve=Symbol(Xe);var Ct=Q({name:Xe,props:St,emits:["change","dragStart","dragEnd"],setup(e,{emit:c,slots:s}){const l=z(),d=z(),t=se({rect:null,width:0,height:0,offset:0,active:0,swiping:!1});let f=!1;const o=Qe(),{children:h,linkChildren:b}=De(Ve),n=C(()=>h.length),y=C(()=>t[e.vertical?"height":"width"]),r=C(()=>e.vertical?o.deltaY.value:o.deltaX.value),I=C(()=>t.rect?(e.vertical?t.rect.height:t.rect.width)-y.value*n.value:0),g=C(()=>y.value?Math.ceil(Math.abs(I.value)/y.value):n.value),$=C(()=>n.value*y.value),v=C(()=>(t.active+n.value)%n.value),O=C(()=>{const i=e.vertical?"vertical":"horizontal";return o.direction.value===i}),w=C(()=>{const i={transitionDuration:`${t.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${t.offset}px)`};if(y.value){const T=e.vertical?"height":"width",S=e.vertical?"width":"height";i[T]=`${$.value}px`,i[S]=e[S]?`${e[S]}px`:""}return i}),V=i=>{const{active:T}=t;return i?e.loop?ve(T+i,-1,n.value):ve(T+i,0,g.value):T},Z=(i,T=0)=>{let S=i*y.value;e.loop||(S=Math.min(S,-I.value));let _=T-S;return e.loop||(_=ve(_,I.value,0)),_},R=({pace:i=0,offset:T=0,emitChange:S})=>{if(n.value<=1)return;const{active:_}=t,a=V(i),u=Z(a,T);if(e.loop){if(h[0]&&u!==I.value){const m=u<I.value;h[0].setOffset(m?$.value:0)}if(h[n.value-1]&&u!==0){const m=u>0;h[n.value-1].setOffset(m?-$.value:0)}}t.active=a,t.offset=u,S&&a!==_&&c("change",v.value)},D=()=>{t.swiping=!0,t.active<=-1?R({pace:n.value}):t.active>=n.value&&R({pace:-n.value})},W=()=>{D(),o.reset(),p(()=>{t.swiping=!1,R({pace:-1,emitChange:!0})})},G=()=>{D(),o.reset(),p(()=>{t.swiping=!1,R({pace:1,emitChange:!0})})};let Y;const B=()=>clearTimeout(Y),F=()=>{B(),+e.autoplay>0&&n.value>1&&(Y=setTimeout(()=>{G(),F()},+e.autoplay))},E=(i=+e.initialSwipe)=>{if(!l.value)return;const T=()=>{var S,_;if(!ee(l)){const a={width:l.value.offsetWidth,height:l.value.offsetHeight};t.rect=a,t.width=+((S=e.width)!=null?S:a.width),t.height=+((_=e.height)!=null?_:a.height)}n.value&&(i=Math.min(n.value-1,i),i===-1&&(i=n.value-1)),t.active=i,t.swiping=!0,t.offset=Z(i),h.forEach(a=>{a.setOffset(0)}),F()};ee(l)?N().then(T):T()},K=()=>E(t.active);let J;const ce=i=>{!e.touchable||i.touches.length>1||(o.start(i),f=!1,J=Date.now(),B(),D())},re=i=>{e.touchable&&t.swiping&&(o.move(i),O.value&&(!e.loop&&(t.active===0&&r.value>0||t.active===n.value-1&&r.value<0)||(Ge(i,e.stopPropagation),R({offset:r.value}),f||(c("dragStart",{index:v.value}),f=!0))))},ne=()=>{if(!e.touchable||!t.swiping)return;const i=Date.now()-J,T=r.value/i;if((Math.abs(T)>.25||Math.abs(r.value)>y.value/2)&&O.value){const _=e.vertical?o.offsetY.value:o.offsetX.value;let a=0;e.loop?a=_>0?r.value>0?-1:1:0:a=-Math[r.value>0?"ceil":"floor"](r.value/y.value),R({pace:a,emitChange:!0})}else r.value&&R({pace:0});f=!1,t.swiping=!1,c("dragEnd",{index:v.value}),F()},ue=(i,T={})=>{D(),o.reset(),p(()=>{let S;e.loop&&i===n.value?S=t.active===0?0:i:S=i%n.value,T.immediate?p(()=>{t.swiping=!1}):t.swiping=!1,R({pace:S-t.active,emitChange:!0})})},de=(i,T)=>{const S=T===v.value,_=S?{backgroundColor:e.indicatorColor}:void 0;return x("i",{style:_,class:le("indicator",{active:S})},null)},fe=()=>{if(s.indicator)return s.indicator({active:v.value,total:n.value});if(e.showIndicators&&n.value>1)return x("div",{class:le("indicators",{vertical:e.vertical})},[Array(n.value).fill("").map(de)])};return ae({prev:W,next:G,state:t,resize:K,swipeTo:ue}),b({size:y,props:e,count:n,activeIndicator:v}),A(()=>e.initialSwipe,i=>E(+i)),A(n,()=>E(t.active)),A(()=>e.autoplay,F),A([ye,Ee,()=>e.width,()=>e.height],K),A(qe(),i=>{i==="visible"?F():B()}),xe(E),Ne(()=>E(t.active)),Le(()=>E(t.active)),Be(B),_e(B),we("touchmove",re,{target:d}),()=>{var i;return x("div",{ref:l,class:le()},[x("div",{ref:d,style:w.value,class:le("track",{vertical:e.vertical}),onTouchstartPassive:ce,onTouchend:ne,onTouchcancel:ne},[(i=s.default)==null?void 0:i.call(s)]),fe()])}}});const It=te(Ct),[$t,Ie]=j("tabs");var kt=Q({name:$t,props:{count:he(Number),inited:Boolean,animated:Boolean,duration:he(H),swipeable:Boolean,lazyRender:Boolean,currentIndex:he(Number)},emits:["change"],setup(e,{emit:c,slots:s}){const l=z(),d=o=>c("change",o),t=()=>{var o;const h=(o=s.default)==null?void 0:o.call(s);return e.animated||e.swipeable?x(It,{ref:l,loop:!1,class:Ie("track"),duration:+e.duration*1e3,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:d},{default:()=>[h]}):h},f=o=>{const h=l.value;h&&h.state.active!==o&&h.swipeTo(o,{immediate:!e.inited})};return A(()=>e.currentIndex,f),xe(()=>{f(e.currentIndex)}),ae({swipeRef:l}),()=>x("div",{class:Ie("content",{animated:e.animated||e.swipeable})},[t()])}});const[Ze,oe]=j("tabs"),Rt={type:Me("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:L(0),duration:L(.3),animated:Boolean,ellipsis:X,swipeable:Boolean,scrollspy:Boolean,offsetTop:L(0),background:String,lazyRender:X,lineWidth:H,lineHeight:H,beforeChange:Function,swipeThreshold:L(5),titleActiveColor:String,titleInactiveColor:String},Fe=Symbol(Ze);var Bt=Q({name:Ze,props:Rt,emits:["change","scroll","rendered","clickTab","update:active"],setup(e,{emit:c,slots:s}){let l,d,t,f,o;const h=z(),b=z(),n=z(),y=z(),r=He(),I=Ae(h),[g,$]=Je(),{children:v,linkChildren:O}=De(Fe),w=se({inited:!1,position:"",lineStyle:{},currentIndex:-1}),V=C(()=>v.length>+e.swipeThreshold||!e.ellipsis||e.shrink),Z=C(()=>({borderColor:e.color,background:e.background})),R=(a,u)=>{var m;return(m=a.name)!=null?m:u},D=C(()=>{const a=v[w.currentIndex];if(a)return R(a,w.currentIndex)}),W=C(()=>ze(e.offsetTop)),G=C(()=>e.sticky?W.value+l:0),Y=a=>{const u=b.value,m=g.value;if(!V.value||!u||!m||!m[w.currentIndex])return;const P=m[w.currentIndex].$el,k=P.offsetLeft-(u.offsetWidth-P.offsetWidth)/2;f&&f(),f=gt(u,k,a?0:+e.duration)},B=()=>{const a=w.inited;N(()=>{const u=g.value;if(!u||!u[w.currentIndex]||e.type!=="line"||ee(h.value))return;const m=u[w.currentIndex].$el,{lineWidth:P,lineHeight:k}=e,M=m.offsetLeft+m.offsetWidth/2,U={width:Te(P),backgroundColor:e.color,transform:`translateX(${M}px) translateX(-50%)`};if(a&&(U.transitionDuration=`${e.duration}s`),me(k)){const ie=Te(k);U.height=ie,U.borderRadius=ie}w.lineStyle=U})},F=a=>{const u=a<w.currentIndex?-1:1;for(;a>=0&&a<v.length;){if(!v[a].disabled)return a;a+=u}},E=(a,u)=>{const m=F(a);if(!me(m))return;const P=v[m],k=R(P,m),M=w.currentIndex!==null;w.currentIndex!==m&&(w.currentIndex=m,u||Y(),B()),k!==e.active&&(c("update:active",k),M&&c("change",k,P.title)),t&&!e.scrollspy&&et(Math.ceil(Se(h.value)-W.value))},K=(a,u)=>{const m=v.find((k,M)=>R(k,M)===a),P=m?v.indexOf(m):0;E(P,u)},J=(a=!1)=>{if(e.scrollspy){const u=v[w.currentIndex].$el;if(u&&I.value){const m=Se(u,I.value)-G.value;d=!0,o&&o(),o=bt(I.value,m,a?0:+e.duration,()=>{d=!1})}}},ce=(a,u,m)=>{const{title:P,disabled:k}=v[u],M=R(v[u],u);k||(tt(e.beforeChange,{args:[M],done:()=>{E(u),J()}}),at(a)),c("clickTab",{name:M,title:P,event:m,disabled:k})},re=a=>{t=a.isFixed,c("scroll",a)},ne=a=>{N(()=>{K(a),J(!0)})},ue=()=>{for(let a=0;a<v.length;a++){const{top:u}=q(v[a].$el);if(u>G.value)return a===0?0:a-1}return v.length-1},de=()=>{if(e.scrollspy&&!d){const a=ue();E(a)}},fe=()=>{if(e.type==="line"&&v.length)return x("div",{class:oe("line"),style:w.lineStyle},null)},i=()=>{var a,u,m;const{type:P,border:k,sticky:M}=e,U=[x("div",{ref:M?void 0:n,class:[oe("wrap"),{[pe]:P==="line"&&k}]},[x("div",{ref:b,role:"tablist",class:oe("nav",[P,{shrink:e.shrink,complete:V.value}]),style:Z.value,"aria-orientation":"horizontal"},[(a=s["nav-left"])==null?void 0:a.call(s),v.map(ie=>ie.renderTitle(ce)),fe(),(u=s["nav-right"])==null?void 0:u.call(s)])]),(m=s["nav-bottom"])==null?void 0:m.call(s)];return M?x("div",{ref:n},[U]):U},T=()=>{B(),N(()=>{var a,u;Y(!0),(u=(a=y.value)==null?void 0:a.swipeRef.value)==null||u.resize()})};A(()=>[e.color,e.duration,e.lineWidth,e.lineHeight],B),A(ye,T),A(()=>e.active,a=>{a!==D.value&&K(a)}),A(()=>v.length,()=>{w.inited&&(K(e.active),B(),N(()=>{Y(!0)}))});const S=()=>{K(e.active,!0),N(()=>{w.inited=!0,n.value&&(l=q(n.value).height),Y(!0)})},_=(a,u)=>c("rendered",a,u);return ae({resize:T,scrollTo:ne}),Ne(B),Le(B),Pe(S),Ye(h,B),we("scroll",de,{target:I,passive:!0}),O({id:r,props:e,setLine:B,scrollable:V,onRendered:_,currentName:D,setTitleRefs:$,scrollIntoView:Y}),()=>x("div",{ref:h,class:oe([e.type])},[e.sticky?x(Tt,{container:h.value,offsetTop:W.value,onScroll:re},{default:()=>[i()]}):i(),x(kt,{ref:y,count:v.length,inited:w.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:w.currentIndex,onChange:E},{default:()=>{var a;return[(a=s.default)==null?void 0:a.call(s)]}})])}});const _t=Symbol(),[Pt,$e]=j("tab"),At=Q({name:Pt,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:H,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:X},setup(e,{slots:c}){const s=C(()=>{const d={},{type:t,color:f,disabled:o,isActive:h,activeColor:b,inactiveColor:n}=e;f&&t==="card"&&(d.borderColor=f,o||(h?d.backgroundColor=f:d.color=f));const r=h?b:n;return r&&(d.color=r),d}),l=()=>{const d=x("span",{class:$e("text",{ellipsis:!e.scrollable})},[c.title?c.title():e.title]);return e.dot||me(e.badge)&&e.badge!==""?x(nt,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[d]}):d};return()=>x("div",{id:e.id,role:"tab",class:[$e([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:s.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[l()])}}),[zt,Ot]=j("swipe-item");var Et=Q({name:zt,setup(e,{slots:c}){let s;const l=se({offset:0,inited:!1,mounted:!1}),{parent:d,index:t}=We(Ve);if(!d)return;const f=C(()=>{const b={},{vertical:n}=d.props;return d.size.value&&(b[n?"height":"width"]=`${d.size.value}px`),l.offset&&(b.transform=`translate${n?"Y":"X"}(${l.offset}px)`),b}),o=C(()=>{const{loop:b,lazyRender:n}=d.props;if(!n||s)return!0;if(!l.mounted)return!1;const y=d.activeIndicator.value,r=d.count.value-1,I=y===0&&b?r:y-1,g=y===r&&b?0:y+1;return s=t.value===y||t.value===I||t.value===g,s}),h=b=>{l.offset=b};return xe(()=>{N(()=>{l.mounted=!0})}),ae({setOffset:h}),()=>{var b;return x("div",{class:Ot(),style:f.value},[o.value?(b=c.default)==null?void 0:b.call(c):null])}}});const Mt=te(Et),[Dt,ge]=j("tab"),Nt=Oe({},it,{dot:Boolean,name:H,badge:H,title:String,disabled:Boolean,titleClass:lt,titleStyle:[String,Object],showZeroBadge:X});var Lt=Q({name:Dt,props:Nt,setup(e,{slots:c}){const s=He(),l=z(!1),d=ot(),{parent:t,index:f}=We(Fe);if(!t)return;const o=()=>{var g;return(g=e.name)!=null?g:f.value},h=()=>{l.value=!0,t.props.lazyRender&&N(()=>{t.onRendered(o(),e.title)})},b=C(()=>{const g=o()===t.currentName.value;return g&&!l.value&&h(),g}),n=z(""),y=z("");st(()=>{const{titleClass:g,titleStyle:$}=e;n.value=g?ct(g):"",y.value=$&&typeof $!="string"?rt(ut($)):$});const r=g=>x(At,ht({key:s,id:`${t.id}-${f.value}`,ref:t.setTitleRefs(f.value),style:y.value,class:n.value,isActive:b.value,controls:s,scrollable:t.scrollable.value,activeColor:t.props.titleActiveColor,inactiveColor:t.props.titleInactiveColor,onClick:$=>g(d.proxy,f.value,$)},Ce(t.props,["type","color","shrink"]),Ce(e,["dot","badge","title","disabled","showZeroBadge"])),{title:c.title}),I=z(!b.value);return A(b,g=>{g?I.value=!1:p(()=>{I.value=!0})}),A(()=>e.title,()=>{t.setLine(),t.scrollIntoView()}),dt(_t,b),ae({id:s,renderTitle:r}),()=>{var g;const $=`${t.id}-${f.value}`,{animated:v,swipeable:O,scrollspy:w,lazyRender:V}=t.props;if(!c.default&&!v)return;const Z=w||b.value;if(v||O)return x(Mt,{id:s,role:"tabpanel",class:ge("panel-wrapper",{inactive:I.value}),tabindex:b.value?0:-1,"aria-hidden":!b.value,"aria-labelledby":$},{default:()=>{var W;return[x("div",{class:ge("panel")},[(W=c.default)==null?void 0:W.call(c)])]}});const D=l.value||w||!V?(g=c.default)==null?void 0:g.call(c):null;return ft(x("div",{id:s,role:"tabpanel",class:ge("panel"),tabindex:Z?0:-1,"aria-labelledby":$},[D]),[[vt,Z]])}}});const Wt=te(Lt),Yt=te(Bt);export{Yt as T,Wt as a};
import{_ as m,n as x,r as f,f as h,p as v,W as g,o as b,c as C,a as e,q as s,t as w,h as t,X as k,i as r}from"./index-e9352973.js";import{T as I,a as V}from"./index-0759b1dc.js";import"./use-placeholder-210aa7a2.js";const S={class:"container1"},T={class:"w-full h-[calc(100vh-134px)] p-3 overflow-y-auto"},y={class:"footer"},B=["src"],N=["src"],H=["src"],j=["src"],q={__name:"index",setup(A){const i=x().appContext.config.globalProperties,_=f(3);h(()=>{document.title="场地管理"});const p=n=>{i.tabChange(n)},a=n=>i.hooks.getImage(n);return v("backAscHome"),(n,c)=>{const o=g("csSiteCard"),l=V,u=I;return b(),C("div",S,[e(k,{option:[{text:"全部商品",value:0},{text:"新款商品",value:1},{text:"活动商品",value:2}]}),s("div",T,[e(o,{onClick:c[0]||(c[0]=d=>w(i).hooks.go2Router("siteDetailIndex"))}),e(o),e(o),e(o),e(o),e(o),e(o)]),s("div",y,[e(u,{modelValue:_.value,"onUpdate:modelValue":c[1]||(c[1]=d=>_.value=d),onChange:p},{default:t(()=>[e(l,{icon:"home-o"},{icon:t(()=>[s("img",{src:a("fm"),class:"w-[20px] h-[20px]"},null,8,B)]),default:t(()=>[r("我的活动 ")]),_:1}),e(l,{icon:"search"},{icon:t(()=>[s("img",{src:a("fc"),class:"w-[20px] h-[20px]"},null,8,N)]),default:t(()=>[r("钥匙管理 ")]),_:1}),e(l,{icon:"home-o"},{icon:t(()=>[s("img",{src:a("fl"),class:"w-[20px] h-[20px]"},null,8,H)]),default:t(()=>[r("活动管理 ")]),_:1}),e(l,{icon:"friends-o"},{icon:t(()=>[s("img",{src:a("tr"),class:"w-[20px] h-[20px]"},null,8,j)]),default:t(()=>[r("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])])}}},P=m(q,[["__scopeId","data-v-369add73"]]);export{P as default};
:root{--van-dropdown-menu-height: 48px;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__bar--scrollable{padding-left:var(--van-padding-base);padding-right:var(--van-padding-xs);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-dropdown-menu__bar--scrollable::-webkit-scrollbar{display:none}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__item--grow{flex:1 0 auto;padding-left:var(--van-padding-base);padding-right:var(--van-padding-sm)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-1px;transform:rotate(135deg)}:root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}.child[data-v-2dc1e380]{width:40px;height:40px;background:#f2f3f5;border-radius:4px}[data-v-2dc1e380] .van-cell-group--inset{margin:0;border-radius:var(--van-cell-group-inset-radius);overflow:hidden}[data-v-2dc1e380] .van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:80px;background:var(--van-tabbar-background)}[data-v-2dc1e380] :root{--van-dropdown-menu-height: 48px;--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}
import{aG as ze,aH as Te,aI as Oe,aJ as Je,al as et,aK as pe,am as Ee,aL as Me,b as j,d as q,r as R,X as Ne,N as fe,Y as C,aM as De,as as Le,R as tt,ak as O,a0 as Se,aN as ie,an as N,a2 as J,ax as Ce,a3 as He,a as x,P as L,m as We,a1 as D,w as le,aO as at,W as Ye,Z as oe,aP as nt,f as ke,aQ as Ve,aw as Xe,Q as V,aR as ne,aF as it,aS as we,aT as ye,e as Ze,aU as lt,ap as Ie,a4 as _e,aq as ot,aV as st,aW as $e,ar as ct,aX as rt,B as ut,a5 as Fe,at as dt,a8 as ft,n as Ke,aY as vt,aZ as ht,a_ as gt,a$ as mt,b0 as bt,a9 as wt,aa as yt,ac as xt,b1 as Re,ay as Q,o as Y,c as Be,q as re,h as Tt,F as _t,az as St,af as G,ah as ae,K as Ct}from"./index-82423c0c.js";function kt(e,c,n){let l,d=0;const t=e.scrollLeft,r=n===0?1:Math.round(n*1e3/16);function o(){ze(l)}function h(){e.scrollLeft+=(c-t)/r,++d<r&&(l=Te(h))}return h(),o}function It(e,c,n,l){let d,t=Oe(e);const r=t<c,o=n===0?1:Math.round(n*1e3/16),h=(c-t)/o;function m(){ze(d)}function i(){t+=h,(r&&t>c||!r&&t<c)&&(t=c),Je(e,t),r&&t<c||!r&&t>c?d=Te(i):l&&(d=Te(l))}return i(),m}function Ue(e,c){if(!et||!window.IntersectionObserver)return;const n=new IntersectionObserver(t=>{c(t[0].intersectionRatio>0)},{root:document.body}),l=()=>{e.value&&n.observe(e.value)},d=()=>{e.value&&n.unobserve(e.value)};pe(d),Ee(d),Me(l)}const[$t,Rt]=j("sticky"),Bt={zIndex:L,position:We("top"),container:Object,offsetTop:D(0),offsetBottom:D(0)};var Pt=q({name:$t,props:Bt,emits:["scroll","change"],setup(e,{emit:c,slots:n}){const l=R(),d=Ne(l),t=fe({fixed:!1,width:0,height:0,transform:0}),r=R(!1),o=C(()=>De(e.position==="top"?e.offsetTop:e.offsetBottom)),h=C(()=>{if(r.value)return;const{fixed:u,height:T,width:g}=t;if(u)return{width:`${g}px`,height:`${T}px`}}),m=C(()=>{if(!t.fixed||r.value)return;const u=Le(tt(e.zIndex),{width:`${t.width}px`,height:`${t.height}px`,[e.position]:`${o.value}px`});return t.transform&&(u.transform=`translate3d(0, ${t.transform}px, 0)`),u}),i=u=>c("scroll",{scrollTop:u,isFixed:t.fixed}),y=()=>{if(!l.value||ie(l))return;const{container:u,position:T}=e,g=J(l),k=Oe(window);if(t.width=g.width,t.height=g.height,T==="top")if(u){const v=J(u),I=v.bottom-o.value-t.height;t.fixed=o.value>g.top&&v.bottom>0,t.transform=I<0?I:0}else t.fixed=o.value>g.top;else{const{clientHeight:v}=document.documentElement;if(u){const I=J(u),w=v-I.top-o.value-t.height;t.fixed=v-o.value<g.bottom&&v>I.top,t.transform=w<0?-w:0}else t.fixed=v-o.value<g.bottom}i(k)};return O(()=>t.fixed,u=>c("change",u)),Se("scroll",y,{target:d,passive:!0}),Ue(l,y),O([Ce,He],()=>{!l.value||ie(l)||!t.fixed||(r.value=!0,N(()=>{const u=J(l);t.width=u.width,t.height=u.height,r.value=!1}))}),()=>{var u;return x("div",{ref:l,style:h.value},[x("div",{class:Rt({fixed:t.fixed&&!r.value}),style:m.value},[(u=n.default)==null?void 0:u.call(n)])])}}});const At=le(Pt),[je,ue]=j("swipe"),zt={loop:V,width:L,height:L,vertical:Boolean,autoplay:D(0),duration:D(500),touchable:V,lazyRender:Boolean,initialSwipe:D(0),indicatorColor:String,showIndicators:V,stopPropagation:V},qe=Symbol(je);var Ot=q({name:je,props:zt,emits:["change","dragStart","dragEnd"],setup(e,{emit:c,slots:n}){const l=R(),d=R(),t=fe({rect:null,width:0,height:0,offset:0,active:0,swiping:!1});let r=!1;const o=at(),{children:h,linkChildren:m}=Ye(qe),i=C(()=>h.length),y=C(()=>t[e.vertical?"height":"width"]),u=C(()=>e.vertical?o.deltaY.value:o.deltaX.value),T=C(()=>t.rect?(e.vertical?t.rect.height:t.rect.width)-y.value*i.value:0),g=C(()=>y.value?Math.ceil(Math.abs(T.value)/y.value):i.value),k=C(()=>i.value*y.value),v=C(()=>(t.active+i.value)%i.value),I=C(()=>{const s=e.vertical?"vertical":"horizontal";return o.direction.value===s}),w=C(()=>{const s={transitionDuration:`${t.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${t.offset}px)`};if(y.value){const _=e.vertical?"height":"width",S=e.vertical?"width":"height";s[_]=`${k.value}px`,s[S]=e[S]?`${e[S]}px`:""}return s}),X=s=>{const{active:_}=t;return s?e.loop?we(_+s,-1,i.value):we(_+s,0,g.value):_},Z=(s,_=0)=>{let S=s*y.value;e.loop||(S=Math.min(S,-T.value));let A=_-S;return e.loop||(A=we(A,T.value,0)),A},B=({pace:s=0,offset:_=0,emitChange:S})=>{if(i.value<=1)return;const{active:A}=t,a=X(s),f=Z(a,_);if(e.loop){if(h[0]&&f!==T.value){const b=f<T.value;h[0].setOffset(b?k.value:0)}if(h[i.value-1]&&f!==0){const b=f>0;h[i.value-1].setOffset(b?-k.value:0)}}t.active=a,t.offset=f,S&&a!==A&&c("change",v.value)},M=()=>{t.swiping=!0,t.active<=-1?B({pace:i.value}):t.active>=i.value&&B({pace:-i.value})},H=()=>{M(),o.reset(),ne(()=>{t.swiping=!1,B({pace:-1,emitChange:!0})})},ee=()=>{M(),o.reset(),ne(()=>{t.swiping=!1,B({pace:1,emitChange:!0})})};let W;const P=()=>clearTimeout(W),F=()=>{P(),+e.autoplay>0&&i.value>1&&(W=setTimeout(()=>{ee(),F()},+e.autoplay))},p=(s=+e.initialSwipe)=>{if(!l.value)return;const _=()=>{var S,A;if(!ie(l)){const a={width:l.value.offsetWidth,height:l.value.offsetHeight};t.rect=a,t.width=+((S=e.width)!=null?S:a.width),t.height=+((A=e.height)!=null?A:a.height)}i.value&&(s=Math.min(i.value-1,s),s===-1&&(s=i.value-1)),t.active=s,t.swiping=!0,t.offset=Z(s),h.forEach(a=>{a.setOffset(0)}),F()};ie(l)?N().then(_):_()},K=()=>p(t.active);let te;const ve=s=>{!e.touchable||s.touches.length>1||(o.start(s),r=!1,te=Date.now(),P(),M())},he=s=>{e.touchable&&t.swiping&&(o.move(s),I.value&&(!e.loop&&(t.active===0&&u.value>0||t.active===i.value-1&&u.value<0)||(it(s,e.stopPropagation),B({offset:u.value}),r||(c("dragStart",{index:v.value}),r=!0))))},se=()=>{if(!e.touchable||!t.swiping)return;const s=Date.now()-te,_=u.value/s;if((Math.abs(_)>.25||Math.abs(u.value)>y.value/2)&&I.value){const A=e.vertical?o.offsetY.value:o.offsetX.value;let a=0;e.loop?a=A>0?u.value>0?-1:1:0:a=-Math[u.value>0?"ceil":"floor"](u.value/y.value),B({pace:a,emitChange:!0})}else u.value&&B({pace:0});r=!1,t.swiping=!1,c("dragEnd",{index:v.value}),F()},ge=(s,_={})=>{M(),o.reset(),ne(()=>{let S;e.loop&&s===i.value?S=t.active===0?0:s:S=s%i.value,_.immediate?ne(()=>{t.swiping=!1}):t.swiping=!1,B({pace:S-t.active,emitChange:!0})})},me=(s,_)=>{const S=_===v.value,A=S?{backgroundColor:e.indicatorColor}:void 0;return x("i",{style:A,class:ue("indicator",{active:S})},null)},be=()=>{if(n.indicator)return n.indicator({active:v.value,total:i.value});if(e.showIndicators&&i.value>1)return x("div",{class:ue("indicators",{vertical:e.vertical})},[Array(i.value).fill("").map(me)])};return oe({prev:H,next:ee,state:t,resize:K,swipeTo:ge}),m({size:y,props:e,count:i,activeIndicator:v}),O(()=>e.initialSwipe,s=>p(+s)),O(i,()=>p(t.active)),O(()=>e.autoplay,F),O([Ce,He,()=>e.width,()=>e.height],K),O(nt(),s=>{s==="visible"?F():P()}),ke(p),Ve(()=>p(t.active)),Xe(()=>p(t.active)),pe(P),Ee(P),Se("touchmove",he,{target:d}),()=>{var s;return x("div",{ref:l,class:ue()},[x("div",{ref:d,style:w.value,class:ue("track",{vertical:e.vertical}),onTouchstartPassive:ve,onTouchend:se,onTouchcancel:se},[(s=n.default)==null?void 0:s.call(n)]),be()])}}});const pt=le(Ot),[Et,Pe]=j("tabs");var Mt=q({name:Et,props:{count:ye(Number),inited:Boolean,animated:Boolean,duration:ye(L),swipeable:Boolean,lazyRender:Boolean,currentIndex:ye(Number)},emits:["change"],setup(e,{emit:c,slots:n}){const l=R(),d=o=>c("change",o),t=()=>{var o;const h=(o=n.default)==null?void 0:o.call(n);return e.animated||e.swipeable?x(pt,{ref:l,loop:!1,class:Pe("track"),duration:+e.duration*1e3,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:d},{default:()=>[h]}):h},r=o=>{const h=l.value;h&&h.state.active!==o&&h.swipeTo(o,{immediate:!e.inited})};return O(()=>e.currentIndex,r),ke(()=>{r(e.currentIndex)}),oe({swipeRef:l}),()=>x("div",{class:Pe("content",{animated:e.animated||e.swipeable})},[t()])}});const[Qe,de]=j("tabs"),Nt={type:We("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:D(0),duration:D(.3),animated:Boolean,ellipsis:V,swipeable:Boolean,scrollspy:Boolean,offsetTop:D(0),background:String,lazyRender:V,lineWidth:L,lineHeight:L,beforeChange:Function,swipeThreshold:D(5),titleActiveColor:String,titleInactiveColor:String},Ge=Symbol(Qe);var Dt=q({name:Qe,props:Nt,emits:["change","scroll","rendered","clickTab","update:active"],setup(e,{emit:c,slots:n}){let l,d,t,r,o;const h=R(),m=R(),i=R(),y=R(),u=Ze(),T=Ne(h),[g,k]=lt(),{children:v,linkChildren:I}=Ye(Ge),w=fe({inited:!1,position:"",lineStyle:{},currentIndex:-1}),X=C(()=>v.length>+e.swipeThreshold||!e.ellipsis||e.shrink),Z=C(()=>({borderColor:e.color,background:e.background})),B=(a,f)=>{var b;return(b=a.name)!=null?b:f},M=C(()=>{const a=v[w.currentIndex];if(a)return B(a,w.currentIndex)}),H=C(()=>De(e.offsetTop)),ee=C(()=>e.sticky?H.value+l:0),W=a=>{const f=m.value,b=g.value;if(!X.value||!f||!b||!b[w.currentIndex])return;const z=b[w.currentIndex].$el,$=z.offsetLeft-(f.offsetWidth-z.offsetWidth)/2;r&&r(),r=kt(f,$,a?0:+e.duration)},P=()=>{const a=w.inited;N(()=>{const f=g.value;if(!f||!f[w.currentIndex]||e.type!=="line"||ie(h.value))return;const b=f[w.currentIndex].$el,{lineWidth:z,lineHeight:$}=e,E=b.offsetLeft+b.offsetWidth/2,U={width:Ie(z),backgroundColor:e.color,transform:`translateX(${E}px) translateX(-50%)`};if(a&&(U.transitionDuration=`${e.duration}s`),_e($)){const ce=Ie($);U.height=ce,U.borderRadius=ce}w.lineStyle=U})},F=a=>{const f=a<w.currentIndex?-1:1;for(;a>=0&&a<v.length;){if(!v[a].disabled)return a;a+=f}},p=(a,f)=>{const b=F(a);if(!_e(b))return;const z=v[b],$=B(z,b),E=w.currentIndex!==null;w.currentIndex!==b&&(w.currentIndex=b,f||W(),P()),$!==e.active&&(c("update:active",$),E&&c("change",$,z.title)),t&&!e.scrollspy&&st(Math.ceil($e(h.value)-H.value))},K=(a,f)=>{const b=v.find(($,E)=>B($,E)===a),z=b?v.indexOf(b):0;p(z,f)},te=(a=!1)=>{if(e.scrollspy){const f=v[w.currentIndex].$el;if(f&&T.value){const b=$e(f,T.value)-ee.value;d=!0,o&&o(),o=It(T.value,b,a?0:+e.duration,()=>{d=!1})}}},ve=(a,f,b)=>{const{title:z,disabled:$}=v[f],E=B(v[f],f);$||(ct(e.beforeChange,{args:[E],done:()=>{p(f),te()}}),rt(a)),c("clickTab",{name:E,title:z,event:b,disabled:$})},he=a=>{t=a.isFixed,c("scroll",a)},se=a=>{N(()=>{K(a),te(!0)})},ge=()=>{for(let a=0;a<v.length;a++){const{top:f}=J(v[a].$el);if(f>ee.value)return a===0?0:a-1}return v.length-1},me=()=>{if(e.scrollspy&&!d){const a=ge();p(a)}},be=()=>{if(e.type==="line"&&v.length)return x("div",{class:de("line"),style:w.lineStyle},null)},s=()=>{var a,f,b;const{type:z,border:$,sticky:E}=e,U=[x("div",{ref:E?void 0:i,class:[de("wrap"),{[ot]:z==="line"&&$}]},[x("div",{ref:m,role:"tablist",class:de("nav",[z,{shrink:e.shrink,complete:X.value}]),style:Z.value,"aria-orientation":"horizontal"},[(a=n["nav-left"])==null?void 0:a.call(n),v.map(ce=>ce.renderTitle(ve)),be(),(f=n["nav-right"])==null?void 0:f.call(n)])]),(b=n["nav-bottom"])==null?void 0:b.call(n)];return E?x("div",{ref:i},[U]):U},_=()=>{P(),N(()=>{var a,f;W(!0),(f=(a=y.value)==null?void 0:a.swipeRef.value)==null||f.resize()})};O(()=>[e.color,e.duration,e.lineWidth,e.lineHeight],P),O(Ce,_),O(()=>e.active,a=>{a!==M.value&&K(a)}),O(()=>v.length,()=>{w.inited&&(K(e.active),P(),N(()=>{W(!0)}))});const S=()=>{K(e.active,!0),N(()=>{w.inited=!0,i.value&&(l=J(i.value).height),W(!0)})},A=(a,f)=>c("rendered",a,f);return oe({resize:_,scrollTo:se}),Ve(P),Xe(P),Me(S),Ue(h,P),Se("scroll",me,{target:T,passive:!0}),I({id:u,props:e,setLine:P,scrollable:X,onRendered:A,currentName:M,setTitleRefs:k,scrollIntoView:W}),()=>x("div",{ref:h,class:de([e.type])},[e.sticky?x(At,{container:h.value,offsetTop:H.value,onScroll:he},{default:()=>[s()]}):s(),x(Mt,{ref:y,count:v.length,inited:w.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:w.currentIndex,onChange:p},{default:()=>{var a;return[(a=n.default)==null?void 0:a.call(n)]}})])}});const Lt=Symbol(),[Ht,Ae]=j("tab"),Wt=q({name:Ht,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:L,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:V},setup(e,{slots:c}){const n=C(()=>{const d={},{type:t,color:r,disabled:o,isActive:h,activeColor:m,inactiveColor:i}=e;r&&t==="card"&&(d.borderColor=r,o||(h?d.backgroundColor=r:d.color=r));const u=h?m:i;return u&&(d.color=u),d}),l=()=>{const d=x("span",{class:Ae("text",{ellipsis:!e.scrollable})},[c.title?c.title():e.title]);return e.dot||_e(e.badge)&&e.badge!==""?x(ut,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[d]}):d};return()=>x("div",{id:e.id,role:"tab",class:[Ae([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:n.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[l()])}}),[Yt,Vt]=j("swipe-item");var Xt=q({name:Yt,setup(e,{slots:c}){let n;const l=fe({offset:0,inited:!1,mounted:!1}),{parent:d,index:t}=Fe(qe);if(!d)return;const r=C(()=>{const m={},{vertical:i}=d.props;return d.size.value&&(m[i?"height":"width"]=`${d.size.value}px`),l.offset&&(m.transform=`translate${i?"Y":"X"}(${l.offset}px)`),m}),o=C(()=>{const{loop:m,lazyRender:i}=d.props;if(!i||n)return!0;if(!l.mounted)return!1;const y=d.activeIndicator.value,u=d.count.value-1,T=y===0&&m?u:y-1,g=y===u&&m?0:y+1;return n=t.value===y||t.value===T||t.value===g,n}),h=m=>{l.offset=m};return ke(()=>{N(()=>{l.mounted=!0})}),oe({setOffset:h}),()=>{var m;return x("div",{class:Vt(),style:r.value},[o.value?(m=c.default)==null?void 0:m.call(c):null])}}});const Zt=le(Xt),[Ft,xe]=j("tab"),Kt=Le({},dt,{dot:Boolean,name:L,badge:L,title:String,disabled:Boolean,titleClass:ft,titleStyle:[String,Object],showZeroBadge:V});var Ut=q({name:Ft,props:Kt,setup(e,{slots:c}){const n=Ze(),l=R(!1),d=Ke(),{parent:t,index:r}=Fe(Ge);if(!t)return;const o=()=>{var g;return(g=e.name)!=null?g:r.value},h=()=>{l.value=!0,t.props.lazyRender&&N(()=>{t.onRendered(o(),e.title)})},m=C(()=>{const g=o()===t.currentName.value;return g&&!l.value&&h(),g}),i=R(""),y=R("");vt(()=>{const{titleClass:g,titleStyle:k}=e;i.value=g?ht(g):"",y.value=k&&typeof k!="string"?gt(mt(k)):k});const u=g=>x(Wt,xt({key:n,id:`${t.id}-${r.value}`,ref:t.setTitleRefs(r.value),style:y.value,class:i.value,isActive:m.value,controls:n,scrollable:t.scrollable.value,activeColor:t.props.titleActiveColor,inactiveColor:t.props.titleInactiveColor,onClick:k=>g(d.proxy,r.value,k)},Re(t.props,["type","color","shrink"]),Re(e,["dot","badge","title","disabled","showZeroBadge"])),{title:c.title}),T=R(!m.value);return O(m,g=>{g?T.value=!1:ne(()=>{T.value=!0})}),O(()=>e.title,()=>{t.setLine(),t.scrollIntoView()}),bt(Lt,m),oe({id:n,renderTitle:u}),()=>{var g;const k=`${t.id}-${r.value}`,{animated:v,swipeable:I,scrollspy:w,lazyRender:X}=t.props;if(!c.default&&!v)return;const Z=w||m.value;if(v||I)return x(Zt,{id:n,role:"tabpanel",class:xe("panel-wrapper",{inactive:T.value}),tabindex:m.value?0:-1,"aria-hidden":!m.value,"aria-labelledby":k},{default:()=>{var H;return[x("div",{class:xe("panel")},[(H=c.default)==null?void 0:H.call(c)])]}});const M=l.value||w||!X?(g=c.default)==null?void 0:g.call(c):null;return wt(x("div",{id:n,role:"tabpanel",class:xe("panel"),tabindex:Z?0:-1,"aria-labelledby":k},[M]),[[yt,Z]])}}});const jt=le(Ut),qt=le(Dt);const Qt={class:"container1"},Gt={class:"w-full h-[calc(100vh-55px)] overflow-y-auto"},Jt={class:"w-full h-[54px] bg-white flex"},ea={class:"w-[87%] h-full"},aa={__name:"index",setup(e){const c=Ke().appContext.config.globalProperties,n=R(0),l=R(["活动数据","参与人","钥匙","评论","轨迹"]),d=()=>c.back(),t=r=>{n.value=r};return(r,o)=>{const h=Ct,m=jt,i=qt,y=Q("csActivityData"),u=Q("csPlayers"),T=Q("csKey"),g=Q("csComment"),k=Q("csTrack"),v=Q("cs-page");return Y(),Be("div",Qt,[re("div",Gt,[re("div",Jt,[re("div",{onClick:d,class:"w-[13%] bg-white h-full text-[28px] text-gray-400 flex items-center justify-center"},[x(h,{class:"",name:"arrow-left"})]),re("div",ea,[x(i,{active:n.value,"onUpdate:active":o[0]||(o[0]=I=>n.value=I),onChange:t,swipeable:""},{default:Tt(()=>[(Y(!0),Be(_t,null,St(l.value,(I,w)=>(Y(),G(m,{title:I,key:w},null,8,["title"]))),128))]),_:1},8,["active"])])]),n.value===0?(Y(),G(y,{key:0})):ae("",!0),n.value===1?(Y(),G(u,{key:1})):ae("",!0),n.value===2?(Y(),G(T,{key:2})):ae("",!0),n.value===3?(Y(),G(g,{key:3})):ae("",!0),n.value===4?(Y(),G(k,{key:4})):ae("",!0)]),x(v)])}}};export{aa as default};
import{n as B,r as i,W as a,o as t,c as u,q as n,a as l,h as A,F as K,aq as N,Y as s,Z as c,K as P}from"./index-e9352973.js";import{T as V,a as q}from"./index-11a2472d.js";const D={class:"container1"},F={class:"w-full h-[calc(100vh-55px)] overflow-y-auto"},I={class:"w-full h-[54px] bg-white flex"},j={class:"w-[87%] h-full"},W={__name:"index",setup(E){const p=B().appContext.config.globalProperties,e=i(0),m=i(["活动数据","参与人","钥匙","评论","轨迹"]),v=()=>p.back(),d=r=>{e.value=r};return(r,_)=>{const f=P,y=q,h=V,k=a("csActivityData"),b=a("csPlayers"),x=a("csKey"),g=a("csComment"),w=a("csTrack"),C=a("cs-page");return t(),u("div",D,[n("div",F,[n("div",I,[n("div",{onClick:v,class:"w-[13%] bg-white h-full text-[28px] text-gray-400 flex items-center justify-center"},[l(f,{class:"",name:"arrow-left"})]),n("div",j,[l(h,{active:e.value,"onUpdate:active":_[0]||(_[0]=o=>e.value=o),onChange:d,swipeable:""},{default:A(()=>[(t(!0),u(K,null,N(m.value,(o,T)=>(t(),s(y,{title:o,key:T},null,8,["title"]))),128))]),_:1},8,["active"])])]),e.value===0?(t(),s(k,{key:0})):c("",!0),e.value===1?(t(),s(b,{key:1})):c("",!0),e.value===2?(t(),s(x,{key:2})):c("",!0),e.value===3?(t(),s(g,{key:3})):c("",!0),e.value===4?(t(),s(w,{key:4})):c("",!0)]),l(C)])}}};export{W as default};
import{n as B,r as d,o as t,c as v,q as a,a as o,h as _,F as D,aq as I,Y as s,t as n,Z as r,i as f,a1 as c,K as P,a2 as l}from"./index-e9352973.js";import{B as L}from"./index-a5924d23.js";import{T as R,a as N}from"./index-11a2472d.js";const O={class:"container1"},F={class:"w-full h-[calc(100vh-55px)] overflow-y-auto"},j={class:"w-full h-[54px] bg-white flex"},q={class:"w-[87%] h-full"},z={class:"flex w-full h-[55px] items-center justify-evenly bg-white shadow-gray-600 shadow"},Z={__name:"index",setup(K){const h=c(()=>l(()=>import("./keyDetail-22a4398d.js"),["./keyDetail-22a4398d.js","./index-e9352973.js","./index-2936645e.css"],import.meta.url)),y=c(()=>l(()=>import("./siteDetail-b877577a.js"),["./siteDetail-b877577a.js","./index-e9352973.js","./index-2936645e.css"],import.meta.url)),w=c(()=>l(()=>import("./timeFrame-d8df4a2a.js"),["./timeFrame-d8df4a2a.js","./index-e9352973.js","./index-2936645e.css"],import.meta.url)),x=c(()=>l(()=>import("./useRecord-73168e01.js"),["./useRecord-73168e01.js","./index-e9352973.js","./index-2936645e.css"],import.meta.url)),b=B().appContext.config.globalProperties,e=d(0),g=d(["场地详情","使用记录","时间段","钥匙详细"]),k=()=>b.back(),E=u=>{e.value=u};return(u,m)=>{const T=P,C=N,V=R,p=L;return t(),v("div",O,[a("div",F,[a("div",j,[a("div",{onClick:k,class:"w-[13%] bg-white h-full text-[28px] text-gray-400 flex items-center justify-center"},[o(T,{class:"",name:"arrow-left"})]),a("div",q,[o(V,{active:e.value,"onUpdate:active":m[0]||(m[0]=i=>e.value=i),onChange:E,swipeable:""},{default:_(()=>[(t(!0),v(D,null,I(g.value,(i,A)=>(t(),s(C,{title:i,key:A},null,8,["title"]))),128))]),_:1},8,["active"])])]),e.value===0?(t(),s(n(y),{key:0})):r("",!0),e.value===1?(t(),s(n(x),{key:1})):r("",!0),e.value===2?(t(),s(n(w),{key:2})):r("",!0),e.value===3?(t(),s(n(h),{key:3})):r("",!0)]),a("div",z,[o(p,{class:"w-[40%]",plain:"",size:"small",type:"danger"},{default:_(()=>[f("删除")]),_:1}),o(p,{class:"w-[40%] text-gray-600",plain:"",type:"primary",size:"small"},{default:_(()=>[f("启用")]),_:1})])])}}};export{Z as default};
import{b as o,d as c,a as r,F as d,Q as u,ac as m,aq as f,w as v}from"./index-82423c0c.js";const[b,i]=o("cell-group"),g={title:String,inset:Boolean,border:u};var p=c({name:b,inheritAttrs:!1,props:g,setup(e,{slots:t,attrs:l}){const n=()=>{var a;return r("div",m({class:[i({inset:e.inset}),{[f]:e.border&&!e.inset}]},l),[(a=t.default)==null?void 0:a.call(t)])},s=()=>r("div",{class:i("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?r(d,null,[s(),n()]):n()}});const P=v(p);export{P as C};
import{_ as V,r as b,n as f,N,f as S,p as T,W as B,o as x,c as F,q as e,a,h as t,Y as h,t as R,Z as $,F as H,s as w,i as l,I as M,J as P,K as q}from"./index-e9352973.js";import{T as z,a as E}from"./index-0759b1dc.js";import{C as G}from"./index-5241f01e.js";import{I as J}from"./index-92bda7be.js";import"./use-placeholder-210aa7a2.js";const _=i=>(M("data-v-0c6b0104"),i=i(),P(),i),L={class:"container1"},U={class:"header flex justify-center content-start flex-wrap"},W={class:"mb-3 flex w-full h-[50px] rounded-[8px]"},Y={class:"w-1/2 h-full mt-1 ml-1"},Z={class:"w-1/2 h-full flex justify-end items-center"},D=_(()=>e("div",{class:"mx-2"},[e("div",{class:"font-bold ml flex justify-end"},"张老师"),e("div",{class:"text-[14px] text-neutral-400"},"asc20231227")],-1)),O={class:"mb-3 w-full flex flex-nowrap justify-between"},Q=["src"],X=_(()=>e("div",{class:"ml-3 text-white font-bold"},"借用钥匙",-1)),ee=["src"],te=_(()=>e("div",{class:"ml-3 text-white font-bold"},"归还钥匙",-1)),se=["src"],oe=w('<div class="w-[220px] h-full flex items-center" data-v-0c6b0104><div class="h-[40px]" data-v-0c6b0104><span class="ml-3 text-white text-[15px] font-bold" data-v-0c6b0104>钥匙借还记录</span><div class="ml-3 text-yellow-50 opacity-[0.7] text-[12px]" data-v-0c6b0104><span data-v-0c6b0104> 钥匙借出记录 | 钥匙归还记录 </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-0c6b0104><div class="ml-3 text-white font-bold" data-v-0c6b0104><div class="w-[45px] h-[20px] bg-yellow-100 rounded-[15px] flex items-center justify-center" data-v-0c6b0104><span class="text-[11px] text-yellow-600 font-serif" data-v-0c6b0104>去查看</span></div></div></div>',2),ae={class:"mb-3 ddd w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},ce=["src"],ne=w('<div class="w-[220px] h-full flex items-center" data-v-0c6b0104><div class="h-[40px]" data-v-0c6b0104><span class="ml-3 text-white text-[15px] font-bold" data-v-0c6b0104>我的借还记录</span><div class="ml-3 text-blue-50 text-[12px] opacity-[0.7]" data-v-0c6b0104><span class="" data-v-0c6b0104> 我的钥匙借用记录 | 我的归还钥匙记录 </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-0c6b0104><div class="ml-3 text-white font-bold" data-v-0c6b0104><div class="w-[45px] h-[20px] bg-blue-100 rounded-[15px] flex items-center justify-center" data-v-0c6b0104><span class="text-[11px] text-blue-600 font-serif" data-v-0c6b0104>去查看</span></div></div></div>',2),le={class:"footer"},ie=["src"],de=["src"],re=["src"],pe=["src"],xe={__name:"index",setup(i){b(!0);const g={borrowAKey:()=>d.data.borrowAKey=!d.data.borrowAKey,returnTheKey:()=>{},keyScanCode:()=>{}},m=b(1),p=f().appContext.config.globalProperties,d=N({data:{borrowAKey:!1}});S(()=>{document.title="钥匙管理",console.log("🚀🚀asc🚀,",f().appContext.config.globalProperties)});const u=c=>g[c](),y=c=>{p.tabChange(c)},o=c=>p.hooks.getImage(c),k=T("backAscHome"),C=()=>{k()};return(c,s)=>{const j=q,I=J,v=G,r=E,K=z,A=B("cs-pop-up");return x(),F(H,null,[e("div",L,[e("div",U,[e("div",W,[e("div",Y,[e("div",{onClick:C,style:{background:"white"},class:"child flex justify-center items-center"},[a(j,{style:{"font-size":"22px","font-weight":"bold"},name:"wap-home-o"})])]),e("div",Z,[D,e("div",null,[a(I,{round:"",width:"40px",height:"40px",src:o("tx")},null,8,["src"])])])]),e("div",O,[a(v,{onClick:s[0]||(s[0]=n=>u("borrowAKey")),inset:"",class:"w-[48%] h-[70px] aaa flex items-center"},{default:t(()=>[e("img",{src:o("jieyongyaoshi"),class:"ml-5 w-[35px] h-[35px]"},null,8,Q),X]),_:1}),(x(),h(v,{key:0,onClick:s[1]||(s[1]=n=>u("returnTheKey")),inset:"",class:"w-[48%] h-[70px] bbb flex items-center"},{default:t(()=>[e("img",{src:o("guihuanyaoshi"),class:"ml-5 w-[35px] h-[35px]"},null,8,ee),te]),_:1}))]),e("div",{onClick:s[3]||(s[3]=n=>R(p).hooks.go2Router("keyLoanAndReturnRecord")),class:"mb-3 ccc w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},[e("img",{src:o("yaoshilogo"),class:"ml-5 w-[40px] h-[40px]"},null,8,se),oe]),e("div",ae,[e("img",{src:o("wodejiehuanjilulogo"),class:"ml-5 w-[40px] h-[40px]"},null,8,ce),ne])]),e("div",le,[a(K,{modelValue:m.value,"onUpdate:modelValue":s[4]||(s[4]=n=>m.value=n),onChange:y},{default:t(()=>[a(r,{icon:"home-o"},{icon:t(()=>[e("img",{src:o("fm"),class:"w-[20px] h-[20px]"},null,8,ie)]),default:t(()=>[l("我的活动 ")]),_:1}),a(r,{icon:"search"},{icon:t(()=>[e("img",{src:o("tc"),class:"w-[20px] h-[20px]"},null,8,de)]),default:t(()=>[l("钥匙管理 ")]),_:1}),a(r,{icon:"home-o"},{icon:t(()=>[e("img",{src:o("fl"),class:"w-[20px] h-[20px]"},null,8,re)]),default:t(()=>[l("活动管理 ")]),_:1}),a(r,{icon:"friends-o"},{icon:t(()=>[e("img",{src:o("fr"),class:"w-[20px] h-[20px]"},null,8,pe)]),default:t(()=>[l("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])]),d.data.borrowAKey?(x(),h(A,{key:0,onBorrowAKeyFalse:s[5]||(s[5]=n=>d.data.borrowAKey=!1)},{default:t(()=>[l(" 1231 ")]),_:1})):$("",!0)],64)}}},fe=V(xe,[["__scopeId","data-v-0c6b0104"]]);export{fe as default};
import{_ as I,n as B,u as V,r as $,f as A,p as T,o as P,c as z,q as s,a as e,t as l,h as t,s as N,B as S,ai as U,v as q,x as E,y as H,z as M,A as G,i as d,aj as J,H as K,I as R,J as D,K as F,M as L}from"./index-82423c0c.js";import{T as O,a as Q}from"./index-5b4a0cbb.js";import{C as W}from"./index-3c6cbf4b.js";import{I as X}from"./index-7c76c084.js";import"./use-placeholder-394057df.js";const c=_=>(R("data-v-d0d1b2c6"),_=_(),D(),_),Y={class:"container1"},Z={class:"header flex justify-center content-start flex-wrap"},ss={class:"mb-3 flex w-full h-[50px] rounded-[8px]"},ts={class:"w-1/2 h-full mt-1 ml-1"},es={class:"w-1/2 h-full flex justify-end items-center"},ns=c(()=>s("div",{class:"mx-2"},[s("div",{class:"font-bold ml flex justify-end"},"张老师"),s("div",{class:"text-[14px] text-neutral-400"},"asc20231227")],-1)),as={class:"mb-3 w-full flex flex-nowrap justify-between"},os={class:"aaa w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},ls=["src"],cs=N('<div class="w-[220px] h-full flex items-center" data-v-d0d1b2c6><div class="h-[40px]" data-v-d0d1b2c6><span class="ml-3 text-white font-bold" data-v-d0d1b2c6>申请活动</span><div class="ml-3 text-white text-[12px]" data-v-d0d1b2c6><span data-v-d0d1b2c6> 自习室 | 传统文化活动室 | 共享厨房... </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-d0d1b2c6><div class="ml-3 text-white font-bold" data-v-d0d1b2c6><div class="w-[45px] h-[20px] bg-yellow-100 rounded-[15px] flex items-center justify-center" data-v-d0d1b2c6><span class="text-[11px] text-yellow-600 font-serif" data-v-d0d1b2c6>去申请</span></div></div></div>',2),is={class:"flex flex-nowrap mb-3 w-full h-[90px] bg-white rounded-[8px]"},ds=["src"],rs=c(()=>s("div",{class:"text-[14px] mt-1"},"审批中",-1)),ps=["src"],_s=c(()=>s("div",{class:"text-[14px] mt-1"},"待使用",-1)),us=["src"],ms=c(()=>s("div",{class:"text-[14px] mt-1"},"使用中",-1)),xs=["src"],vs=c(()=>s("div",{class:"text-[14px]"},"审批通过",-1)),fs={class:"mb-3 w-full"},hs=["src"],ws=c(()=>s("span",{class:"mx-2"},"加时活动",-1)),bs={class:"mb-3 w-full"},gs=["src"],ys=c(()=>s("span",null,"被邀请",-1)),ks={class:"mb-3 w-full"},Cs=["src"],js=c(()=>s("span",null,"已结束",-1)),Is={class:"footer"},Bs=["src"],Vs=["src"],$s=["src"],As=["src"],Ts={__name:"index",setup(_){const w={overtimeActivity:()=>{a.push({name:"overtimeActivity"})},approvaling:()=>{a.push({name:"approvaling"})},approvalPass:()=>{a.push({name:"approvalPass"})},awaitUse:()=>{a.push({name:"awaitUse"})},beInvited:()=>{a.push({name:"beInvited"})},over:()=>{a.push({name:"over"})},rated:()=>{a.push({name:"rated"})},remainToBeEvaluated:()=>{a.push({name:"remainToBeEvaluated"})},useing:()=>{a.push({name:"useing"})}},f=B().appContext.config.globalProperties,a=V(),h=$(0);A(()=>{document.title="主页"});const p=r=>f.hooks.getImage(r),b=r=>{f.tabChange(r)},g=T("backAscHome"),i=r=>{w[r]()},y=()=>{g()};return(r,n)=>{const k=F,C=X,u=S,x=L,v=W,m=Q,j=O;return P(),z("div",Y,[s("div",Z,[s("div",ss,[s("div",ts,[s("div",{onClick:y,style:{background:"white"},class:"child flex justify-center items-center"},[e(k,{style:{"font-size":"22px","font-weight":"bold"},name:"wap-home-o"})])]),s("div",es,[ns,s("div",null,[e(C,{round:"",width:"40px",height:"40px",src:p("tx")},null,8,["src"])])])]),s("div",as,[s("div",os,[s("img",{src:l(U),class:"ml-5 w-[40px] h-[40px]"},null,8,ls),cs])]),s("div",is,[s("div",{onClick:n[0]||(n[0]=o=>i("approvaling")),class:"w-1/4 h-full flex justify-center items-center"},[e(u,{content:235},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(q)},null,8,ds),rs]),_:1})]),s("div",{onClick:n[1]||(n[1]=o=>i("awaitUse")),class:"w-1/4 h-full flex-wrap flex justify-center items-center"},[e(u,{content:5},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(E)},null,8,ps),_s]),_:1})]),s("div",{onClick:n[2]||(n[2]=o=>i("useing")),class:"w-1/4 h-full flex justify-center items-center"},[e(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(H)},null,8,us),ms]),_:1})]),s("div",{onClick:n[3]||(n[3]=o=>i("approvalPass")),class:"w-1/4 h-full flex justify-center items-center"},[e(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(M)},null,8,xs),vs]),_:1})])]),s("div",fs,[e(v,{inset:""},{default:t(()=>[e(x,{onClick:n[4]||(n[4]=o=>i("overtimeActivity")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:l(G)},null,8,hs)]),title:t(()=>[ws]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",bs,[e(v,{inset:""},{default:t(()=>[e(x,{onClick:n[5]||(n[5]=o=>i("beInvited")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:l(J)},null,8,gs)]),title:t(()=>[ys]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",ks,[e(v,{inset:""},{default:t(()=>[e(x,{onClick:n[6]||(n[6]=o=>i("over")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:l(K)},null,8,Cs)]),title:t(()=>[js]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})])]),s("div",Is,[e(j,{modelValue:h.value,"onUpdate:modelValue":n[7]||(n[7]=o=>h.value=o),onChange:b},{default:t(()=>[e(m,{icon:"home-o"},{icon:t(()=>[s("img",{src:p("tm"),class:"w-[20px] h-[20px]"},null,8,Bs)]),default:t(()=>[d("我的活动 ")]),_:1}),e(m,{icon:"search"},{icon:t(()=>[s("img",{src:p("fc"),class:"w-[20px] h-[20px]"},null,8,Vs)]),default:t(()=>[d("钥匙管理 ")]),_:1}),e(m,{icon:"home-o"},{icon:t(()=>[s("img",{src:p("fl"),class:"w-[20px] h-[20px]"},null,8,$s)]),default:t(()=>[d("活动管理 ")]),_:1}),e(m,{icon:"friends-o"},{icon:t(()=>[s("img",{src:p("fr"),class:"w-[20px] h-[20px]"},null,8,As)]),default:t(()=>[d("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])])}}},qs=I(Ts,[["__scopeId","data-v-d0d1b2c6"]]);export{qs as default};
import{b as o,d,a as r,F as c,Q as u,aa as m,ad as f,w as v}from"./index-e9352973.js";const[b,i]=o("cell-group"),g={title:String,inset:Boolean,border:u};var p=d({name:b,inheritAttrs:!1,props:g,setup(e,{slots:t,attrs:l}){const n=()=>{var a;return r("div",m({class:[i({inset:e.inset}),{[f]:e.border&&!e.inset}]},l),[(a=t.default)==null?void 0:a.call(t)])},s=()=>r("div",{class:i("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?r(c,null,[s(),n()]):n()}});const P=v(p);export{P as C};
.child[data-v-369add73]{width:40px;height:40px;background:#f2f3f5;border-radius:4px}[data-v-369add73] .van-cell-group--inset{margin:0;border-radius:var(--van-cell-group-inset-radius);overflow:hidden}[data-v-369add73] .van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:80px;background:var(--van-tabbar-background)}
import{b as C,d as I,r as y,W as O,Q as p,P as g,a1 as $,a as u,R,aq as V,ar as M,w as _,as as N,at as j,au as w,n as z,a5 as E,Y as K,B as Y,ac as q,K as D,av as F}from"./index-82423c0c.js";import{u as Q}from"./use-placeholder-394057df.js";const[A,B]=C("tabbar"),W={route:Boolean,fixed:p,border:p,zIndex:g,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:$(0),safeAreaInsetBottom:{type:Boolean,default:null}},T=Symbol(A);var Z=I({name:A,props:W,emits:["change","update:modelValue"],setup(e,{emit:d,slots:r}){const m=y(),{linkChildren:b}=O(T),c=Q(m,B),f=()=>{var a;return(a=e.safeAreaInsetBottom)!=null?a:e.fixed},n=()=>{var a;const{fixed:t,zIndex:o,border:l}=e;return u("div",{ref:m,role:"tablist",style:R(o),class:[B({fixed:t}),{[V]:l,"van-safe-area-bottom":f()}]},[(a=r.default)==null?void 0:a.call(r)])};return b({props:e,setActive:(a,t)=>{M(e.beforeChange,{args:[a],done(){d("update:modelValue",a),d("change",a),t()}})}}),()=>e.fixed&&e.placeholder?c(n):n()}});const X=_(Z),[G,h]=C("tabbar-item"),H=N({},j,{dot:Boolean,icon:String,name:g,badge:g,badgeProps:Object,iconPrefix:String});var J=I({name:G,props:H,emits:["click"],setup(e,{emit:d,slots:r}){const m=w(),b=z().proxy,{parent:c,index:f}=E(T);if(!c)return;const n=K(()=>{var t;const{route:o,modelValue:l}=c.props;if(o&&"$route"in b){const{$route:v}=b,{to:i}=e,s=F(i)?i:{path:i};return!!v.matched.find(P=>{const S="path"in s&&s.path===P.path,k="name"in s&&s.name===P.name;return S||k})}return((t=e.name)!=null?t:f.value)===l}),x=t=>{var o;n.value||c.setActive((o=e.name)!=null?o:f.value,m),d("click",t)},a=()=>{if(r.icon)return r.icon({active:n.value});if(e.icon)return u(D,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var t;const{dot:o,badge:l}=e,{activeColor:v,inactiveColor:i}=c.props,s=n.value?v:i;return u("div",{role:"tab",class:h({active:n.value}),style:{color:s},tabindex:0,"aria-selected":n.value,onClick:x},[u(Y,q({dot:o,class:h("icon"),content:l},e.badgeProps),{default:a}),u("div",{class:h("text")},[(t=r.default)==null?void 0:t.call(r,{active:n.value})])])}}});const ee=_(J);export{X as T,ee as a};
.aaa[data-v-4c812d6c]{background-image:url(./zose-12ad63dd.png);background-size:cover}.bbb[data-v-4c812d6c]{background-image:url(./lanse-dcfc970d.png);background-size:cover}.ccc[data-v-4c812d6c]{background-image:url(./changhuangse-b16cce75.png);background-size:cover}.ddd[data-v-4c812d6c]{background-image:url(./changlanse-b305d474.png);background-size:cover}.child[data-v-4c812d6c]{width:40px;height:40px;background:#f2f3f5;border-radius:4px}[data-v-4c812d6c] .van-cell-group--inset{margin:0;border-radius:var(--van-cell-group-inset-radius);overflow:hidden}[data-v-4c812d6c] .van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:80px;background:var(--van-tabbar-background)}
import{_ as A,r as u,n as h,N as V,f as N,p as S,o as p,c as T,q as e,a as c,h as t,af as b,ag as B,ah as F,F as $,s as w,i as n,I as H,J as M,K as P}from"./index-82423c0c.js";import{T as q,a as z}from"./index-5b4a0cbb.js";import{C as E}from"./index-3c6cbf4b.js";import{I as G}from"./index-7c76c084.js";import"./use-placeholder-394057df.js";const x=l=>(H("data-v-4c812d6c"),l=l(),M(),l),J={class:"container1"},U={class:"header flex justify-center content-start flex-wrap"},D={class:"mb-3 flex w-full h-[50px] rounded-[8px]"},L={class:"w-1/2 h-full mt-1 ml-1"},O={class:"w-1/2 h-full flex justify-end items-center"},Q=x(()=>e("div",{class:"mx-2"},[e("div",{class:"font-bold ml flex justify-end"},"张老师"),e("div",{class:"text-[14px] text-neutral-400"},"asc20231227")],-1)),R={class:"mb-3 w-full flex flex-nowrap justify-between"},W=["src"],X=x(()=>e("div",{class:"ml-3 text-white font-bold"},"借用钥匙",-1)),Y=["src"],Z=x(()=>e("div",{class:"ml-3 text-white font-bold"},"归还钥匙",-1)),ee={class:"mb-3 ccc w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},te=["src"],se=w('<div class="w-[220px] h-full flex items-center" data-v-4c812d6c><div class="h-[40px]" data-v-4c812d6c><span class="ml-3 text-white text-[15px] font-bold" data-v-4c812d6c>钥匙借还记录</span><div class="ml-3 text-yellow-50 opacity-[0.7] text-[12px]" data-v-4c812d6c><span data-v-4c812d6c> 钥匙借出记录 | 钥匙归还记录 </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-4c812d6c><div class="ml-3 text-white font-bold" data-v-4c812d6c><div class="w-[45px] h-[20px] bg-yellow-100 rounded-[15px] flex items-center justify-center" data-v-4c812d6c><span class="text-[11px] text-yellow-600 font-serif" data-v-4c812d6c>去查看</span></div></div></div>',2),ae={class:"mb-3 ddd w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},ce=["src"],oe=w('<div class="w-[220px] h-full flex items-center" data-v-4c812d6c><div class="h-[40px]" data-v-4c812d6c><span class="ml-3 text-white text-[15px] font-bold" data-v-4c812d6c>我的借还记录</span><div class="ml-3 text-blue-50 text-[12px] opacity-[0.7]" data-v-4c812d6c><span class="" data-v-4c812d6c> 我的钥匙借用记录 | 我的归还钥匙记录 </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-4c812d6c><div class="ml-3 text-white font-bold" data-v-4c812d6c><div class="w-[45px] h-[20px] bg-blue-100 rounded-[15px] flex items-center justify-center" data-v-4c812d6c><span class="text-[11px] text-blue-600 font-serif" data-v-4c812d6c>去查看</span></div></div></div>',2),ne={class:"footer"},le=["src"],de=["src"],ie=["src"],re=["src"],pe={__name:"index",setup(l){u(!0);const g={borrowAKey:()=>d.data.borrowAKey=!d.data.borrowAKey,returnTheKey:()=>{},keyScanCode:()=>{}},_=u(1),m=h().appContext.config.globalProperties,d=V({data:{borrowAKey:!1}});N(()=>{document.title="钥匙管理",console.log("🚀🚀asc🚀,",h().appContext.config.globalProperties)});const v=o=>g[o](),y=o=>{m.tabChange(o)},s=o=>m.hooks.getImage(o),k=S("backAscHome"),C=()=>{k()};return(o,a)=>{const j=P,I=G,f=E,i=z,K=q;return p(),T($,null,[e("div",J,[e("div",U,[e("div",D,[e("div",L,[e("div",{onClick:C,style:{background:"white"},class:"child flex justify-center items-center"},[c(j,{style:{"font-size":"22px","font-weight":"bold"},name:"wap-home-o"})])]),e("div",O,[Q,e("div",null,[c(I,{round:"",width:"40px",height:"40px",src:s("tx")},null,8,["src"])])])]),e("div",R,[c(f,{onClick:a[0]||(a[0]=r=>v("borrowAKey")),inset:"",class:"w-[48%] h-[70px] aaa flex items-center"},{default:t(()=>[e("img",{src:s("jieyongyaoshi"),class:"ml-5 w-[35px] h-[35px]"},null,8,W),X]),_:1}),(p(),b(f,{key:0,onClick:a[1]||(a[1]=r=>v("returnTheKey")),inset:"",class:"w-[48%] h-[70px] bbb flex items-center"},{default:t(()=>[e("img",{src:s("guihuanyaoshi"),class:"ml-5 w-[35px] h-[35px]"},null,8,Y),Z]),_:1}))]),e("div",ee,[e("img",{src:s("yaoshilogo"),class:"ml-5 w-[40px] h-[40px]"},null,8,te),se]),e("div",ae,[e("img",{src:s("wodejiehuanjilulogo"),class:"ml-5 w-[40px] h-[40px]"},null,8,ce),oe])]),e("div",ne,[c(K,{modelValue:_.value,"onUpdate:modelValue":a[3]||(a[3]=r=>_.value=r),onChange:y},{default:t(()=>[c(i,{icon:"home-o"},{icon:t(()=>[e("img",{src:s("fm"),class:"w-[20px] h-[20px]"},null,8,le)]),default:t(()=>[n("我的活动 ")]),_:1}),c(i,{icon:"search"},{icon:t(()=>[e("img",{src:s("tc"),class:"w-[20px] h-[20px]"},null,8,de)]),default:t(()=>[n("钥匙管理 ")]),_:1}),c(i,{icon:"home-o"},{icon:t(()=>[e("img",{src:s("fl"),class:"w-[20px] h-[20px]"},null,8,ie)]),default:t(()=>[n("活动管理 ")]),_:1}),c(i,{icon:"friends-o"},{icon:t(()=>[e("img",{src:s("fr"),class:"w-[20px] h-[20px]"},null,8,re)]),default:t(()=>[n("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])]),d.data.borrowAKey?(p(),b(B,{key:0,onBorrowAKeyFalse:a[4]||(a[4]=r=>d.data.borrowAKey=!1)},{default:t(()=>[n(" 1231 ")]),_:1})):F("",!0)],64)}}},ue=A(pe,[["__scopeId","data-v-4c812d6c"]]);export{ue as default};
import{b as B,d as $,r as u,n as j,Y as D,ak as _,al as C,am as N,f as R,an as I,a as n,P as d,Q as b,m as z,a9 as U,ao as F,ac as S,ap as f,a4 as K,K as M,w as O}from"./index-82423c0c.js";const[Q,t]=B("image"),T={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:d,height:d,radius:d,lazyLoad:Boolean,iconSize:d,showError:b,errorIcon:z("photo-fail"),iconPrefix:String,showLoading:b,loadingIcon:z("photo")};var V=$({name:Q,props:T,emits:["load","error"],setup(a,{emit:v,slots:s}){const i=u(!1),o=u(!0),r=u(),{$Lazyload:l}=j().proxy,k=D(()=>{const e={width:f(a.width),height:f(a.height)};return K(a.radius)&&(e.overflow="hidden",e.borderRadius=f(a.radius)),e});_(()=>a.src,()=>{i.value=!1,o.value=!0});const g=e=>{o.value&&(o.value=!1,v("load",e))},m=()=>{const e=new Event("load");Object.defineProperty(e,"target",{value:r.value,enumerable:!0}),g(e)},h=e=>{i.value=!0,o.value=!1,v("error",e)},w=(e,c,P)=>P?P():n(M,{name:e,size:a.iconSize,class:c,classPrefix:a.iconPrefix},null),x=()=>{if(o.value&&a.showLoading)return n("div",{class:t("loading")},[w(a.loadingIcon,t("loading-icon"),s.loading)]);if(i.value&&a.showError)return n("div",{class:t("error")},[w(a.errorIcon,t("error-icon"),s.error)])},E=()=>{if(i.value||!a.src)return;const e={alt:a.alt,class:t("img"),style:{objectFit:a.fit,objectPosition:a.position}};return a.lazyLoad?U(n("img",S({ref:r},e),null),[[F("lazy"),a.src]]):n("img",S({ref:r,src:a.src,onLoad:g,onError:h},e),null)},y=({el:e})=>{const c=()=>{e===r.value&&o.value&&m()};r.value?c():I(c)},L=({el:e})=>{e===r.value&&!i.value&&h()};return l&&C&&(l.$on("loaded",y),l.$on("error",L),N(()=>{l.$off("loaded",y),l.$off("error",L)})),R(()=>{I(()=>{var e;(e=r.value)!=null&&e.complete&&!a.lazyLoad&&m()})}),()=>{var e;return n("div",{class:t({round:a.round,block:a.block}),style:k.value},[E(),x(),(e=s.default)==null?void 0:e.call(s)])}}});const q=O(V);export{q as I};
import{u as n,o as c,c as s,a as e,F as m}from"./index-82423c0c.js";import{E as p}from"./index-9d783246.js";import{N as _}from"./index-5c4ff4be.js";import"./use-placeholder-394057df.js";const v={__name:"index",setup(i){const t=n(),o=()=>t.replace({name:"welcome"});return(l,f)=>{const r=_,a=p;return c(),s(m,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:o}),e(a,{style:{width:"100%",height:"100%"},image:"error",description:"暂无权限!"})],64)}}};export{v as default}; import{u as n,o as c,c as s,a as e,F as m}from"./index-e9352973.js";import{E as p}from"./index-a979eddd.js";import{N as _}from"./index-d3d761ae.js";import"./use-placeholder-210aa7a2.js";const v={__name:"index",setup(i){const t=n(),o=()=>t.replace({name:"welcome"});return(l,f)=>{const r=_,a=p;return c(),s(m,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:o}),e(a,{style:{width:"100%",height:"100%"},image:"error",description:"暂无权限!"})],64)}}};export{v as default};
import{b as N,d as R,e as j,r as k,W as Y,X as Z,Y as W,Z as B,$ as q,a0 as F,a as e,Q as $,P as A,a1 as L,m as Q,a2 as X,a3 as G,U as J,a4 as ee,N as oe,a5 as te,a6 as ne,a7 as ae,a8 as D,R as se,a9 as le,aa as ce,ab as re,ac as ie,M as de,K as U,w as H,_ as ue,n as pe,f as me,p as ve,o as fe,c as _e,q as _,h as i,ad as he,ae as h,i as V}from"./index-82423c0c.js";import{T as we,a as ge}from"./index-5b4a0cbb.js";import"./use-placeholder-394057df.js";const[M,S]=N("dropdown-menu"),be={overlay:$,zIndex:A,duration:L(.2),direction:Q("down"),activeColor:String,closeOnClickOutside:$,closeOnClickOverlay:$,swipeThreshold:A},K=Symbol(M);var xe=R({name:M,props:be,setup(n,{slots:d}){const u=j(),g=k(),a=k(),l=k(0),{children:c,linkChildren:r}=Y(K),p=Z(g),b=W(()=>c.some(o=>o.state.showWrapper)),x=W(()=>n.swipeThreshold&&c.length>+n.swipeThreshold),P=W(()=>{if(b.value&&ee(n.zIndex))return{zIndex:+n.zIndex+1}}),C=()=>{c.forEach(o=>{o.toggle(!1)})},w=()=>{n.closeOnClickOutside&&C()},y=()=>{if(a.value){const o=X(a);n.direction==="down"?l.value=o.bottom:l.value=G.value-o.top}},v=()=>{b.value&&y()},O=o=>{c.forEach((s,f)=>{f===o?s.toggle():s.state.showPopup&&s.toggle(!1,{immediate:!0})})},t=(o,s)=>{const{showPopup:f}=o.state,{disabled:m,titleClass:E}=o;return e("div",{id:`${u}-${s}`,role:"button",tabindex:m?void 0:0,class:[S("item",{disabled:m,grow:x.value}),{[J]:!m}],onClick:()=>{m||O(s)}},[e("span",{class:[S("title",{down:f===(n.direction==="down"),active:f}),E],style:{color:f?n.activeColor:""}},[e("div",{class:"van-ellipsis"},[o.renderTitle()])])])};return B({close:C}),r({id:u,props:n,offset:l,updateOffset:y}),q(g,w),F("scroll",v,{target:p,passive:!0}),()=>{var o;return e("div",{ref:g,class:S()},[e("div",{ref:a,style:P.value,class:S("bar",{opened:b.value,scrollable:x.value})},[c.map(t)]),(o=d.default)==null?void 0:o.call(d)])}}});const[Ce,T]=N("dropdown-item"),ye={title:String,options:ae(),disabled:Boolean,teleport:[String,Object],lazyRender:$,modelValue:D,titleClass:D};var Pe=R({name:Ce,inheritAttrs:!1,props:ye,emits:["open","opened","close","closed","change","update:modelValue"],setup(n,{emit:d,slots:u,attrs:g}){const a=oe({showPopup:!1,transition:!0,showWrapper:!1}),{parent:l,index:c}=te(K);if(!l)return;const r=t=>()=>d(t),p=r("open"),b=r("close"),x=r("opened"),P=()=>{a.showWrapper=!1,d("closed")},C=t=>{n.teleport&&t.stopPropagation()},w=(t=!a.showPopup,o={})=>{t!==a.showPopup&&(a.showPopup=t,a.transition=!o.immediate,t&&(l.updateOffset(),a.showWrapper=!0))},y=()=>{if(u.title)return u.title();if(n.title)return n.title;const t=n.options.find(o=>o.value===n.modelValue);return t?t.text:""},v=t=>{const{activeColor:o}=l.props,s=t.value===n.modelValue,f=()=>{a.showPopup=!1,t.value!==n.modelValue&&(d("update:modelValue",t.value),d("change",t.value))},m=()=>{if(s)return e(U,{class:T("icon"),color:o,name:"success"},null)};return e(de,{role:"menuitem",key:String(t.value),icon:t.icon,title:t.text,class:T("option",{active:s}),style:{color:s?o:""},tabindex:s?0:-1,clickable:!0,onClick:f},{value:m})},O=()=>{const{offset:t}=l,{zIndex:o,overlay:s,duration:f,direction:m,closeOnClickOverlay:E}=l.props,z=se(o);return m==="down"?z.top=`${t.value}px`:z.bottom=`${t.value}px`,le(e("div",ie({style:z,class:T([m]),onClick:C},g),[e(re,{show:a.showPopup,"onUpdate:show":I=>a.showPopup=I,role:"menu",class:T("content"),overlay:s,position:m==="down"?"top":"bottom",duration:a.transition?f:0,lazyRender:n.lazyRender,overlayStyle:{position:"absolute"},"aria-labelledby":`${l.id}-${c.value}`,closeOnClickOverlay:E,onOpen:p,onClose:b,onOpened:x,onClosed:P},{default:()=>{var I;return[n.options.map(v),(I=u.default)==null?void 0:I.call(u)]}})]),[[ce,a.showWrapper]])};return B({state:a,toggle:w,renderTitle:y}),()=>n.teleport?e(ne,{to:n.teleport},{default:()=>[O()]}):O()}});const ke=H(Pe),Oe=H(xe);const Ie={class:"container1"},Ve={class:"w-full h-[54px] flex bg-white"},Se={class:"w-[75%] h-full bg-red-900"},Te={class:"w-[25%] h-full"},$e={class:"w-full h-[calc(100vh-134px)] p-3 overflow-y-auto"},Ee={class:"footer"},ze=["src"],We=["src"],Ae=["src"],De=["src"],Ne={__name:"index",setup(n){const d=pe().appContext.config.globalProperties,u=k(3);me(()=>{document.title="场地管理"});const g=r=>{d.tabChange(r)},a=k(0),l=[{text:"全部商品",value:0},{text:"新款商品",value:1},{text:"活动商品",value:2}],c=r=>d.hooks.getImage(r);return ve("backAscHome"),(r,p)=>{const b=U,x=he,P=ke,C=Oe,w=ge,y=we;return fe(),_e("div",Ie,[_("div",Ve,[_("div",Se,[e(x,{modelValue:r.search,"onUpdate:modelValue":p[0]||(p[0]=v=>r.search=v),placeholder:"请输入搜索关键词"},{"left-icon":i(()=>[]),"right-icon":i(()=>[e(b,{name:"search"})]),_:1},8,["modelValue"])]),_("div",Te,[e(C,null,{default:i(()=>[e(P,{modelValue:a.value,"onUpdate:modelValue":p[1]||(p[1]=v=>a.value=v),options:l},null,8,["modelValue"])]),_:1})])]),_("div",$e,[e(h),e(h),e(h),e(h),e(h),e(h),e(h),e(h),e(h)]),_("div",Ee,[e(y,{modelValue:u.value,"onUpdate:modelValue":p[2]||(p[2]=v=>u.value=v),onChange:g},{default:i(()=>[e(w,{icon:"home-o"},{icon:i(()=>[_("img",{src:c("fm"),class:"w-[20px] h-[20px]"},null,8,ze)]),default:i(()=>[V("我的活动 ")]),_:1}),e(w,{icon:"search"},{icon:i(()=>[_("img",{src:c("fc"),class:"w-[20px] h-[20px]"},null,8,We)]),default:i(()=>[V("钥匙管理 ")]),_:1}),e(w,{icon:"home-o"},{icon:i(()=>[_("img",{src:c("fl"),class:"w-[20px] h-[20px]"},null,8,Ae)]),default:i(()=>[V("活动管理 ")]),_:1}),e(w,{icon:"friends-o"},{icon:i(()=>[_("img",{src:c("tr"),class:"w-[20px] h-[20px]"},null,8,De)]),default:i(()=>[V("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])])}}},He=ue(Ne,[["__scopeId","data-v-2dc1e380"]]);export{He as default};
import{b as B,d as $,r as u,n as j,a3 as D,a4 as _,a5 as C,a6 as N,f as R,a7 as b,a as n,P as d,Q as I,m as z,a8 as U,a9 as F,aa as S,ab as f,ac as K,K as M,w as O}from"./index-e9352973.js";const[Q,t]=B("image"),T={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:d,height:d,radius:d,lazyLoad:Boolean,iconSize:d,showError:I,errorIcon:z("photo-fail"),iconPrefix:String,showLoading:I,loadingIcon:z("photo")};var V=$({name:Q,props:T,emits:["load","error"],setup(a,{emit:v,slots:s}){const i=u(!1),o=u(!0),r=u(),{$Lazyload:l}=j().proxy,x=D(()=>{const e={width:f(a.width),height:f(a.height)};return K(a.radius)&&(e.overflow="hidden",e.borderRadius=f(a.radius)),e});_(()=>a.src,()=>{i.value=!1,o.value=!0});const g=e=>{o.value&&(o.value=!1,v("load",e))},m=()=>{const e=new Event("load");Object.defineProperty(e,"target",{value:r.value,enumerable:!0}),g(e)},h=e=>{i.value=!0,o.value=!1,v("error",e)},w=(e,c,P)=>P?P():n(M,{name:e,size:a.iconSize,class:c,classPrefix:a.iconPrefix},null),E=()=>{if(o.value&&a.showLoading)return n("div",{class:t("loading")},[w(a.loadingIcon,t("loading-icon"),s.loading)]);if(i.value&&a.showError)return n("div",{class:t("error")},[w(a.errorIcon,t("error-icon"),s.error)])},k=()=>{if(i.value||!a.src)return;const e={alt:a.alt,class:t("img"),style:{objectFit:a.fit,objectPosition:a.position}};return a.lazyLoad?U(n("img",S({ref:r},e),null),[[F("lazy"),a.src]]):n("img",S({ref:r,src:a.src,onLoad:g,onError:h},e),null)},y=({el:e})=>{const c=()=>{e===r.value&&o.value&&m()};r.value?c():b(c)},L=({el:e})=>{e===r.value&&!i.value&&h()};return l&&C&&(l.$on("loaded",y),l.$on("error",L),N(()=>{l.$off("loaded",y),l.$off("error",L)})),R(()=>{b(()=>{var e;(e=r.value)!=null&&e.complete&&!a.lazyLoad&&m()})}),()=>{var e;return n("div",{class:t({round:a.round,block:a.block}),style:x.value},[k(),E(),(e=s.default)==null?void 0:e.call(s)])}}});const A=O(V);export{A as I};
import{u as n,o as c,c as s,a as e,F as m}from"./index-82423c0c.js";import{E as p}from"./index-9d783246.js";import{N as _}from"./index-5c4ff4be.js";import"./use-placeholder-394057df.js";const v={__name:"index",setup(i){const t=n(),o=()=>t.replace({name:"welcome"});return(l,f)=>{const r=_,a=p;return c(),s(m,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:o}),e(a,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{v as default}; import{u as n,o as c,c as s,a as e,F as m}from"./index-e9352973.js";import{E as p}from"./index-a979eddd.js";import{N as _}from"./index-d3d761ae.js";import"./use-placeholder-210aa7a2.js";const v={__name:"index",setup(i){const t=n(),o=()=>t.replace({name:"welcome"});return(l,f)=>{const r=_,a=p;return c(),s(m,null,[e(r,{"left-text":"返回","left-arrow":"",onClickLeft:o}),e(a,{style:{width:"100%",height:"100%"},image:"error",description:"异常"})],64)}}};export{v as default};
import{b as z,as as R,at as C,m as l,P as I,d as w,au as D,aE as L,a,K as N,aF as q,L as E,w as O}from"./index-82423c0c.js";const[U,o]=z("button"),_=R({},C,{tag:l("button"),text:String,icon:String,type:l("default"),size:l("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:l("button"),loadingSize:I,loadingText:String,loadingType:String,iconPosition:l("left")});var F=w({name:U,props:_,emits:["click"],setup(e,{emit:g,slots:t}){const f=D(),b=()=>t.loading?t.loading():a(E,{size:e.loadingSize,type:e.loadingType,class:o("loading")},null),c=()=>{if(e.loading)return b();if(t.icon)return a("div",{class:o("icon")},[t.icon()]);if(e.icon)return a(N,{name:e.icon,class:o("icon"),classPrefix:e.iconPrefix},null)},x=()=>{let n;if(e.loading?n=e.loadingText:n=t.default?t.default():e.text,n)return a("span",{class:o("text")},[n])},m=()=>{const{color:n,plain:r}=e;if(n){const i={color:r?n:"white"};return r||(i.background=n),n.includes("gradient")?i.border=0:i.borderColor=n,i}},y=n=>{e.loading?q(n):e.disabled||(g("click",n),f())};return()=>{const{tag:n,type:r,size:i,block:S,round:B,plain:P,square:k,loading:T,disabled:s,hairline:d,nativeType:h,iconPosition:u}=e,v=[o([r,i,{plain:P,block:S,round:B,square:k,loading:T,disabled:s,hairline:d}]),{[L]:d}];return a(n,{type:h,class:v,style:m(),disabled:s,onClick:y},{default:()=>[a("div",{class:o("content")},[u==="left"&&c(),x(),u==="right"&&c()])]})}}});const V=O(F);export{V as B}; import{b as z,ah as R,ai as C,m as l,P as I,d as w,aj as D,aZ as L,a,K as N,aK as q,L as K,w as O}from"./index-e9352973.js";const[U,o]=z("button"),_=R({},C,{tag:l("button"),text:String,icon:String,type:l("default"),size:l("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:l("button"),loadingSize:I,loadingText:String,loadingType:String,iconPosition:l("left")});var j=w({name:U,props:_,emits:["click"],setup(e,{emit:g,slots:i}){const f=D(),b=()=>i.loading?i.loading():a(K,{size:e.loadingSize,type:e.loadingType,class:o("loading")},null),c=()=>{if(e.loading)return b();if(i.icon)return a("div",{class:o("icon")},[i.icon()]);if(e.icon)return a(N,{name:e.icon,class:o("icon"),classPrefix:e.iconPrefix},null)},x=()=>{let n;if(e.loading?n=e.loadingText:n=i.default?i.default():e.text,n)return a("span",{class:o("text")},[n])},m=()=>{const{color:n,plain:r}=e;if(n){const t={color:r?n:"white"};return r||(t.background=n),n.includes("gradient")?t.border=0:t.borderColor=n,t}},y=n=>{e.loading?q(n):e.disabled||(g("click",n),f())};return()=>{const{tag:n,type:r,size:t,block:S,round:B,plain:P,square:k,loading:T,disabled:s,hairline:d,nativeType:h,iconPosition:u}=e,v=[o([r,t,{plain:P,block:S,round:B,square:k,loading:T,disabled:s,hairline:d}]),{[L]:d}];return a(n,{type:h,class:v,style:m(),disabled:s,onClick:y},{default:()=>[a("div",{class:o("content")},[u==="left"&&c(),x(),u==="right"&&c()])]})}}});const V=O(j);export{V as B};
import{b as v,d as w,e as G,a as e,g as k,m as M,w as B}from"./index-82423c0c.js";const[S,s]=v("empty"),C={image:M("default"),imageSize:[Number,String,Array],description:String};var b=w({name:S,props:C,setup(o,{slots:a}){const F=()=>{const r=a.description?a.description():o.description;if(r)return e("p",{class:s("description")},[r])},u=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=G(),l=r=>`${f}-${r}`,t=r=>`url(#${l(r)})`,i=(r,d,D)=>e("stop",{"stop-color":r,offset:`${d}%`,"stop-opacity":D},null),n=(r,d)=>[i(r,0),i(d,100)],x=r=>[e("defs",null,[e("radialGradient",{id:l(r),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[i("#EBEDF0",0),i("#F2F3F5",100,.3)])]),e("ellipse",{fill:t(r),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:l("a"),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:t("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:t("a")},null)])],h=()=>[e("defs",null,[e("linearGradient",{id:l("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[i("#F2F3F5",0,.3),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:t("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:t("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:l(1),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)]),e("linearGradient",{id:l(2),x1:"50%",x2:"50%",y2:"84%"},[i("#EBEDF0",0),i("#DCDEE0",100,0)]),e("linearGradient",{id:l(3),x1:"100%",x2:"100%",y2:"100%"},[n("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:l(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[i("#EBEDF0",0),i("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:t(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:t(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:t(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:t(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:t(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:t(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(5)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:l(6)},[n("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:l(7)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:t(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:t(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:t(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(8)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),x("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:t(8)},null)]),p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:l(9)},[n("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:l(10)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(11)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(12)},[n("#FFF","#F7F8FA")])]),c(),h(),x("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:t(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:t(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:t(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:t(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:t(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var r;if(a.image)return a.image();const d={error:E,search:p,network:y,default:g};return((r=d[o.image])==null?void 0:r.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:k(o.imageSize)},[m()]),F(),u()])}});const A=B(b);export{A as E}; import{b as v,d as w,e as G,a as e,g as k,m as M,w as B}from"./index-e9352973.js";const[S,s]=v("empty"),C={image:M("default"),imageSize:[Number,String,Array],description:String};var b=w({name:S,props:C,setup(o,{slots:a}){const F=()=>{const r=a.description?a.description():o.description;if(r)return e("p",{class:s("description")},[r])},u=()=>{if(a.default)return e("div",{class:s("bottom")},[a.default()])},f=G(),l=r=>`${f}-${r}`,t=r=>`url(#${l(r)})`,i=(r,d,D)=>e("stop",{"stop-color":r,offset:`${d}%`,"stop-opacity":D},null),n=(r,d)=>[i(r,0),i(d,100)],x=r=>[e("defs",null,[e("radialGradient",{id:l(r),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[i("#EBEDF0",0),i("#F2F3F5",100,.3)])]),e("ellipse",{fill:t(r),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],c=()=>[e("defs",null,[e("linearGradient",{id:l("a"),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M36 131V53H16v20H2v58h34z",fill:t("a")},null),e("path",{d:"M123 15h22v14h9v77h-31V15z",fill:t("a")},null)])],h=()=>[e("defs",null,[e("linearGradient",{id:l("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[i("#F2F3F5",0,.3),i("#F2F3F5",100)])]),e("g",{opacity:".8"},[e("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:t("b")},null),e("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:t("b")},null)])],y=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{id:l(1),x1:"64%",y1:"100%",x2:"64%"},[i("#FFF",0,.5),i("#F2F3F5",100)]),e("linearGradient",{id:l(2),x1:"50%",x2:"50%",y2:"84%"},[i("#EBEDF0",0),i("#DCDEE0",100,0)]),e("linearGradient",{id:l(3),x1:"100%",x2:"100%",y2:"100%"},[n("#EAEDF0","#DCDEE0")]),e("radialGradient",{id:l(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[i("#EBEDF0",0),i("#FFF",100,0)])]),e("g",{fill:"none"},[c(),e("path",{fill:t(4),d:"M0 139h160v21H0z"},null),e("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:t(2)},null),e("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[e("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:t(3)},null),e("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:t(3)},null),e("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:t(3)},null),e("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:t(3)},null)]),e("g",{transform:"translate(31 105)"},[e("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),e("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),e("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),g=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(5)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:l(6)},[n("#EAEDF1","#DCDEE0")]),e("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:l(7)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),e("g",{transform:"translate(36 50)",fill:"none"},[e("g",{transform:"translate(8)"},[e("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),e("rect",{fill:t(5),width:"64",height:"66",rx:"2"},null),e("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),e("g",{transform:"translate(15 17)",fill:t(6)},[e("rect",{width:"34",height:"6",rx:"1"},null),e("path",{d:"M0 14h34v6H0z"},null),e("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),e("rect",{fill:t(7),y:"61",width:"88",height:"28",rx:"1"},null),e("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),E=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(8)},[n("#EAEDF1","#DCDEE0")])]),c(),h(),x("c"),e("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:t(8)},null)]),p=()=>e("svg",{viewBox:"0 0 160 160"},[e("defs",null,[e("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:l(9)},[n("#EEE","#D8D8D8")]),e("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:l(10)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(11)},[n("#F2F3F5","#DCDEE0")]),e("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:l(12)},[n("#FFF","#F7F8FA")])]),c(),h(),x("d"),e("g",{transform:"rotate(-45 113 -4)",fill:"none"},[e("rect",{fill:t(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),e("rect",{fill:t(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),e("circle",{stroke:t(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),e("circle",{fill:t(12),cx:"27",cy:"27",r:"16"},null),e("path",{d:"M37 7c-8 0-15 5-16 12",stroke:t(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var r;if(a.image)return a.image();const d={error:E,search:p,network:y,default:g};return((r=d[o.image])==null?void 0:r.call(d))||e("img",{src:o.image},null)};return()=>e("div",{class:s()},[e("div",{class:s("image"),style:k(o.imageSize)},[m()]),F(),u()])}});const A=B(b);export{A as E};
import{u as y,N as f,f as x,o as C,c as g,a,q as l,h as t,F as v,t as n,O as r,i as h,T as w,M as N}from"./index-82423c0c.js";import{C as k}from"./index-3c6cbf4b.js";import{N as B}from"./index-5c4ff4be.js";import"./use-placeholder-394057df.js";const b={class:"container"},D={__name:"index",setup(L){const c=y();let e=f({data:{}});const _=async()=>{const i=await(void 0)({id:c.currentRoute.value.query.id});e.data=i.response};x(()=>{_()});const d=()=>c.push({name:"signList"});return(p,i)=>{const u=B,s=w,o=N,m=k;return C(),g(v,null,[a(u,{title:"值班信息","left-text":"返回","left-arrow":"",onClickLeft:d}),l("div",b,[a(m,{class:"cardContainer",inset:""},{default:t(()=>[a(o,{class:"cardContent",title:n(e).data.username},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.card_name),1)]),_:1}),a(s,{color:"#7232dd",type:"primary",plain:"",style:{"margin-left":"10px"}},{default:t(()=>[h(r(["值班教师","值班领导"][n(e).data.is_lead]),1)]),_:1})]),_:1},8,["title"]),a(o,{class:"cardContent",title:"手机号"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.mobile),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"日期"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.watch_date),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"时段"},{extra:t(()=>[a(s,{type:"primary",plain:"",style:{"margin-left":"10px"}},{default:t(()=>[l("span",null,r(n(e).data.watch_hour_time),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"类型"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.watchtypename+"-"+n(e).data.dept_name+"-"+n(e).data.campusname),1)]),_:1})]),_:1})]),_:1})])],64)}}};export{D as default}; import{u as y,N as f,f as x,o as C,c as g,a,q as l,h as t,F as v,t as n,O as r,i as h,T as w,M as N}from"./index-e9352973.js";import{C as k}from"./index-5241f01e.js";import{N as B}from"./index-d3d761ae.js";import"./use-placeholder-210aa7a2.js";const b={class:"container"},D={__name:"index",setup(L){const c=y();let e=f({data:{}});const _=async()=>{const i=await(void 0)({id:c.currentRoute.value.query.id});e.data=i.response};x(()=>{_()});const d=()=>c.push({name:"signList"});return(p,i)=>{const u=B,s=w,o=N,m=k;return C(),g(v,null,[a(u,{title:"值班信息","left-text":"返回","left-arrow":"",onClickLeft:d}),l("div",b,[a(m,{class:"cardContainer",inset:""},{default:t(()=>[a(o,{class:"cardContent",title:n(e).data.username},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.card_name),1)]),_:1}),a(s,{color:"#7232dd",type:"primary",plain:"",style:{"margin-left":"10px"}},{default:t(()=>[h(r(["值班教师","值班领导"][n(e).data.is_lead]),1)]),_:1})]),_:1},8,["title"]),a(o,{class:"cardContent",title:"手机号"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.mobile),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"日期"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.watch_date),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"时段"},{extra:t(()=>[a(s,{type:"primary",plain:"",style:{"margin-left":"10px"}},{default:t(()=>[l("span",null,r(n(e).data.watch_hour_time),1)]),_:1})]),_:1}),a(o,{class:"cardContent",title:"类型"},{extra:t(()=>[a(s,{type:"primary",plain:""},{default:t(()=>[l("span",null,r(n(e).data.watchtypename+"-"+n(e).data.dept_name+"-"+n(e).data.campusname),1)]),_:1})]),_:1})]),_:1})])],64)}}};export{D as default};
import{_ as I,n as B,u as $,r as T,f as V,p as A,o as z,c as E,q as s,a as n,h as t,s as P,B as N,t as i,v as S,x as U,y as H,z as M,A as q,i as d,D,E as G,H as J,I as K,J as R,K as F,M as L}from"./index-82423c0c.js";import{T as O,a as Q}from"./index-5b4a0cbb.js";import{C as W}from"./index-3c6cbf4b.js";import{I as X}from"./index-7c76c084.js";import"./use-placeholder-394057df.js";const o=_=>(K("data-v-d92cf997"),_=_(),R(),_),Y={class:"container1"},Z={class:"header flex justify-center content-start flex-wrap"},ss={class:"mb-3 flex w-full h-[50px] rounded-[8px]"},ts={class:"w-1/2 h-full mt-1 ml-1"},es={class:"w-1/2 h-full flex justify-end items-center"},ns=o(()=>s("div",{class:"mx-2"},[s("div",{class:"font-bold ml flex justify-end"},"张老师"),s("div",{class:"text-[14px] text-neutral-400"},"asc20231227")],-1)),ls={class:"mb-3 w-full flex flex-nowrap justify-between"},as={class:"aaa w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},os=["src"],cs=P('<div class="w-[220px] h-full flex items-center" data-v-d92cf997><div class="h-[40px]" data-v-d92cf997><span class="ml-3 text-white font-bold" data-v-d92cf997>直开活动</span><div class="ml-3 text-white text-[12px]" data-v-d92cf997><span data-v-d92cf997> 自习室 | 传统文化活动室 | 共享厨房... </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-d92cf997><div class="ml-3 text-white font-bold" data-v-d92cf997><div class="w-[45px] h-[20px] bg-blue-100 rounded-[15px] flex items-center justify-center" data-v-d92cf997><span class="text-[11px] text-blue-600 font-serif" data-v-d92cf997>去申请</span></div></div></div>',2),is={class:"flex flex-nowrap mb-3 w-full h-[90px] bg-white rounded-[8px]"},ds=["src"],rs=o(()=>s("div",{class:"text-[14px] mt-1"},"审批中",-1)),ps=["src"],_s=o(()=>s("div",{class:"text-[14px] mt-1"},"待使用",-1)),us=["src"],ms=o(()=>s("div",{class:"text-[14px] mt-1"},"使用中",-1)),xs=["src"],fs=o(()=>s("div",{class:"text-[14px] mt-1"},[s("span",null," 审批通过 ")],-1)),vs={class:"mb-3 w-full"},hs=["src"],ws=o(()=>s("span",{class:"mx-2"},"加时活动",-1)),gs={class:"mb-3 w-full"},bs=["src"],ys=o(()=>s("span",null,"待评价",-1)),ks=["src"],Cs=o(()=>s("span",null,"已评价",-1)),js={class:"mb-3 w-full"},Is=["src"],Bs=o(()=>s("span",null,"已结束",-1)),$s={class:"footer"},Ts=["src"],Vs=["src"],As=["src"],zs=["src"],Es={__name:"index",setup(_){const w={overtimeActivity:()=>{l.push({name:"overtimeActivity"})},approvaling:()=>{l.push({name:"approvaling"})},approvalPass:()=>{l.push({name:"approvalPass"})},awaitUse:()=>{l.push({name:"awaitUse"})},beInvited:()=>{l.push({name:"beInvited"})},over:()=>{l.push({name:"over"})},rated:()=>{l.push({name:"rated"})},remainToBeEvaluated:()=>{l.push({name:"remainToBeEvaluated"})},useing:()=>{l.push({name:"useing"})}},v=B().appContext.config.globalProperties,l=$(),h=T(2);V(()=>{document.title="主页"});const r=p=>v.hooks.getImage(p),g=p=>{v.tabChange(p)},b=A("backAscHome"),c=p=>{w[p]()},y=()=>{b()};return(p,e)=>{const k=F,C=X,u=N,m=L,f=W,x=Q,j=O;return z(),E("div",Y,[s("div",Z,[s("div",ss,[s("div",ts,[s("div",{onClick:y,style:{background:"white"},class:"child flex justify-center items-center"},[n(k,{style:{"font-size":"22px","font-weight":"bold"},name:"wap-home-o"})])]),s("div",es,[ns,s("div",null,[n(C,{round:"",width:"40px",height:"40px",src:r("tx")},null,8,["src"])])])]),s("div",ls,[s("div",as,[s("img",{src:r("zkcd"),class:"ml-5 w-[40px] h-[40px]"},null,8,os),cs])]),s("div",is,[s("div",{onClick:e[0]||(e[0]=a=>c("approvaling")),class:"w-1/4 h-full flex justify-center items-center"},[n(u,{content:235},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(S)},null,8,ds),rs]),_:1})]),s("div",{onClick:e[1]||(e[1]=a=>c("awaitUse")),class:"w-1/4 h-full flex-wrap flex justify-center items-center"},[n(u,{content:5},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(U)},null,8,ps),_s]),_:1})]),s("div",{onClick:e[2]||(e[2]=a=>c("useing")),class:"w-1/4 h-full flex justify-center items-center"},[n(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(H)},null,8,us),ms]),_:1})]),s("div",{onClick:e[3]||(e[3]=a=>c("approvalPass")),class:"w-1/4 h-full flex justify-center items-center"},[n(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(M)},null,8,xs),fs]),_:1})])]),s("div",vs,[n(f,{inset:""},{default:t(()=>[n(m,{onClick:e[4]||(e[4]=a=>c("overtimeActivity")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(q)},null,8,hs)]),title:t(()=>[ws]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",gs,[n(f,{inset:""},{default:t(()=>[n(m,{onClick:e[5]||(e[5]=a=>c("remainToBeEvaluated")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(D)},null,8,bs)]),title:t(()=>[ys]),value:t(()=>[d(" 1 ")]),_:1}),n(m,{onClick:e[6]||(e[6]=a=>c("rated")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(G)},null,8,ks)]),title:t(()=>[Cs]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",js,[n(f,{inset:""},{default:t(()=>[n(m,{onClick:e[7]||(e[7]=a=>c("over")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(J)},null,8,Is)]),title:t(()=>[Bs]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})])]),s("div",$s,[n(j,{modelValue:h.value,"onUpdate:modelValue":e[8]||(e[8]=a=>h.value=a),onChange:g},{default:t(()=>[n(x,{icon:"home-o"},{icon:t(()=>[s("img",{src:r("fm"),class:"w-[20px] h-[20px]"},null,8,Ts)]),default:t(()=>[d("我的活动 ")]),_:1}),n(x,{icon:"search"},{icon:t(()=>[s("img",{src:r("fc"),class:"w-[20px] h-[20px]"},null,8,Vs)]),default:t(()=>[d("钥匙管理 ")]),_:1}),n(x,{icon:"home-o"},{icon:t(()=>[s("img",{src:r("tl"),class:"w-[20px] h-[20px]"},null,8,As)]),default:t(()=>[d("活动管理 ")]),_:1}),n(x,{icon:"friends-o"},{icon:t(()=>[s("img",{src:r("fr"),class:"w-[20px] h-[20px]"},null,8,zs)]),default:t(()=>[d("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])])}}},Ms=I(Es,[["__scopeId","data-v-d92cf997"]]);export{Ms as default}; import{_ as I,n as B,u as $,r as T,f as V,p as A,o as z,c as E,q as s,a as n,h as t,s as P,B as N,t as i,v as S,x as U,y as H,z as M,A as q,i as d,D,E as G,H as J,I as K,J as R,K as F,M as L}from"./index-e9352973.js";import{T as O,a as Q}from"./index-0759b1dc.js";import{C as W}from"./index-5241f01e.js";import{I as X}from"./index-92bda7be.js";import"./use-placeholder-210aa7a2.js";const o=_=>(K("data-v-d92cf997"),_=_(),R(),_),Y={class:"container1"},Z={class:"header flex justify-center content-start flex-wrap"},ss={class:"mb-3 flex w-full h-[50px] rounded-[8px]"},ts={class:"w-1/2 h-full mt-1 ml-1"},es={class:"w-1/2 h-full flex justify-end items-center"},ns=o(()=>s("div",{class:"mx-2"},[s("div",{class:"font-bold ml flex justify-end"},"张老师"),s("div",{class:"text-[14px] text-neutral-400"},"asc20231227")],-1)),ls={class:"mb-3 w-full flex flex-nowrap justify-between"},as={class:"aaa w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},os=["src"],cs=P('<div class="w-[220px] h-full flex items-center" data-v-d92cf997><div class="h-[40px]" data-v-d92cf997><span class="ml-3 text-white font-bold" data-v-d92cf997>直开活动</span><div class="ml-3 text-white text-[12px]" data-v-d92cf997><span data-v-d92cf997> 自习室 | 传统文化活动室 | 共享厨房... </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-d92cf997><div class="ml-3 text-white font-bold" data-v-d92cf997><div class="w-[45px] h-[20px] bg-blue-100 rounded-[15px] flex items-center justify-center" data-v-d92cf997><span class="text-[11px] text-blue-600 font-serif" data-v-d92cf997>去申请</span></div></div></div>',2),is={class:"flex flex-nowrap mb-3 w-full h-[90px] bg-white rounded-[8px]"},ds=["src"],rs=o(()=>s("div",{class:"text-[14px] mt-1"},"审批中",-1)),ps=["src"],_s=o(()=>s("div",{class:"text-[14px] mt-1"},"待使用",-1)),us=["src"],ms=o(()=>s("div",{class:"text-[14px] mt-1"},"使用中",-1)),xs=["src"],fs=o(()=>s("div",{class:"text-[14px] mt-1"},[s("span",null," 审批通过 ")],-1)),vs={class:"mb-3 w-full"},hs=["src"],ws=o(()=>s("span",{class:"mx-2"},"加时活动",-1)),gs={class:"mb-3 w-full"},bs=["src"],ys=o(()=>s("span",null,"待评价",-1)),ks=["src"],Cs=o(()=>s("span",null,"已评价",-1)),js={class:"mb-3 w-full"},Is=["src"],Bs=o(()=>s("span",null,"已结束",-1)),$s={class:"footer"},Ts=["src"],Vs=["src"],As=["src"],zs=["src"],Es={__name:"index",setup(_){const w={overtimeActivity:()=>{l.push({name:"overtimeActivity"})},approvaling:()=>{l.push({name:"approvaling"})},approvalPass:()=>{l.push({name:"approvalPass"})},awaitUse:()=>{l.push({name:"awaitUse"})},beInvited:()=>{l.push({name:"beInvited"})},over:()=>{l.push({name:"over"})},rated:()=>{l.push({name:"rated"})},remainToBeEvaluated:()=>{l.push({name:"remainToBeEvaluated"})},useing:()=>{l.push({name:"useing"})}},v=B().appContext.config.globalProperties,l=$(),h=T(2);V(()=>{document.title="主页"});const r=p=>v.hooks.getImage(p),g=p=>{v.tabChange(p)},b=A("backAscHome"),c=p=>{w[p]()},y=()=>{b()};return(p,e)=>{const k=F,C=X,u=N,m=L,f=W,x=Q,j=O;return z(),E("div",Y,[s("div",Z,[s("div",ss,[s("div",ts,[s("div",{onClick:y,style:{background:"white"},class:"child flex justify-center items-center"},[n(k,{style:{"font-size":"22px","font-weight":"bold"},name:"wap-home-o"})])]),s("div",es,[ns,s("div",null,[n(C,{round:"",width:"40px",height:"40px",src:r("tx")},null,8,["src"])])])]),s("div",ls,[s("div",as,[s("img",{src:r("zkcd"),class:"ml-5 w-[40px] h-[40px]"},null,8,os),cs])]),s("div",is,[s("div",{onClick:e[0]||(e[0]=a=>c("approvaling")),class:"w-1/4 h-full flex justify-center items-center"},[n(u,{content:235},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(S)},null,8,ds),rs]),_:1})]),s("div",{onClick:e[1]||(e[1]=a=>c("awaitUse")),class:"w-1/4 h-full flex-wrap flex justify-center items-center"},[n(u,{content:5},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(U)},null,8,ps),_s]),_:1})]),s("div",{onClick:e[2]||(e[2]=a=>c("useing")),class:"w-1/4 h-full flex justify-center items-center"},[n(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(H)},null,8,us),ms]),_:1})]),s("div",{onClick:e[3]||(e[3]=a=>c("approvalPass")),class:"w-1/4 h-full flex justify-center items-center"},[n(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:i(M)},null,8,xs),fs]),_:1})])]),s("div",vs,[n(f,{inset:""},{default:t(()=>[n(m,{onClick:e[4]||(e[4]=a=>c("overtimeActivity")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(q)},null,8,hs)]),title:t(()=>[ws]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",gs,[n(f,{inset:""},{default:t(()=>[n(m,{onClick:e[5]||(e[5]=a=>c("remainToBeEvaluated")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(D)},null,8,bs)]),title:t(()=>[ys]),value:t(()=>[d(" 1 ")]),_:1}),n(m,{onClick:e[6]||(e[6]=a=>c("rated")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(G)},null,8,ks)]),title:t(()=>[Cs]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",js,[n(f,{inset:""},{default:t(()=>[n(m,{onClick:e[7]||(e[7]=a=>c("over")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:i(J)},null,8,Is)]),title:t(()=>[Bs]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})])]),s("div",$s,[n(j,{modelValue:h.value,"onUpdate:modelValue":e[8]||(e[8]=a=>h.value=a),onChange:g},{default:t(()=>[n(x,{icon:"home-o"},{icon:t(()=>[s("img",{src:r("fm"),class:"w-[20px] h-[20px]"},null,8,Ts)]),default:t(()=>[d("我的活动 ")]),_:1}),n(x,{icon:"search"},{icon:t(()=>[s("img",{src:r("fc"),class:"w-[20px] h-[20px]"},null,8,Vs)]),default:t(()=>[d("钥匙管理 ")]),_:1}),n(x,{icon:"home-o"},{icon:t(()=>[s("img",{src:r("tl"),class:"w-[20px] h-[20px]"},null,8,As)]),default:t(()=>[d("活动管理 ")]),_:1}),n(x,{icon:"friends-o"},{icon:t(()=>[s("img",{src:r("fr"),class:"w-[20px] h-[20px]"},null,8,zs)]),default:t(()=>[d("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])])}}},Ms=I(Es,[["__scopeId","data-v-d92cf997"]]);export{Ms as default};
import{_ as j,n as A,u as V,r as $,f as B,p as P,o as T,c as E,q as s,a as e,t as l,h as t,s as z,B as N,$ as S,v as U,x as q,y as H,z as M,A as R,i as d,a0 as D,H as G,I as J,J as K,K as L,M as O,a1 as F,a2 as Q}from"./index-e9352973.js";import{T as W,a as X}from"./index-0759b1dc.js";import{C as Y}from"./index-5241f01e.js";import{I as Z}from"./index-92bda7be.js";import"./use-placeholder-210aa7a2.js";const c=_=>(J("data-v-d0d1b2c6"),_=_(),K(),_),ss={class:"container1"},ts={class:"header flex justify-center content-start flex-wrap"},es={class:"mb-3 flex w-full h-[50px] rounded-[8px]"},ns={class:"w-1/2 h-full mt-1 ml-1"},as={class:"w-1/2 h-full flex justify-end items-center"},os=c(()=>s("div",{class:"mx-2"},[s("div",{class:"font-bold ml flex justify-end"},"张老师"),s("div",{class:"text-[14px] text-neutral-400"},"asc20231227")],-1)),ls={class:"mb-3 w-full flex flex-nowrap justify-between"},cs={class:"aaa w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"},is=["src"],ds=z('<div class="w-[220px] h-full flex items-center" data-v-d0d1b2c6><div class="h-[40px]" data-v-d0d1b2c6><span class="ml-3 text-white font-bold" data-v-d0d1b2c6>申请活动</span><div class="ml-3 text-white text-[12px]" data-v-d0d1b2c6><span data-v-d0d1b2c6> 自习室 | 传统文化活动室 | 共享厨房... </span></div></div></div><div class="w-[calc(100%-280px)]" data-v-d0d1b2c6><div class="ml-3 text-white font-bold" data-v-d0d1b2c6><div class="w-[45px] h-[20px] bg-yellow-100 rounded-[15px] flex items-center justify-center" data-v-d0d1b2c6><span class="text-[11px] text-yellow-600 font-serif" data-v-d0d1b2c6>去申请</span></div></div></div>',2),rs={class:"flex flex-nowrap mb-3 w-full h-[90px] bg-white rounded-[8px]"},ps=["src"],_s=c(()=>s("div",{class:"text-[14px] mt-1"},"审批中",-1)),us=["src"],ms=c(()=>s("div",{class:"text-[14px] mt-1"},"待使用",-1)),xs=["src"],vs=c(()=>s("div",{class:"text-[14px] mt-1"},"使用中",-1)),fs=["src"],hs=c(()=>s("div",{class:"text-[14px]"},"审批通过",-1)),ws={class:"mb-3 w-full"},bs=["src"],gs=c(()=>s("span",{class:"mx-2"},"加时活动",-1)),ys={class:"mb-3 w-full"},ks=["src"],Cs=c(()=>s("span",null,"被邀请",-1)),Is={class:"mb-3 w-full"},js=["src"],As=c(()=>s("span",null,"已结束",-1)),Vs={class:"footer"},$s=["src"],Bs=["src"],Ps=["src"],Ts=["src"],Es={__name:"index",setup(_){const w={overtimeActivity:()=>{a.push({name:"overtimeActivity"})},approvaling:()=>{a.push({name:"approvaling"})},approvalPass:()=>{a.push({name:"approvalPass"})},awaitUse:()=>{a.push({name:"awaitUse"})},beInvited:()=>{a.push({name:"beInvited"})},over:()=>{a.push({name:"over"})},rated:()=>{a.push({name:"rated"})},remainToBeEvaluated:()=>{a.push({name:"remainToBeEvaluated"})},useing:()=>{a.push({name:"useing"})}};F(()=>Q(()=>import("./overtimeActivity-d8c86303.js"),["./overtimeActivity-d8c86303.js","./index-e9352973.js","./index-2936645e.css","./index-a5924d23.js","./index-e8224928.css"],import.meta.url));const f=A().appContext.config.globalProperties,a=V(),h=$(0);B(()=>{document.title="主页"});const p=r=>f.hooks.getImage(r),b=r=>{f.tabChange(r)},g=P("backAscHome"),i=r=>{w[r]()},y=()=>{g()};return(r,n)=>{const k=L,C=Z,u=N,x=O,v=Y,m=X,I=W;return T(),E("div",ss,[s("div",ts,[s("div",es,[s("div",ns,[s("div",{onClick:y,style:{background:"white"},class:"child flex justify-center items-center"},[e(k,{style:{"font-size":"22px","font-weight":"bold"},name:"wap-home-o"})])]),s("div",as,[os,s("div",null,[e(C,{round:"",width:"40px",height:"40px",src:p("tx")},null,8,["src"])])])]),s("div",ls,[s("div",cs,[s("img",{src:l(S),class:"ml-5 w-[40px] h-[40px]"},null,8,is),ds])]),s("div",rs,[s("div",{onClick:n[0]||(n[0]=o=>i("approvaling")),class:"w-1/4 h-full flex justify-center items-center"},[e(u,{content:235},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(U)},null,8,ps),_s]),_:1})]),s("div",{onClick:n[1]||(n[1]=o=>i("awaitUse")),class:"w-1/4 h-full flex-wrap flex justify-center items-center"},[e(u,{content:5},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(q)},null,8,us),ms]),_:1})]),s("div",{onClick:n[2]||(n[2]=o=>i("useing")),class:"w-1/4 h-full flex justify-center items-center"},[e(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(H)},null,8,xs),vs]),_:1})]),s("div",{onClick:n[3]||(n[3]=o=>i("approvalPass")),class:"w-1/4 h-full flex justify-center items-center"},[e(u,{content:15},{default:t(()=>[s("img",{class:"w-[40px] h-[40px] mr-2",src:l(M)},null,8,fs),hs]),_:1})])]),s("div",ws,[e(v,{inset:""},{default:t(()=>[e(x,{onClick:n[4]||(n[4]=o=>i("overtimeActivity")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:l(R)},null,8,bs)]),title:t(()=>[gs]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",ys,[e(v,{inset:""},{default:t(()=>[e(x,{onClick:n[5]||(n[5]=o=>i("beInvited")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:l(D)},null,8,ks)]),title:t(()=>[Cs]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})]),s("div",Is,[e(v,{inset:""},{default:t(()=>[e(x,{onClick:n[6]||(n[6]=o=>i("over")),"is-link":"",class:"w-full h-[50px] flex items-center"},{icon:t(()=>[s("img",{class:"w-[18px] h-[18px] mr-2",src:l(G)},null,8,js)]),title:t(()=>[As]),value:t(()=>[d(" 1 ")]),_:1})]),_:1})])]),s("div",Vs,[e(I,{modelValue:h.value,"onUpdate:modelValue":n[7]||(n[7]=o=>h.value=o),onChange:b},{default:t(()=>[e(m,{icon:"home-o"},{icon:t(()=>[s("img",{src:p("tm"),class:"w-[20px] h-[20px]"},null,8,$s)]),default:t(()=>[d("我的活动 ")]),_:1}),e(m,{icon:"search"},{icon:t(()=>[s("img",{src:p("fc"),class:"w-[20px] h-[20px]"},null,8,Bs)]),default:t(()=>[d("钥匙管理 ")]),_:1}),e(m,{icon:"home-o"},{icon:t(()=>[s("img",{src:p("fl"),class:"w-[20px] h-[20px]"},null,8,Ps)]),default:t(()=>[d("活动管理 ")]),_:1}),e(m,{icon:"friends-o"},{icon:t(()=>[s("img",{src:p("fr"),class:"w-[20px] h-[20px]"},null,8,Ts)]),default:t(()=>[d("场地管理 ")]),_:1})]),_:1},8,["modelValue"])])])}}},Hs=j(Es,[["__scopeId","data-v-d0d1b2c6"]]);export{Hs as default};
import{u as R}from"./use-placeholder-394057df.js";import{b,d as I,r as w,P as A,Q as s,R as C,a as r,U as o,V as P,K as L,w as N}from"./index-82423c0c.js";const[S,t]=b("nav-bar"),y={title:String,fixed:Boolean,zIndex:A,border:s,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:s};var E=I({name:S,props:y,emits:["clickLeft","clickRight"],setup(e,{emit:l,slots:a}){const c=w(),f=R(c,t),d=n=>l("clickLeft",n),h=n=>l("clickRight",n),x=()=>a.left?a.left():[e.leftArrow&&r(L,{class:t("arrow"),name:"arrow-left"},null),e.leftText&&r("span",{class:t("text")},[e.leftText])],g=()=>a.right?a.right():r("span",{class:t("text")},[e.rightText]),i=()=>{const{title:n,fixed:u,border:v,zIndex:T}=e,k=C(T),B=e.leftArrow||e.leftText||a.left,m=e.rightText||a.right;return r("div",{ref:c,style:k,class:[t({fixed:u}),{[P]:v,"van-safe-area-top":e.safeAreaInsetTop}]},[r("div",{class:t("content")},[B&&r("div",{class:[t("left"),e.clickable?o:""],onClick:d},[x()]),r("div",{class:[t("title"),"van-ellipsis"]},[a.title?a.title():n]),m&&r("div",{class:[t("right"),e.clickable?o:""],onClick:h},[g()])])])};return()=>e.fixed&&e.placeholder?f(i):i()}});const z=N(E);export{z as N}; import{u as R}from"./use-placeholder-210aa7a2.js";import{b,d as I,r as w,P as A,Q as s,R as C,a as r,U as o,V as P,K as L,w as N}from"./index-e9352973.js";const[S,t]=b("nav-bar"),y={title:String,fixed:Boolean,zIndex:A,border:s,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:s};var E=I({name:S,props:y,emits:["clickLeft","clickRight"],setup(e,{emit:l,slots:a}){const c=w(),f=R(c,t),d=n=>l("clickLeft",n),h=n=>l("clickRight",n),x=()=>a.left?a.left():[e.leftArrow&&r(L,{class:t("arrow"),name:"arrow-left"},null),e.leftText&&r("span",{class:t("text")},[e.leftText])],g=()=>a.right?a.right():r("span",{class:t("text")},[e.rightText]),i=()=>{const{title:n,fixed:u,border:v,zIndex:T}=e,k=C(T),B=e.leftArrow||e.leftText||a.left,m=e.rightText||a.right;return r("div",{ref:c,style:k,class:[t({fixed:u}),{[P]:v,"van-safe-area-top":e.safeAreaInsetTop}]},[r("div",{class:t("content")},[B&&r("div",{class:[t("left"),e.clickable?o:""],onClick:d},[x()]),r("div",{class:[t("title"),"van-ellipsis"]},[a.title?a.title():n]),m&&r("div",{class:[t("right"),e.clickable?o:""],onClick:h},[g()])])])};return()=>e.fixed&&e.placeholder?f(i):i()}});const z=N(E);export{z as N};
.aaa[data-v-0c6b0104]{background-image:url(./zose-12ad63dd.png);background-size:cover}.bbb[data-v-0c6b0104]{background-image:url(./lanse-dcfc970d.png);background-size:cover}.ccc[data-v-0c6b0104]{background-image:url(./changhuangse-b16cce75.png);background-size:cover}.ddd[data-v-0c6b0104]{background-image:url(./changlanse-b305d474.png);background-size:cover}.child[data-v-0c6b0104]{width:40px;height:40px;background:#f2f3f5;border-radius:4px}[data-v-0c6b0104] .van-cell-group--inset{margin:0;border-radius:var(--van-cell-group-inset-radius);overflow:hidden}[data-v-0c6b0104] .van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:80px;background:var(--van-tabbar-background)}
import{_ as l,W as t,o as r,c as o,a as e}from"./index-e9352973.js";const c={},n={class:"w-full min-h-[calc(100%-54px)] overflow-y-auto flex content-start flex-wrap bg-gray-200"};function s(b,u){const a=t("dt-card");return r(),o("div",n,[e(a,{array:[{label:"钥匙名称",value:"一号楼钥匙"},{label:"钥匙编号",value:5123},{label:"地址",value:"2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版"},{label:"可借状态",tag:"可接"},{label:"钥匙照片",image:"计算机系"}]}),e(a,{array:[{label:"钥匙名称",value:"一号楼钥匙"},{label:"钥匙编号",value:5123},{label:"地址",value:"2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版"},{label:"可借状态",tag:"可接"},{label:"钥匙照片",image:"计算机系"}]}),e(a,{array:[{label:"钥匙名称",value:"一号楼钥匙"},{label:"钥匙编号",value:5123},{label:"地址",value:"2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版"},{label:"可借状态",tag:"可接"},{label:"钥匙照片",image:"计算机系"}]})])}const v=l(c,[["render",s]]);export{v as default};
import{W as n,o as d,c as p,a,q as l,h as e,t as i,ar as r,i as t}from"./index-e9352973.js";import{B as m}from"./index-a5924d23.js";const f={class:"container1"},g={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},h=["src"],y=["src"],k=["src"],z={__name:"keyLoanAndReturnRecord",setup(w){return(c,v)=>{const _=n("cs-site-select-header"),s=m,o=n("cs-card"),u=n("cs-page");return d(),p("div",f,[a(_,{option:[{text:"全部商品",value:0},{text:"新款商品",value:1},{text:"活动商品",value:2}]}),l("div",g,[a(o,null,{image:e(()=>[l("img",{src:i(r)("kejie")},null,8,h)]),default:e(()=>[a(s,{class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:e(()=>[t("取消")]),_:1}),a(s,{onClick:c.detail,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:e(()=>[t("详情")]),_:1},8,["onClick"])]),_:1}),a(o,null,{image:e(()=>[l("img",{src:i(r)("jiechu")},null,8,y)]),default:e(()=>[a(s,{class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:e(()=>[t("取消")]),_:1}),a(s,{onClick:c.detail,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:e(()=>[t("详情")]),_:1},8,["onClick"])]),_:1}),a(o,null,{image:e(()=>[l("img",{src:i(r)("wufashiyong")},null,8,k)]),default:e(()=>[a(s,{class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:e(()=>[t("取消")]),_:1}),a(s,{onClick:c.detail,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:e(()=>[t("详情")]),_:1},8,["onClick"])]),_:1})]),a(u)])}}};export{z as default};
import{n as u,r as s,f as i,ay as e,o as a,c as t,a as o,q as c,F as m,az as g,af as f,h as r,t as h,aA as v}from"./index-82423c0c.js";const x={class:"w-screen h-screen bg-gray-100 box-border"},y={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},b=["src"],I={__name:"over",setup(k){u().appContext.config.globalProperties,s("");const n=s([1,2,3,4,5,6]);return i(()=>{document.title="审批中"}),(w,B)=>{const _=e("cs-header"),l=e("cs-card"),d=e("cs-page");return a(),t("div",x,[o(_),c("div",y,[(a(!0),t(m,null,g(n.value,(C,p)=>(a(),f(l,{key:p},{image:r(()=>[c("img",{src:h(v)("yjslogo")},null,8,b)]),default:r(()=>[]),_:2},1024))),128))]),o(d)])}}};export{I as default};
import{n as u,r as t,f as i,W as e,o as s,c as a,a as o,q as r,F as m,aq as g,Y as h,h as c,t as f,ar as v}from"./index-e9352973.js";const x={class:"w-screen h-screen bg-gray-100 box-border"},y={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},b=["src"],F={__name:"over",setup(k){u().appContext.config.globalProperties,t("");const n=t([1,2,3,4,5,6]);return i(()=>{document.title="审批中"}),(w,B)=>{const _=e("cs-header"),l=e("cs-card"),d=e("cs-page");return s(),a("div",x,[o(_),r("div",y,[(s(!0),a(m,null,g(n.value,(C,p)=>(s(),h(l,{key:p},{image:c(()=>[r("img",{src:f(v)("yjslogo")},null,8,b)]),default:c(()=>[]),_:2},1024))),128))]),o(d)])}}};export{F as default};
import{n as f,r as n,f as h,W as a,o as e,c as r,a as c,q as l,F as x,aq as y,Y as s,h as t,t as k,ar as v,i as _,as as w}from"./index-e9352973.js";import{B}from"./index-a5924d23.js";const C={class:"w-screen h-screen bg-gray-100 box-border"},b={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},N=["src"],A={__name:"overtimeActivity",setup(V){f().appContext.config.globalProperties,n("");const i=n([1,2,3,4,5,6]),m=()=>{w.push({name:"indexDetail"})};return h(()=>{document.title="审批中"}),(z,q)=>{const d=a("cs-header"),o=B,p=a("cs-card"),u=a("cs-page");return e(),r("div",C,[c(d),l("div",b,[(e(!0),r(x,null,y(i.value,(F,g)=>(e(),s(p,{key:g},{image:t(()=>[l("img",{src:k(v)("jshdlogo")},null,8,N)]),default:t(()=>[(e(),s(o,{key:0,class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:t(()=>[_("同意")]),_:1})),(e(),s(o,{key:1,onClick:m,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:t(()=>[_("拒绝")]),_:1}))]),_:2},1024))),128))]),c(u)])}}};export{A as default};
import{n as g,r as n,f as h,W as a,o as e,c,a as r,q as l,F as x,aq as y,Y as s,h as t,t as k,at as v,i as _,as as w}from"./index-e9352973.js";import{B}from"./index-a5924d23.js";const C={class:"w-screen h-screen bg-gray-100 box-border"},b={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},N=["src"],E={__name:"overtimeActivity",setup(V){g().appContext.config.globalProperties,n("");const i=n([1,2,3,4,5,6]),m=()=>{w.push({name:"indexDetail"})};return h(()=>{document.title="审批中"}),(z,q)=>{const p=a("cs-header"),o=B,u=a("cs-card"),d=a("cs-page");return e(),c("div",C,[r(p),l("div",b,[(e(!0),c(x,null,y(i.value,(F,f)=>(e(),s(u,{key:f},{image:t(()=>[l("img",{src:k(v)},null,8,N)]),default:t(()=>[(e(),s(o,{key:0,class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:t(()=>[_("同意")]),_:1})),(e(),s(o,{key:1,onClick:m,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:t(()=>[_("拒绝")]),_:1}))]),_:2},1024))),128))]),r(d)])}}};export{E as default};
import{n as g,r as n,f as h,ay as a,o as e,c,a as r,q as l,F as y,az as x,af as o,h as t,t as k,aA as v,i as _,aB as B}from"./index-82423c0c.js";import{B as w}from"./index-276e64d4.js";const C={class:"w-screen h-screen bg-gray-100 box-border"},b={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},N=["src"],q={__name:"overtimeActivity",setup(V){g().appContext.config.globalProperties,n("");const i=n([1,2,3,4,5,6]),m=()=>{B.push({name:"indexDetail"})};return h(()=>{document.title="审批中"}),(z,A)=>{const d=a("cs-header"),s=w,p=a("cs-card"),u=a("cs-page");return e(),c("div",C,[r(d),l("div",b,[(e(!0),c(y,null,x(i.value,(F,f)=>(e(),o(p,{key:f},{image:t(()=>[l("img",{src:k(v)("jshdlogo")},null,8,N)]),default:t(()=>[(e(),o(s,{key:0,class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:t(()=>[_("同意")]),_:1})),(e(),o(s,{key:1,onClick:m,class:"w-[48%] text-gray-600",plain:"",size:"small"},{default:t(()=>[_("拒绝")]),_:1}))]),_:2},1024))),128))]),r(u)])}}};export{q as default};
import{n as u,r as c,f as m,ay as e,o as t,c as n,a,q as s,F as f,az as g,af as h,h as o,t as y,aA as v,i as x}from"./index-82423c0c.js";import{B as w}from"./index-276e64d4.js";const B={class:"w-screen h-screen bg-gray-100 box-border"},b={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},k=["src"],C={class:"w-full flex justify-end"},q={__name:"rated",setup(N){u().appContext.config.globalProperties,c("");const r=c([1,2,3,4,5,6]);return m(()=>{document.title="审批中"}),(V,j)=>{const l=e("cs-header"),_=w,d=e("cs-card"),i=e("cs-page");return t(),n("div",B,[a(l),s("div",b,[(t(!0),n(f,null,g(r.value,(z,p)=>(t(),h(d,{key:p},{image:o(()=>[s("img",{src:y(v)("ypjlogo")},null,8,k)]),default:o(()=>[s("div",C,[a(_,{class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:o(()=>[x("查看评价")]),_:1})])]),_:2},1024))),128))]),a(i)])}}};export{q as default};
import{n as u,r as c,f as m,W as e,o as t,c as n,a as s,q as a,F as f,aq as g,Y as h,h as o,t as v,ar as x,i as y}from"./index-e9352973.js";import{B as w}from"./index-a5924d23.js";const B={class:"w-screen h-screen bg-gray-100 box-border"},b={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},k=["src"],C={class:"w-full flex justify-end"},z={__name:"rated",setup(N){u().appContext.config.globalProperties,c("");const r=c([1,2,3,4,5,6]);return m(()=>{document.title="审批中"}),(V,j)=>{const l=e("cs-header"),_=w,d=e("cs-card"),i=e("cs-page");return t(),n("div",B,[s(l),a("div",b,[(t(!0),n(f,null,g(r.value,(q,p)=>(t(),h(d,{key:p},{image:o(()=>[a("img",{src:v(x)("ypjlogo")},null,8,k)]),default:o(()=>[a("div",C,[s(_,{class:"w-[48%]",plain:"",size:"small",type:"primary"},{default:o(()=>[y("查看评价")]),_:1})])]),_:2},1024))),128))]),s(i)])}}};export{z as default};
import{n as u,r as n,f as m,W as e,o as t,c,a,q as s,F as f,aq as g,Y as h,h as o,t as v,ar as x,i as y}from"./index-e9352973.js";import{B}from"./index-a5924d23.js";const w={class:"w-screen h-screen bg-gray-100 box-border"},b={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},k=["src"],C={class:"w-full flex justify-end"},I={__name:"remainToBeEvaluated",setup(N){u().appContext.config.globalProperties,n("");const r=n([1,2,3,4,5,6]);return m(()=>{document.title="审批中"}),(V,j)=>{const l=e("cs-header"),_=B,d=e("cs-card"),i=e("cs-page");return t(),c("div",w,[a(l),s("div",b,[(t(!0),c(f,null,g(r.value,(q,p)=>(t(),h(d,{key:p},{image:o(()=>[s("img",{src:v(x)("dpjlogo")},null,8,k)]),default:o(()=>[s("div",C,[a(_,{class:"w-1/2",plain:"",size:"small",type:"primary"},{default:o(()=>[y("评价")]),_:1})])]),_:2},1024))),128))]),a(i)])}}};export{I as default};
import{n as u,r as n,f as m,ay as e,o as t,c,a,q as s,F as f,az as g,af as h,h as o,t as v,aA as x,i as y}from"./index-82423c0c.js";import{B}from"./index-276e64d4.js";const w={class:"w-screen h-screen bg-gray-100 box-border"},b={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},k=["src"],C={class:"w-full flex justify-end"},I={__name:"remainToBeEvaluated",setup(N){u().appContext.config.globalProperties,n("");const r=n([1,2,3,4,5,6]);return m(()=>{document.title="审批中"}),(V,j)=>{const l=e("cs-header"),_=B,d=e("cs-card"),i=e("cs-page");return t(),c("div",w,[a(l),s("div",b,[(t(!0),c(f,null,g(r.value,(z,p)=>(t(),h(d,{key:p},{image:o(()=>[s("img",{src:v(x)("dpjlogo")},null,8,k)]),default:o(()=>[s("div",C,[a(_,{class:"w-1/2",plain:"",size:"small",type:"primary"},{default:o(()=>[y("评价")]),_:1})])]),_:2},1024))),128))]),a(i)])}}};export{I as default};
import{r as l,W as r,o as t,c as u,a as e,F as o}from"./index-e9352973.js";const v={__name:"siteDetail",setup(c){return l([]),(n,s)=>{const a=r("dt-card");return t(),u(o,null,[e(a,{array:[{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"}]}),e(a,{array:[{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"}]}),e(a,{array:[{label:"申请人名称",image:"周老师"},{label:"申请人名称",value:"周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师"}]}),e(a,{array:[{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"}]})],64)}}};export{v as default};
import{_ as e}from"./index-e9352973.js";const r={};function t(c,n){return null}const o=e(r,[["render",t]]);export{o as default};
import{r as n,f as h,a7 as i,am as r,a4 as u,an as c,ao as l,ap as d,a as p}from"./index-e9352973.js";const g=(a,o)=>{const t=n(),e=()=>{t.value=d(a).height};return h(()=>{if(i(e),o)for(let s=1;s<=3;s++)setTimeout(e,100*s)}),r(()=>i(e)),u([c,l],e),t};function v(a,o){const t=g(a,!0);return e=>p("div",{class:o("placeholder"),style:{height:t.value?`${t.value}px`:void 0}},[e()])}export{v as u};
import{r as n,f as h,an as i,aw as r,ak as u,ax as c,a3 as l,a2 as d,a as g}from"./index-82423c0c.js";const p=(a,s)=>{const t=n(),e=()=>{t.value=d(a).height};return h(()=>{if(i(e),s)for(let o=1;o<=3;o++)setTimeout(e,100*o)}),r(()=>i(e)),u([c,l],e),t};function w(a,s){const t=p(a,!0);return e=>g("div",{class:s("placeholder"),style:{height:t.value?`${t.value}px`:void 0}},[e()])}export{w as u};
import{r as l,W as r,o as t,c as o,a as e,F as c}from"./index-e9352973.js";const m={__name:"useRecord",setup(n){return l([]),(s,u)=>{const a=r("dt-card");return t(),o(c,null,[e(a,{array:[{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"}]}),e(a,{array:[{label:"申请人名称",value:"周老师"},{label:"申请人名称",value:"周老师"}]}),e(a,{array:[{label:"申请人名称",tag:"周老师"},{label:"申请人名称",value:"周老师"}]})],64)}}};export{m as default};
import{n as g,r as c,f,W as t,o,c as r,a as e,q as l,F as h,aq as x,Y as y,h as a,t as v,ar as w,i as n,as as B}from"./index-e9352973.js";import{B as b}from"./index-a5924d23.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},C={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},z=["src"],E={__name:"useing",setup(N){g().appContext.config.globalProperties,c("");const i=c([1,2,3,4,5,6]),_=()=>{B.push({name:"indexDetail"})};return f(()=>{document.title="审批中"}),(V,q)=>{const d=t("cs-header"),s=b,p=t("cs-card"),u=t("cs-page");return o(),r("div",k,[e(d),l("div",C,[(o(!0),r(h,null,x(i.value,(F,m)=>(o(),y(p,{key:m},{image:a(()=>[l("img",{src:v(w)("syzlogo")},null,8,z)]),default:a(()=>[e(s,{class:"w-[31%]",icon:"add-o",plain:"",size:"small",type:"primary"},{default:a(()=>[n("加时")]),_:1}),e(s,{class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("取消")]),_:1}),e(s,{onClick:_,class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("详情")]),_:1})]),_:2},1024))),128))]),e(u)])}}};export{E as default};
import{n as g,r as c,f,ay as s,o,c as r,a as e,q as l,F as h,az as x,af as y,h as a,t as v,aA as w,i as n,aB as B}from"./index-82423c0c.js";import{B as b}from"./index-276e64d4.js";const k={class:"w-screen h-screen bg-gray-100 box-border"},z={class:"w-full h-[calc(100vh-109px)] p-3 overflow-y-auto"},C=["src"],D={__name:"useing",setup(N){g().appContext.config.globalProperties,c("");const i=c([1,2,3,4,5,6]),_=()=>{B.push({name:"indexDetail"})};return f(()=>{document.title="审批中"}),(V,F)=>{const d=s("cs-header"),t=b,p=s("cs-card"),u=s("cs-page");return o(),r("div",k,[e(d),l("div",z,[(o(!0),r(h,null,x(i.value,(I,m)=>(o(),y(p,{key:m},{image:a(()=>[l("img",{src:v(w)("syzlogo")},null,8,C)]),default:a(()=>[e(t,{class:"w-[31%]",icon:"add-o",plain:"",size:"small",type:"primary"},{default:a(()=>[n("加时")]),_:1}),e(t,{class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("取消")]),_:1}),e(t,{onClick:_,class:"w-[31%] text-gray-600",plain:"",size:"small"},{default:a(()=>[n("详情")]),_:1})]),_:2},1024))),128))]),e(u)])}}};export{D as default};
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>场地管理</title> <title>场地管理</title>
<script type="module" crossorigin src="./assets/index-82423c0c.js"></script> <script type="module" crossorigin src="./assets/index-e9352973.js"></script>
<link rel="stylesheet" href="./assets/index-93045f97.css"> <link rel="stylesheet" href="./assets/index-2936645e.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"jweixin-module": "^1.6.0", "jweixin-module": "^1.6.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mitt": "^3.0.1",
"vant": "^4.6.6", "vant": "^4.6.6",
"vconsole": "^3.15.1", "vconsole": "^3.15.1",
"vue": "^3.3.4", "vue": "^3.3.4",
...@@ -2357,6 +2358,11 @@ ...@@ -2357,6 +2358,11 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/mitt": {
"version": "3.0.1",
"resolved": "https://registry.npmmirror.com/mitt/-/mitt-3.0.1.tgz",
"integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="
},
"node_modules/mkdirp": { "node_modules/mkdirp": {
"version": "1.0.4", "version": "1.0.4",
"resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz", "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz",
...@@ -5581,6 +5587,11 @@ ...@@ -5581,6 +5587,11 @@
} }
} }
}, },
"mitt": {
"version": "3.0.1",
"resolved": "https://registry.npmmirror.com/mitt/-/mitt-3.0.1.tgz",
"integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="
},
"mkdirp": { "mkdirp": {
"version": "1.0.4", "version": "1.0.4",
"resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz", "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz",
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"jweixin-module": "^1.6.0", "jweixin-module": "^1.6.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mitt": "^3.0.1",
"vant": "^4.6.6", "vant": "^4.6.6",
"vconsole": "^3.15.1", "vconsole": "^3.15.1",
"vue": "^3.3.4", "vue": "^3.3.4",
......
<template> <template>
<!-- 活动管理详细内容中的卡片-->
<div :style="{'margin-top': props.nmt ? 0 : 0.75+'rem', 'margin-bottom': props.nmb ? 0.75 : 0 +'rem'}" <div :style="{'margin-top': props.nmt ? 0 : 0.75+'rem', 'margin-bottom': props.nmb ? 0.75 : 0 +'rem'}"
class="w-full h-auto bg-white"> class="w-full h-auto bg-white">
<div v-for="(item,index) in props.array" :key="index" class=" w-full min-h-[50px] flex p-3 "> <div v-for="(item,index) in props.array" :key="index" class=" w-full min-h-[50px] flex p-3 ">
...@@ -42,7 +44,7 @@ ...@@ -42,7 +44,7 @@
<span class="ml-1"> <span class="ml-1">
<van-tag size="large" type="success"> <van-tag size="large" type="success">
<span> <span>
可借 {{ item.tag }}
</span> </span>
</van-tag> </van-tag>
</span> </span>
......
...@@ -29,6 +29,7 @@ import spzlogo from '../states/icon/ing.png' ...@@ -29,6 +29,7 @@ import spzlogo from '../states/icon/ing.png'
</script> </script>
<template> <template>
<!-- 活动管理卡片-->
<div class="w-full h-[240px] <div class="w-full h-[240px]
bg-white rounded-[8px] mb-4 bg-white rounded-[8px] mb-4
"> ">
......
<template> <template>
<!-- 活动管理头部-->
<div class="w-full h-[54px] flex bg-white"> <div class="w-full h-[54px] flex bg-white">
<div @click="back" class="w-[13%] text-gray-600 h-full flex <div @click="back" class="w-[13%] text-gray-600 h-full flex
justify-center items-center text-[30px]"> justify-center items-center text-[30px]">
......
...@@ -6,6 +6,7 @@ const currentPage = ref(1) ...@@ -6,6 +6,7 @@ const currentPage = ref(1)
<template> <template>
<!-- 底部分页-->
<div class=" w-full h-[55px] page"> <div class=" w-full h-[55px] page">
<van-pagination v-model="currentPage" :page-count="12" mode="simple"/> <van-pagination v-model="currentPage" :page-count="12" mode="simple"/>
</div> </div>
......
<script setup> <script setup>
import {getImage} from "../hooks/index.js";
</script> </script>
<template> <template>
<!-- 场地管理卡片-->
<div class="w-full h-[90px] rounded-[8px] p-2 flex bg-white mb-3"> <div class="w-full h-[90px] rounded-[8px] p-2 flex bg-white mb-3">
<div class="w-[70%]"> <div class="w-[70%]">
<div class="w-full h-1/3 flex items-center"> <div class="w-full h-1/3 flex items-center">
...@@ -21,7 +23,10 @@ ...@@ -21,7 +23,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="w-[30%] bg-amber-600 "></div> <div class="w-[30%] ">
<img :src="getImage('guihuanyaoshi')" class="bg-cover w-full h-full">
</div>
</div> </div>
</template> </template>
......
<script setup>
import {ref, defineProps} from "vue";
const props = defineProps({
option: Array,
})
const value1 = ref(0);
const search = ref('');
</script>
<template>
<!-- 场地管理header-->
<div class="w-full h-[54px] flex bg-white justify-center">
<div class=" w-[75%] h-full bg-red-900">
<van-search
v-model="search"
placeholder="请输入搜索关键词"
>
<template #left-icon></template>
<template #right-icon>
<van-icon name="search"/>
</template>
</van-search>
</div>
<div class="w-[25%] h-full">
<van-dropdown-menu class="aaa flex items-center">
<van-dropdown-item v-model="value1" :options="props.option"/>
</van-dropdown-menu>
</div>
</div>
</template>
<style scoped>
.aaa {
--van-dropdown-menu-shadow: red;
}
</style>
...@@ -22,3 +22,8 @@ export const tabChange = (e) => { ...@@ -22,3 +22,8 @@ export const tabChange = (e) => {
} }
object[e]() object[e]()
} }
export const go2Router = (path) => {
router.push({
name: path
})
}
...@@ -5,14 +5,15 @@ import router from "./router/index.js"; ...@@ -5,14 +5,15 @@ import router from "./router/index.js";
import 'animate.css' //引入 import 'animate.css' //引入
import VueCookies from 'vue-cookies' import VueCookies from 'vue-cookies'
import VConsole from 'vconsole'; import VConsole from 'vconsole';
import mitt from "mitt";
//活动管理各状态 头部、分页、弹窗、卡片 //活动管理各状态 头部、分页、弹窗、卡片
import csHeader from '../src/components/header.vue' import csHeader from '../src/components/header.vue'
import csCard from '../src/components/card.vue' import csCard from '../src/components/card.vue'
import csPage from '../src/components/page.vue' import csPage from '../src/components/page.vue'
import csPopUp from '../src/components/popup.vue' import csPopUp from '../src/components/popup.vue'
import csHeaderSelect from '../src/components/headerSelect.vue' import csSiteCard from './components/siteCard.vue'
import csSiteSelectHeader from './components/siteSelectHeader.vue'
//活动管理详情页 栏目 //活动管理详情页 栏目
...@@ -55,13 +56,15 @@ app.config.globalProperties.back = () => { ...@@ -55,13 +56,15 @@ app.config.globalProperties.back = () => {
app.config.globalProperties.images = images app.config.globalProperties.images = images
//封装hooks 文件 挂载全局 //封装hooks 文件 挂载全局
app.config.globalProperties.hooks = hooks app.config.globalProperties.hooks = hooks
//通过mitt 实现全局事件总线
app.config.globalProperties.$bus = new mitt()
app.component('csHeader', csHeader) app.component('csHeader', csHeader)
app.component('csCard', csCard) app.component('csCard', csCard)
app.component('csPage', csPage) app.component('csPage', csPage)
app.component('csPopUp', csPopUp) app.component('csPopUp', csPopUp)
app.component('csHeaderSelect', csHeaderSelect) app.component('csSiteCard', csSiteCard)
app.component('csSiteSelectHeader', csSiteSelectHeader)
// 活动管理卡片列表详情页 // 活动管理卡片列表详情页
...@@ -69,7 +72,7 @@ app.component('csActivityData', csActivityData) //活动数据 ...@@ -69,7 +72,7 @@ app.component('csActivityData', csActivityData) //活动数据
app.component('csComment', csComment) //评价 app.component('csComment', csComment) //评价
app.component('csPlayers', csPlayers) // 参与人 app.component('csPlayers', csPlayers) // 参与人
app.component('csTrack', csTrack) //轨迹 app.component('csTrack', csTrack) //轨迹
app.component('csKey', csKey) //轨迹 app.component('csKey', csKey)
app.component('dtCard', dtCard) //活动详情页卡片 app.component('dtCard', dtCard) //活动详情页卡片
......
...@@ -41,7 +41,8 @@ ...@@ -41,7 +41,8 @@
</van-cell-group> </van-cell-group>
</div> </div>
<!-- 钥匙借还记录--> <!-- 钥匙借还记录-->
<div class="mb-3 ccc w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover"> <div @click="asc.hooks.go2Router('keyLoanAndReturnRecord')"
class="mb-3 ccc w-full bg h-[70px] flex items-center bg-white rounded-[9px] bg-cover">
<img :src="getImage('yaoshilogo')" class="ml-5 w-[40px] h-[40px]"> <img :src="getImage('yaoshilogo')" class="ml-5 w-[40px] h-[40px]">
<div class="w-[220px] h-full flex items-center"> <div class="w-[220px] h-full flex items-center">
<div class=" h-[40px]"> <div class=" h-[40px]">
...@@ -133,7 +134,7 @@ import fl from '../../states/icon/18.png' ...@@ -133,7 +134,7 @@ import fl from '../../states/icon/18.png'
import fr from '../../states/icon/20.png' import fr from '../../states/icon/20.png'
import {getCurrentInstance, inject, nextTick, onMounted, provide, reactive, ref, watch,} from "vue" import {getCurrentInstance, inject, nextTick, onMounted, provide, reactive, ref, watch,} from "vue"
import CsPopUp from "../../components/popup.vue";
const show = ref(true) const show = ref(true)
const keyStrategy = { const keyStrategy = {
......
<script setup>
import {getImage} from "../../hooks/index.js";
</script>
<template>
<div class="container1">
<cs-site-select-header :option="[
{text: '全部商品', value: 0},
{text: '新款商品', value: 1},
{text: '活动商品', value: 2},
]"></cs-site-select-header>
<div class="w-full h-[calc(100vh-109px)] p-3 overflow-y-auto">
<cs-card>
<template #image>
<img :src="getImage('kejie') ">
</template>
<template #default>
<van-button class="w-[48%]" plain size="small" type="primary">取消</van-button>
<van-button @click="detail" class="w-[48%] text-gray-600" plain size="small">详情</van-button>
</template>
</cs-card>
<cs-card>
<template #image>
<img :src="getImage('jiechu') ">
</template>
<template #default>
<van-button class="w-[48%]" plain size="small" type="primary">取消</van-button>
<van-button @click="detail" class="w-[48%] text-gray-600" plain size="small">详情</van-button>
</template>
</cs-card>
<cs-card>
<template #image>
<img :src="getImage('wufashiyong') ">
</template>
<template #default>
<van-button class="w-[48%]" plain size="small" type="primary">取消</van-button>
<van-button @click="detail" class="w-[48%] text-gray-600" plain size="small">详情</van-button>
</template>
</cs-card>
</div>
<cs-page></cs-page>
</div>
</template>
<style scoped>
</style>
<!--评价-->
<template>
<div class="
w-full
min-h-[calc(100%-54px)]
overflow-y-auto
flex content-start
flex-wrap
bg-gray-200
">
<dt-card :array="[
{label:'钥匙名称',value:'一号楼钥匙'},
{label:'钥匙编号',value:5123},
{label:'地址',value:'2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版'},
{label:'可借状态',tag:'可接'},
{label:'钥匙照片',image:'计算机系'},
]"></dt-card>
<dt-card :array="[
{label:'钥匙名称',value:'一号楼钥匙'},
{label:'钥匙编号',value:5123},
{label:'地址',value:'2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版'},
{label:'可借状态',tag:'可接'},
{label:'钥匙照片',image:'计算机系'},
]"></dt-card>
<dt-card :array="[
{label:'钥匙名称',value:'一号楼钥匙'},
{label:'钥匙编号',value:5123},
{label:'地址',value:'2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版2023级电子版'},
{label:'可借状态',tag:'可接'},
{label:'钥匙照片',image:'计算机系'},
]"></dt-card>
</div>
<!-- <cs-page></cs-page>-->
</template>
<script setup>
</script>
<style scoped>
</style>
<script setup>
import {ref} from "vue";
const array = ref([])
</script>
<template>
<dt-card :array="[
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
] "></dt-card>
<dt-card :array="[
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
] "></dt-card>
<dt-card :array="[
{label:'申请人名称',image:'周老师'},
{label:'申请人名称',value:'周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师周老师'},
] "></dt-card>
<dt-card :array="[
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
] "></dt-card>
</template>
<style scoped>
</style>
<script setup>
</script>
<template>
</template>
<style scoped>
</style>
<script setup>
import {ref} from "vue";
const array = ref([])
</script>
<template>
<dt-card :array="[
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
] "></dt-card>
<dt-card :array="[
{label:'申请人名称',value:'周老师'},
{label:'申请人名称',value:'周老师'},
] "></dt-card>
<dt-card :array="[
{label:'申请人名称',tag:'周老师'},
{label:'申请人名称',value:'周老师'},
] "></dt-card>
</template>
<style scoped>
</style>
<template>
<div class="container1 ">
<!-- content-->
<div class="w-full h-[calc(100vh-55px)] overflow-y-auto ">
<!-- header-->
<div class="w-full h-[54px] bg-white flex">
<div @click="back" class="w-[13%] bg-white h-full text-[28px] text-gray-400 flex items-center justify-center">
<van-icon class="" name="arrow-left"/>
</div>
<div class="w-[87%] h-full">
<van-tabs v-model:active="active" @change="tabChange" swipeable>
<van-tab v-for="(item,index) in tabArray" :title="item" :key="index">
</van-tab>
</van-tabs>
</div>
</div>
<!-- content_content-->
<cs-site-detail v-if="active ===0"/>
<cs-use-record v-if="active ===1"/>
<cs-time-frame v-if="active ===2"/>
<cs-site-key-detail v-if="active ===3"/>
</div>
<!-- footer-->
<!-- <cs-page v-if="" ></cs-page>-->
<div class="flex w-full h-[55px] items-center justify-evenly bg-white shadow-gray-600 shadow ">
<van-button class="w-[40%]" plain size="small" type="danger">删除</van-button>
<van-button class="w-[40%] text-gray-600" plain type="primary" size="small">启用</van-button>
</div>
</div>
</template>
<script setup>
import {getCurrentInstance, defineAsyncComponent, ref} from "vue";
const csSiteKeyDetail = defineAsyncComponent(() => import('./components/keyDetail.vue'))
const csSiteDetail = defineAsyncComponent(() => import('./components/siteDetail.vue'))
const csTimeFrame = defineAsyncComponent(() => import('./components/timeFrame.vue'))
const csUseRecord = defineAsyncComponent(() => import('./components/useRecord.vue'))
const asc = getCurrentInstance().appContext.config.globalProperties
const active = ref(0)
const tabArray = ref([
'场地详情',
'使用记录',
'时间段',
'钥匙详细',
])
const back = () => asc.back()
const tabChange = (e) => {
active.value = e
}
</script>
<style scoped>
</style>
<template> <template>
<div class="container1"> <div class="container1">
<!-- header--> <!-- header-->
<div class="w-full h-[54px] flex bg-white"> <cs-site-select-header :option="[
{text: '全部商品', value: 0},
<div class=" w-[75%] h-full bg-red-900"> {text: '新款商品', value: 1},
<van-search {text: '活动商品', value: 2},
v-model="search" ]"></cs-site-select-header>
placeholder="请输入搜索关键词"
>
<template #left-icon></template>
<template #right-icon>
<van-icon name="search"/>
</template>
</van-search>
</div>
<div class="w-[25%] h-full">
<van-dropdown-menu>
<van-dropdown-item v-model="value1" :options="option1"/>
</van-dropdown-menu>
</div>
</div>
<!-- content--> <!-- content-->
<div class="w-full h-[calc(100vh-134px)] p-3 overflow-y-auto"> <div class="w-full h-[calc(100vh-134px)] p-3 overflow-y-auto">
<cs-header-select></cs-header-select> <csSiteCard @click="asc.hooks.go2Router('siteDetailIndex')"></csSiteCard>
<cs-header-select></cs-header-select> <csSiteCard></csSiteCard>
<cs-header-select></cs-header-select> <csSiteCard></csSiteCard>
<cs-header-select></cs-header-select> <csSiteCard></csSiteCard>
<cs-header-select></cs-header-select> <csSiteCard></csSiteCard>
<cs-header-select></cs-header-select> <csSiteCard></csSiteCard>
<cs-header-select></cs-header-select> <csSiteCard></csSiteCard>
<cs-header-select></cs-header-select>
<cs-header-select></cs-header-select>
</div> </div>
...@@ -92,7 +76,8 @@ import dsylogo from '../../states/icon/await.png' ...@@ -92,7 +76,8 @@ import dsylogo from '../../states/icon/await.png'
import spzlogo from '../../states/icon/ing.png' import spzlogo from '../../states/icon/ing.png'
import {getCurrentInstance, inject, onMounted, ref, watch} from "vue" import {getCurrentInstance, inject, onMounted, ref, watch} from "vue"
import CsHeaderSelect from "../../components/headerSelect.vue"; import CsHeaderSelect from "../../components/siteCard.vue";
import CsSiteSelectHeader from "../../components/siteSelectHeader.vue";
const asc = getCurrentInstance().appContext.config.globalProperties const asc = getCurrentInstance().appContext.config.globalProperties
const active = ref(3); const active = ref(3);
...@@ -102,13 +87,7 @@ onMounted(() => { ...@@ -102,13 +87,7 @@ onMounted(() => {
const tabChange = (e) => { const tabChange = (e) => {
asc.tabChange(e) asc.tabChange(e)
} }
const value1 = ref(0);
const option1 = [
{text: '全部商品', value: 0},
{text: '新款商品', value: 1},
{text: '活动商品', value: 2},
];
const getImage = (imageKey) => { const getImage = (imageKey) => {
return asc.hooks.getImage(imageKey) return asc.hooks.getImage(imageKey)
} }
...@@ -142,17 +121,5 @@ const back = () => { ...@@ -142,17 +121,5 @@ const back = () => {
background: var(--van-tabbar-background); background: var(--van-tabbar-background);
} }
>>> :root {
--van-dropdown-menu-height: 48px;
/* --van-dropdown-menu-background: var(--van-background-2); */
/* --van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, .12); */
--van-dropdown-menu-title-font-size: 15px;
--van-dropdown-menu-title-text-color: var(--van-text-color);
--van-dropdown-menu-title-active-text-color: var(--van-primary-color);
--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);
--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);
--van-dropdown-menu-title-line-height: var(--van-line-height-lg);
--van-dropdown-menu-option-active-color: var(--van-primary-color);
--van-dropdown-menu-content-max-height: 80%;
}
</style> </style>
export const keyManagement = [
{
//钥匙借还记录列表
name: 'keyLoanAndReturnRecord',
path: '/keyLoanAndReturnRecord',
component: () => import('../pages/keyManagement/keyLoanAndReturnRecord.vue'),
},
]
import {routerArray} from "./welcome.js"; import {routerArray} from "./welcome.js";
import {keyManagement} from './key.js'
import {siteManagement} from './site.js'
const routes = [ const routes = [
{ {
...@@ -61,7 +63,8 @@ const routes = [ ...@@ -61,7 +63,8 @@ const routes = [
component: () => import('../pages/welcome/compontes/overtimeActivity.vue'), component: () => import('../pages/welcome/compontes/overtimeActivity.vue'),
}, },
...routerArray, ...routerArray,
...keyManagement,
...siteManagement,
] ]
......
export const siteManagement = [
{
//场地详细页
name: 'siteDetailIndex',
path: '/siteDetailIndex',
component: () => import('../pages/siteManagement/detail/index.vue'),
},
{
//钥匙详细
name: 'keyDetail',
path: '/keyDetail',
component: () => import('../pages/siteManagement/detail/components/keyDetail.vue'),
},
{
//场地详情
name: 'siteDetail',
path: '/siteDetail',
component: () => import('../pages/siteManagement/detail/components/siteDetail.vue'),
},
{
//时间段
name: 'timeFrame',
path: '/timeFrame',
component: () => import('../pages/siteManagement/detail/components/timeFrame.vue'),
},
{
//使用记录
name: 'useRecord',
path: '/useRecord',
component: () => import('../pages/siteManagement/detail/components/useRecord.vue'),
},
]
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
@apply w-screen @apply w-screen
h-screen bg-gray-100 h-screen bg-gray-100
} }
.header { .header {
......
/**
* 获取活动详情
* /api/Activity/GetActivityInfo
*/
export declare function getApiActivityGetActivityInfo(params: GetApiActivityGetActivityInfoParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
card: string;
name: string;
phone: string;
class_name: string;
dept: string;
place_type_id: string;
place_type_name: string;
place_id: string;
place_code: string;
place_name: string;
place_sex: string;
place_capacity: number;
threshold: number;
begin_time: string;
end_time: string;
people_interval: string;
people_num: number;
state: number;
overtime_state: number;
key_state: number;
is_del: number;
remark: string;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
overtime_num: number;
class_id: string;
dept_id: string;
userid: string;
activity_name: string;
is_evaluate: number;
};
}, any>>;
interface GetApiActivityGetActivityInfoParams {
id: string;
}
export {};
import request from "../axios.js";
/**
* 获取活动详情
* /api/Activity/GetActivityInfo
*/
export function getApiActivityGetActivityInfo(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Activity/GetActivityInfo`, {
params: paramsInput,
});
}
export * from "./postApiActivityGetActivityListByAdmin";
export * from "./postApiActivityGetActivityListByWxPlaceAdmin";
export * from "./postApiActivityGetActivityListByWxUser";
export * from "./getApiActivityGetActivityInfo";
export * from "./postApiActivityActivityDirectIns";
export * from "./postApiActivityGetActivityListByAdmin";
export * from "./postApiActivityGetActivityListByWxPlaceAdmin";
export * from "./postApiActivityGetActivityListByWxUser";
export * from "./getApiActivityGetActivityInfo";
export * from "./postApiActivityActivityDirectIns";
import { type ActivityDirectRequest } from "../../interface";
/**
* 直开活动
* /api/Activity/ActivityDirectIns
*/
export declare function postApiActivityActivityDirectIns(input?: ActivityDirectRequest): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
import request from "../axios.js";
/**
* 直开活动
* /api/Activity/ActivityDirectIns
*/
export function postApiActivityActivityDirectIns(input) {
return request.post(`/api/Activity/ActivityDirectIns`, input);
}
import { type ActivitySearchRequest } from "../../interface";
/**
* 获取活动列表--超管PC用
* /api/Activity/GetActivityListByAdmin
*/
export declare function postApiActivityGetActivityListByAdmin(input?: ActivitySearchRequest): Promise<import("axios").AxiosResponse<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
card: string;
name: string;
phone: string;
class_name: string;
dept: string;
place_type_id: string;
place_type_name: string;
place_id: string;
place_code: string;
place_name: string;
place_sex: string;
place_capacity: number;
threshold: number;
begin_time: string;
end_time: string;
people_num: number;
state: number;
overtime_state: number;
remark: string;
overtime_num: number;
class_id: string;
dept_id: string;
userid: string;
activity_name: string;
participant_name: string;
};
}[];
query: {
[x: string]: any;
};
}, any>>;
import request from "../axios.js";
/**
* 获取活动列表--超管PC用
* /api/Activity/GetActivityListByAdmin
*/
export function postApiActivityGetActivityListByAdmin(input) {
return request.post(`/api/Activity/GetActivityListByAdmin`, input);
}
import { type ActivityWxSearchRequest } from "../../interface";
/**
* 获取活动列表--场地管理员wx端
* /api/Activity/GetActivityListByWxPlaceAdmin
*/
export declare function postApiActivityGetActivityListByWxPlaceAdmin(input?: ActivityWxSearchRequest): Promise<import("axios").AxiosResponse<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_name: string;
card: string;
name: string;
userid: string;
phone: string;
place_type_id: string;
place_type_name: string;
place_id: string;
place_code: string;
place_name: string;
begin_time: string;
end_time: string;
state: number;
overtime_state: number;
};
}[];
query: {
[x: string]: any;
};
}, any>>;
import request from "../axios.js";
/**
* 获取活动列表--场地管理员wx端
* /api/Activity/GetActivityListByWxPlaceAdmin
*/
export function postApiActivityGetActivityListByWxPlaceAdmin(input) {
return request.post(`/api/Activity/GetActivityListByWxPlaceAdmin`, input);
}
import { type ActivityWxSearchRequest } from "../../interface";
/**
* 获取活动列表--普通用户wx端
* /api/Activity/GetActivityListByWxUser
*/
export declare function postApiActivityGetActivityListByWxUser(input?: ActivityWxSearchRequest): Promise<import("axios").AxiosResponse<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_name: string;
card: string;
name: string;
userid: string;
phone: string;
place_type_id: string;
place_type_name: string;
place_id: string;
place_code: string;
place_name: string;
begin_time: string;
end_time: string;
state: number;
overtime_state: number;
};
}[];
query: {
[x: string]: any;
};
}, any>>;
import request from "../axios.js";
/**
* 获取活动列表--普通用户wx端
* /api/Activity/GetActivityListByWxUser
*/
export function postApiActivityGetActivityListByWxUser(input) {
return request.post(`/api/Activity/GetActivityListByWxUser`, input);
}
/**
* 删除物资
* /api/Commodity/CommodityDel
*/
export declare function getApiCommodityCommodityDel(params: GetApiCommodityCommodityDelParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
interface GetApiCommodityCommodityDelParams {
id?: string;
is_del?: number;
}
export {};
import request from "../axios.js";
/**
* 删除物资
* /api/Commodity/CommodityDel
*/
export function getApiCommodityCommodityDel(params) {
const paramsInput = {
id: params.id,
is_del: params.is_del,
};
return request.get(`/api/Commodity/CommodityDel`, {
params: paramsInput,
});
}
/**
* 启用/禁用物资
* /api/Commodity/CommodityEnable
*/
export declare function getApiCommodityCommodityEnable(params: GetApiCommodityCommodityEnableParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
interface GetApiCommodityCommodityEnableParams {
id?: string;
is_enable?: number;
}
export {};
import request from "../axios.js";
/**
* 启用/禁用物资
* /api/Commodity/CommodityEnable
*/
export function getApiCommodityCommodityEnable(params) {
const paramsInput = {
id: params.id,
is_enable: params.is_enable,
};
return request.get(`/api/Commodity/CommodityEnable`, {
params: paramsInput,
});
}
/** /**
* 获取新增物资id和code * 获取新增物资id
* /api/Commodity/GetCommodityIdAndCode * /api/Commodity/GetCommodityIdAndCode
*/ */
export declare function getApiCommodityGetCommodityIdAndCode(params: GetApiCommodityGetCommodityIdAndCodeParams): Promise<import("axios").AxiosResponse<{ export declare function getApiCommodityGetCommodityIdAndCode(params: GetApiCommodityGetCommodityIdAndCodeParams): Promise<import("axios").AxiosResponse<{
......
import request from "../axios.js"; import request from "../axios.js";
/** /**
* 获取新增物资id和code * 获取新增物资id
* /api/Commodity/GetCommodityIdAndCode * /api/Commodity/GetCommodityIdAndCode
*/ */
export function getApiCommodityGetCommodityIdAndCode(params) { export function getApiCommodityGetCommodityIdAndCode(params) {
......
/**
* 获取物资详情
* /api/Commodity/GetCommodityInfo
*/
export declare function getApiCommodityGetCommodityInfo(params: GetApiCommodityGetCommodityInfoParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
commodity_name: string;
parent_id: string;
place_type_id: string;
place_type_name: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
};
}, any>>;
interface GetApiCommodityGetCommodityInfoParams {
id: string;
}
export {};
import request from "../axios.js";
/**
* 获取物资详情
* /api/Commodity/GetCommodityInfo
*/
export function getApiCommodityGetCommodityInfo(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Commodity/GetCommodityInfo`, {
params: paramsInput,
});
}
...@@ -29,7 +29,6 @@ export declare function getApiCommodityGetCommodityList(params: GetApiCommodityG ...@@ -29,7 +29,6 @@ export declare function getApiCommodityGetCommodityList(params: GetApiCommodityG
msg_detail: string; msg_detail: string;
response: { response: {
id: string; id: string;
commodity_code: string;
commodity_name: string; commodity_name: string;
parent_id: string; parent_id: string;
place_type_id: string; place_type_id: string;
...@@ -49,8 +48,8 @@ export declare function getApiCommodityGetCommodityList(params: GetApiCommodityG ...@@ -49,8 +48,8 @@ export declare function getApiCommodityGetCommodityList(params: GetApiCommodityG
}; };
}, any>>; }, any>>;
interface GetApiCommodityGetCommodityListParams { interface GetApiCommodityGetCommodityListParams {
id: string; parent_id: string;
code_name?: string; name?: string;
page_index?: number; page_index?: number;
page_size?: number; page_size?: number;
} }
......
...@@ -5,8 +5,8 @@ import request from "../axios.js"; ...@@ -5,8 +5,8 @@ import request from "../axios.js";
*/ */
export function getApiCommodityGetCommodityList(params) { export function getApiCommodityGetCommodityList(params) {
const paramsInput = { const paramsInput = {
id: params.id, parent_id: params.parent_id,
code_name: params.code_name, name: params.name,
page_index: params.page_index, page_index: params.page_index,
page_size: params.page_size, page_size: params.page_size,
}; };
......
/**
* 获取物资借用详情
* /api/Commodity/GetCommodityTrackInfo
*/
export declare function getApiCommodityGetCommodityTrackInfo(params: GetApiCommodityGetCommodityTrackInfoParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
commodity_id: string;
commodity_parent_id: string;
commodity_name: string;
place_type_id: string;
place_type_name: string;
activity_id: string;
card: string;
name: string;
createby: string;
createtime: string;
userid: string;
};
}, any>>;
interface GetApiCommodityGetCommodityTrackInfoParams {
id: string;
}
export {};
import request from "../axios.js";
/**
* 获取物资借用详情
* /api/Commodity/GetCommodityTrackInfo
*/
export function getApiCommodityGetCommodityTrackInfo(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Commodity/GetCommodityTrackInfo`, {
params: paramsInput,
});
}
/**
* 获取物资借用列表
* /api/Commodity/GetCommodityTrackList
*/
export declare function getApiCommodityGetCommodityTrackList(params: GetApiCommodityGetCommodityTrackListParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
commodity_id: string;
commodity_parent_id: string;
commodity_name: string;
place_type_id: string;
place_type_name: string;
activity_id: string;
card: string;
name: string;
createby: string;
createtime: string;
userid: string;
}[];
}, any>>;
interface GetApiCommodityGetCommodityTrackListParams {
activity_id: string;
}
export {};
import request from "../axios.js";
/**
* 获取物资借用列表
* /api/Commodity/GetCommodityTrackList
*/
export function getApiCommodityGetCommodityTrackList(params) {
const paramsInput = {
activity_id: params.activity_id,
};
return request.get(`/api/Commodity/GetCommodityTrackList`, {
params: paramsInput,
});
}
...@@ -9,7 +9,6 @@ export declare function getApiCommodityGetCommodityTree(params: GetApiCommodityG ...@@ -9,7 +9,6 @@ export declare function getApiCommodityGetCommodityTree(params: GetApiCommodityG
msg_detail: string; msg_detail: string;
response: { response: {
id: string; id: string;
commodity_code: string;
commodity_name: string; commodity_name: string;
parent_id: string; parent_id: string;
place_type_id: string; place_type_id: string;
......
...@@ -9,7 +9,6 @@ export declare function getApiCommodityGetCommodityTreeByPc(): Promise<import("a ...@@ -9,7 +9,6 @@ export declare function getApiCommodityGetCommodityTreeByPc(): Promise<import("a
msg_detail: string; msg_detail: string;
response: { response: {
id: string; id: string;
commodity_code: string;
commodity_name: string; commodity_name: string;
parent_id: string; parent_id: string;
place_type_id: string; place_type_id: string;
......
...@@ -2,3 +2,10 @@ export * from "./getApiCommodityGetCommodityTree"; ...@@ -2,3 +2,10 @@ export * from "./getApiCommodityGetCommodityTree";
export * from "./getApiCommodityGetCommodityTreeByPc"; export * from "./getApiCommodityGetCommodityTreeByPc";
export * from "./getApiCommodityGetCommodityList"; export * from "./getApiCommodityGetCommodityList";
export * from "./getApiCommodityGetCommodityIdAndCode"; export * from "./getApiCommodityGetCommodityIdAndCode";
export * from "./getApiCommodityGetCommodityInfo";
export * from "./postApiCommodityCommodityIns";
export * from "./postApiCommodityCommoditySave";
export * from "./getApiCommodityCommodityDel";
export * from "./getApiCommodityCommodityEnable";
export * from "./getApiCommodityGetCommodityTrackList";
export * from "./getApiCommodityGetCommodityTrackInfo";
...@@ -2,3 +2,10 @@ export * from "./getApiCommodityGetCommodityTree"; ...@@ -2,3 +2,10 @@ export * from "./getApiCommodityGetCommodityTree";
export * from "./getApiCommodityGetCommodityTreeByPc"; export * from "./getApiCommodityGetCommodityTreeByPc";
export * from "./getApiCommodityGetCommodityList"; export * from "./getApiCommodityGetCommodityList";
export * from "./getApiCommodityGetCommodityIdAndCode"; export * from "./getApiCommodityGetCommodityIdAndCode";
export * from "./getApiCommodityGetCommodityInfo";
export * from "./postApiCommodityCommodityIns";
export * from "./postApiCommodityCommoditySave";
export * from "./getApiCommodityCommodityDel";
export * from "./getApiCommodityCommodityEnable";
export * from "./getApiCommodityGetCommodityTrackList";
export * from "./getApiCommodityGetCommodityTrackInfo";
import { type CommodityRequest } from "../../interface";
/**
* 新增物资
* /api/Commodity/CommodityIns
*/
export declare function postApiCommodityCommodityIns(input?: CommodityRequest): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
import request from "../axios.js";
/**
* 新增物资
* /api/Commodity/CommodityIns
*/
export function postApiCommodityCommodityIns(input) {
return request.post(`/api/Commodity/CommodityIns`, input);
}
import { type CommodityRequest } from "../../interface";
/**
* 更新物资
* /api/Commodity/CommoditySave
*/
export declare function postApiCommodityCommoditySave(input?: CommodityRequest): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
import request from "../axios.js";
/**
* 更新物资
* /api/Commodity/CommoditySave
*/
export function postApiCommodityCommoditySave(input) {
return request.post(`/api/Commodity/CommoditySave`, input);
}
...@@ -3,12 +3,13 @@ ...@@ -3,12 +3,13 @@
* /api/Common/GetPersonByCondiction * /api/Common/GetPersonByCondiction
*/ */
export declare function getApiCommonGetPersonByCondiction(params: GetApiCommonGetPersonByCondictionParams): Promise<import("axios").AxiosResponse<{ export declare function getApiCommonGetPersonByCondiction(params: GetApiCommonGetPersonByCondictionParams): Promise<import("axios").AxiosResponse<{
user_type: number;
id: string; id: string;
card: string; card: string;
name: string; name: string;
}[], any>>; }[], any>>;
interface GetApiCommonGetPersonByCondictionParams { interface GetApiCommonGetPersonByCondictionParams {
/** 0-学号,1-教师 */ /** 0-学生,1-教师 */
user_type?: number; user_type?: number;
/** 卡号或者姓名 */ /** 卡号或者姓名 */
keyword?: string; keyword?: string;
......
/**
* 删除黑名单
* /api/Evaluate/BlacklistDel
*/
export declare function getApiEvaluateBlacklistDel(params: GetApiEvaluateBlacklistDelParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
interface GetApiEvaluateBlacklistDelParams {
id?: string;
is_del?: number;
}
export {};
import request from "../axios.js";
/**
* 删除黑名单
* /api/Evaluate/BlacklistDel
*/
export function getApiEvaluateBlacklistDel(params) {
const paramsInput = {
id: params.id,
is_del: params.is_del,
};
return request.get(`/api/Evaluate/BlacklistDel`, {
params: paramsInput,
});
}
/**
* 删除评论
* /api/Evaluate/EvaluateDel
*/
export declare function getApiEvaluateEvaluateDel(params: GetApiEvaluateEvaluateDelParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
interface GetApiEvaluateEvaluateDelParams {
id?: string;
is_del?: number;
}
export {};
import request from "../axios.js";
/**
* 删除评论
* /api/Evaluate/EvaluateDel
*/
export function getApiEvaluateEvaluateDel(params) {
const paramsInput = {
id: params.id,
is_del: params.is_del,
};
return request.get(`/api/Evaluate/EvaluateDel`, {
params: paramsInput,
});
}
/**
* 获取差评记录
* /api/Evaluate/GetEvaluateErrorList
*/
export declare function getApiEvaluateGetEvaluateErrorList(params: GetApiEvaluateGetEvaluateErrorListParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_id: string;
card: string;
name: string;
evaluate_card: string;
evaluate_name: string;
grade: number;
content: string;
is_del: number;
createby: string;
createtime: string;
userid: string;
activity_name: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
}[];
}, any>>;
interface GetApiEvaluateGetEvaluateErrorListParams {
userid: string;
}
export {};
import request from "../axios.js";
/**
* 获取差评记录
* /api/Evaluate/GetEvaluateErrorList
*/
export function getApiEvaluateGetEvaluateErrorList(params) {
const paramsInput = {
userid: params.userid,
};
return request.get(`/api/Evaluate/GetEvaluateErrorList`, {
params: paramsInput,
});
}
/**
* 获取评论详情
* /api/Evaluate/GetEvaluateInfo
*/
export declare function getApiEvaluateGetEvaluateInfo(params: GetApiEvaluateGetEvaluateInfoParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_id: string;
card: string;
name: string;
evaluate_card: string;
evaluate_name: string;
grade: number;
content: string;
is_del: number;
createby: string;
createtime: string;
userid: string;
activity_name: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
};
}, any>>;
interface GetApiEvaluateGetEvaluateInfoParams {
id: string;
}
export {};
import request from "../axios.js";
/**
* 获取评论详情
* /api/Evaluate/GetEvaluateInfo
*/
export function getApiEvaluateGetEvaluateInfo(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Evaluate/GetEvaluateInfo`, {
params: paramsInput,
});
}
/**
* 获取评论列表
* /api/Evaluate/GetEvaluateList
*/
export declare function getApiEvaluateGetEvaluateList(params: GetApiEvaluateGetEvaluateListParams): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_id: string;
card: string;
name: string;
evaluate_card: string;
evaluate_name: string;
grade: number;
content: string;
is_del: number;
createby: string;
createtime: string;
userid: string;
activity_name: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
}[];
}, any>>;
interface GetApiEvaluateGetEvaluateListParams {
activity_id: string;
}
export {};
import request from "../axios.js";
/**
* 获取评论列表
* /api/Evaluate/GetEvaluateList
*/
export function getApiEvaluateGetEvaluateList(params) {
const paramsInput = {
activity_id: params.activity_id,
};
return request.get(`/api/Evaluate/GetEvaluateList`, {
params: paramsInput,
});
}
export * from "./postApiEvaluateGetBlacklist";
export * from "./getApiEvaluateBlacklistDel";
export * from "./getApiEvaluateGetEvaluateErrorList";
export * from "./getApiEvaluateGetEvaluateList";
export * from "./getApiEvaluateGetEvaluateInfo";
export * from "./postApiEvaluateEvaluateIns";
export * from "./getApiEvaluateEvaluateDel";
export * from "./postApiEvaluateGetBlacklist";
export * from "./getApiEvaluateBlacklistDel";
export * from "./getApiEvaluateGetEvaluateErrorList";
export * from "./getApiEvaluateGetEvaluateList";
export * from "./getApiEvaluateGetEvaluateInfo";
export * from "./postApiEvaluateEvaluateIns";
export * from "./getApiEvaluateEvaluateDel";
import { type EvaluateRequest } from "../../interface";
/**
* 评论
* /api/Evaluate/EvaluateIns
*/
export declare function postApiEvaluateEvaluateIns(input?: EvaluateRequest): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
import request from "../axios.js";
/**
* 评论
* /api/Evaluate/EvaluateIns
*/
export function postApiEvaluateEvaluateIns(input) {
return request.post(`/api/Evaluate/EvaluateIns`, input);
}
import { type BlacklistRequest } from "../../interface";
/**
* 获取黑名单列表
* /api/Evaluate/GetBlacklist
*/
export declare function postApiEvaluateGetBlacklist(input?: BlacklistRequest): Promise<import("axios").AxiosResponse<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
card: string;
name: string;
remark: string;
state: number;
is_del: number;
end_time: string;
createtime: string;
userid: string;
};
}[];
query: {
[x: string]: any;
};
}, any>>;
import request from "../axios.js";
/**
* 获取黑名单列表
* /api/Evaluate/GetBlacklist
*/
export function postApiEvaluateGetBlacklist(input) {
return request.post(`/api/Evaluate/GetBlacklist`, input);
}
/**
* 黑名单过期
* /api/TimedTask/BlackListUpdate
*/
export declare function getApiTimedTaskBlackListUpdate(): Promise<import("axios").AxiosResponse<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}, any>>;
import request from "../axios.js";
/**
* 黑名单过期
* /api/TimedTask/BlackListUpdate
*/
export function getApiTimedTaskBlackListUpdate() {
return request.get(`/api/TimedTask/BlackListUpdate`);
}
export * from "./getApiTimedTaskBlackListUpdate";
export * from "./getApiTimedTaskBlackListUpdate";
export * from "./Activity";
export * from "./Commodity"; export * from "./Commodity";
export * from "./Common"; export * from "./Common";
export * from "./Evaluate";
export * from "./Key"; export * from "./Key";
export * from "./Login"; export * from "./Login";
export * from "./Place"; export * from "./Place";
export * from "./PlaceType"; export * from "./PlaceType";
export * from "./Role"; export * from "./Role";
export * from "./SysConfig"; export * from "./SysConfig";
export * from "./TimedTask";
export * from "./Activity";
export * from "./Commodity"; export * from "./Commodity";
export * from "./Common"; export * from "./Common";
export * from "./Evaluate";
export * from "./Key"; export * from "./Key";
export * from "./Login"; export * from "./Login";
export * from "./Place"; export * from "./Place";
export * from "./PlaceType"; export * from "./PlaceType";
export * from "./Role"; export * from "./Role";
export * from "./SysConfig"; export * from "./SysConfig";
export * from "./TimedTask";
export interface Activity {
id?: string;
card?: string;
name?: string;
phone?: string;
class_name?: string;
dept?: string;
place_type_id?: string;
place_type_name?: string;
place_id?: string;
place_code?: string;
place_name?: string;
place_sex?: string;
place_capacity?: number;
threshold?: number;
begin_time?: string;
end_time?: string;
people_interval?: string;
people_num?: number;
state?: number;
overtime_state?: number;
key_state?: number;
is_del?: number;
remark?: string;
createby?: string;
createtime?: string;
modifyby?: string;
modify_time?: string;
overtime_num?: number;
class_id?: string;
dept_id?: string;
userid?: string;
activity_name?: string;
is_evaluate?: number;
}
export interface ActivityCardViewModel {
id?: string;
activity_name?: string;
card?: string;
name?: string;
userid?: string;
phone?: string;
place_type_id?: string;
place_type_name?: string;
place_id?: string;
place_code?: string;
place_name?: string;
begin_time?: string;
end_time?: string;
state?: number;
overtime_state?: number;
}
import { type ActivityCardViewModel } from "../../interface";
export interface ActivityCardViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: ActivityCardViewModel;
}
import { type TableTitle, type ActivityCardViewModelMessageModel } from "../../interface";
export interface ActivityCardViewModelMessageModelPageModel {
pageIndex?: number;
pageSize?: number;
pageCount?: number;
dataCount?: number;
title?: TableTitle[];
data?: ActivityCardViewModelMessageModel[];
query?: ActivityCardViewModelMessageModelPageModelQuery;
}
export interface ActivityCardViewModelMessageModelPageModelQuery {
[key: string]: any;
}
export interface ActivityDirectRequest {
place_type_id?: string;
place_id?: string;
begin_time?: string;
end_time?: string;
remark?: string;
}
import { type Activity } from "../../interface";
export interface ActivityMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: Activity;
}
export interface ActivitySearchRequest {
/** 用户卡号/名称 */
user_card_name?: string;
/** 场地编号/名称 */
place_code_name?: string;
/** 场地类型 */
place_type_id?: string;
/** 场地允许使用性别 */
sex?: string;
/** 活动状态 */
state?: string;
/** 开始时间 */
begin_time?: string;
/** 结束时间 */
end_time?: string;
page_index?: number;
page_size?: number;
}
export interface ActivityViewModel {
id?: string;
card?: string;
name?: string;
phone?: string;
class_name?: string;
dept?: string;
place_type_id?: string;
place_type_name?: string;
place_id?: string;
place_code?: string;
place_name?: string;
place_sex?: string;
place_capacity?: number;
threshold?: number;
begin_time?: string;
end_time?: string;
people_num?: number;
state?: number;
overtime_state?: number;
remark?: string;
overtime_num?: number;
class_id?: string;
dept_id?: string;
userid?: string;
activity_name?: string;
participant_name?: string;
}
import { type ActivityViewModel } from "../../interface";
export interface ActivityViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: ActivityViewModel;
}
import { type TableTitle, type ActivityViewModelMessageModel } from "../../interface";
export interface ActivityViewModelMessageModelPageModel {
pageIndex?: number;
pageSize?: number;
pageCount?: number;
dataCount?: number;
title?: TableTitle[];
data?: ActivityViewModelMessageModel[];
query?: ActivityViewModelMessageModelPageModelQuery;
}
export interface ActivityViewModelMessageModelPageModelQuery {
[key: string]: any;
}
export interface ActivityWxSearchRequest {
name?: string;
/** 状态 审批中-1 审批通过-4 待使用-7 使用中 -8 已结束 -9 加时活动-10 待评价-11 已评价 -12 被邀请 -13 */
state?: number;
page_index?: number;
page_size?: number;
}
export interface Blacklist {
id?: string;
card?: string;
name?: string;
remark?: string;
state?: number;
is_del?: number;
end_time?: string;
createtime?: string;
userid?: string;
}
import { type Blacklist } from "../../interface";
export interface BlacklistMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: Blacklist;
}
import { type TableTitle, type BlacklistMessageModel } from "../../interface";
export interface BlacklistMessageModelPageModel {
pageIndex?: number;
pageSize?: number;
pageCount?: number;
dataCount?: number;
title?: TableTitle[];
data?: BlacklistMessageModel[];
query?: BlacklistMessageModelPageModelQuery;
}
export interface BlacklistMessageModelPageModelQuery {
[key: string]: any;
}
export interface BlacklistRequest {
card_name?: string;
begin_time?: string;
end_time?: string;
state?: string;
page_index?: number;
page_size?: number;
}
export interface Commodity { export interface Commodity {
id?: string; id?: string;
commodity_code?: string;
commodity_name?: string; commodity_name?: string;
parent_id?: string; parent_id?: string;
place_type_id?: string; place_type_id?: string;
......
import { type PlaceFile } from "../../interface";
export interface CommodityRequest {
id?: string;
/**
* Desc:物资名称
* Default:
* Nullable:True
*/
commodity_name?: string;
/**
* Desc:父级id
* Default:
* Nullable:True
*/
parent_id?: string;
/**
* Desc:场地类型id
* Default:
* Nullable:True
*/
place_type_id?: string;
/**
* Desc:附件id
* Default:
* Nullable:True
*/
file_list?: PlaceFile[];
/**
* Desc:是否启用 0-否,1-是
* Default:
* Nullable:True
*/
is_enable?: number;
/**
* Desc:是否删除 0-否 ,1-是
* Default:
* Nullable:True
*/
is_del?: number;
/**
* Desc:
* Default:
* Nullable:True
*/
createby?: string;
/**
* Desc:
* Default:
* Nullable:True
*/
createtime?: string;
/**
* Desc:
* Default:
* Nullable:True
*/
modifyby?: string;
/**
* Desc:
* Default:
* Nullable:True
*/
modify_time?: string;
}
export interface CommodityTrack {
id?: string;
commodity_id?: string;
commodity_parent_id?: string;
commodity_name?: string;
place_type_id?: string;
place_type_name?: string;
activity_id?: string;
card?: string;
name?: string;
createby?: string;
createtime?: string;
userid?: string;
}
import { type CommodityTrack } from "../../interface";
export interface CommodityTrackListMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: CommodityTrack[];
}
import { type CommodityTrack } from "../../interface";
export interface CommodityTrackMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: CommodityTrack;
}
import { type PlaceFile } from "../../interface";
export interface CommodityViewModel {
id?: string;
commodity_name?: string;
parent_id?: string;
place_type_id?: string;
place_type_name?: string;
is_enable?: number;
is_del?: number;
createby?: string;
createtime?: string;
modifyby?: string;
modify_time?: string;
file_list?: PlaceFile[];
}
import { type CommodityViewModel } from "../../interface";
export interface CommodityViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: CommodityViewModel;
}
import { type PlaceFile } from "../../interface";
export interface EvaluateRequest {
activity_id?: string;
/** 星级 */
grade?: number;
/** 评价 */
content?: string;
/**
* Desc:附件id
* Default:
* Nullable:True
*/
file_list?: PlaceFile[];
}
import { type PlaceFile } from "../../interface";
export interface EvaluateViewModel {
id?: string;
activity_id?: string;
card?: string;
name?: string;
evaluate_card?: string;
evaluate_name?: string;
grade?: number;
content?: string;
is_del?: number;
createby?: string;
createtime?: string;
userid?: string;
activity_name?: string;
file_list?: PlaceFile[];
}
import { type EvaluateViewModel } from "../../interface";
export interface EvaluateViewModelListMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: EvaluateViewModel[];
}
import { type EvaluateViewModel } from "../../interface";
export interface EvaluateViewModelMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: EvaluateViewModel;
}
export interface PersonResponse { export interface PersonResponse {
/** 0-学生,1-教师 */
user_type?: number;
/** id */ /** id */
id?: string; id?: string;
/** 卡号 */ /** 卡号 */
......
export * from "./apiTypes/Commodity"; export * from "./apiTypes/ActivitySearchRequest";
export * from "./apiTypes/CommodityListMessageModel";
export * from "./apiTypes/Option"; export * from "./apiTypes/Option";
export * from "./apiTypes/TableTitle"; export * from "./apiTypes/TableTitle";
export * from "./apiTypes/ActivityViewModel";
export * from "./apiTypes/ActivityViewModelMessageModel";
export * from "./apiTypes/ActivityViewModelMessageModelPageModel";
export * from "./apiTypes/ActivityWxSearchRequest";
export * from "./apiTypes/ActivityCardViewModel";
export * from "./apiTypes/ActivityCardViewModelMessageModel";
export * from "./apiTypes/ActivityCardViewModelMessageModelPageModel";
export * from "./apiTypes/Activity";
export * from "./apiTypes/ActivityMessageModel";
export * from "./apiTypes/ActivityDirectRequest";
export * from "./apiTypes/StringMessageModel";
export * from "./apiTypes/Commodity";
export * from "./apiTypes/CommodityListMessageModel";
export * from "./apiTypes/CommodityMessageModel"; export * from "./apiTypes/CommodityMessageModel";
export * from "./apiTypes/CommodityMessageModelPageModel"; export * from "./apiTypes/CommodityMessageModelPageModel";
export * from "./apiTypes/Int64MessageModel"; export * from "./apiTypes/Int64MessageModel";
export * from "./apiTypes/PlaceFile"; export * from "./apiTypes/PlaceFile";
export * from "./apiTypes/CommodityViewModel";
export * from "./apiTypes/CommodityViewModelMessageModel";
export * from "./apiTypes/CommodityRequest";
export * from "./apiTypes/CommodityTrack";
export * from "./apiTypes/CommodityTrackListMessageModel";
export * from "./apiTypes/CommodityTrackMessageModel";
export * from "./apiTypes/PlaceFileMessageModel"; export * from "./apiTypes/PlaceFileMessageModel";
export * from "./apiTypes/SelectResponses"; export * from "./apiTypes/SelectResponses";
export * from "./apiTypes/SelectResponsesListMessageModel"; export * from "./apiTypes/SelectResponsesListMessageModel";
export * from "./apiTypes/PersonResponse"; export * from "./apiTypes/PersonResponse";
export * from "./apiTypes/KeyResponse"; export * from "./apiTypes/KeyResponse";
export * from "./apiTypes/KeyResponseListMessageModel"; export * from "./apiTypes/KeyResponseListMessageModel";
export * from "./apiTypes/BlacklistRequest";
export * from "./apiTypes/Blacklist";
export * from "./apiTypes/BlacklistMessageModel";
export * from "./apiTypes/BlacklistMessageModelPageModel";
export * from "./apiTypes/EvaluateViewModel";
export * from "./apiTypes/EvaluateViewModelListMessageModel";
export * from "./apiTypes/EvaluateViewModelMessageModel";
export * from "./apiTypes/EvaluateRequest";
export * from "./apiTypes/KeySearchRequest"; export * from "./apiTypes/KeySearchRequest";
export * from "./apiTypes/Key"; export * from "./apiTypes/Key";
export * from "./apiTypes/KeyMessageModel"; export * from "./apiTypes/KeyMessageModel";
export * from "./apiTypes/KeyMessageModelPageModel"; export * from "./apiTypes/KeyMessageModelPageModel";
export * from "./apiTypes/KeyViewModel"; export * from "./apiTypes/KeyViewModel";
export * from "./apiTypes/KeyViewModelMessageModel"; export * from "./apiTypes/KeyViewModelMessageModel";
export * from "./apiTypes/StringMessageModel";
export * from "./apiTypes/KeyOperateRequest"; export * from "./apiTypes/KeyOperateRequest";
export * from "./apiTypes/KeyTrackSearchRequest"; export * from "./apiTypes/KeyTrackSearchRequest";
export * from "./apiTypes/KeyTrack"; export * from "./apiTypes/KeyTrack";
......
export * from "./apiTypes/Commodity"; export * from "./apiTypes/ActivitySearchRequest";
export * from "./apiTypes/CommodityListMessageModel";
export * from "./apiTypes/Option"; export * from "./apiTypes/Option";
export * from "./apiTypes/TableTitle"; export * from "./apiTypes/TableTitle";
export * from "./apiTypes/ActivityViewModel";
export * from "./apiTypes/ActivityViewModelMessageModel";
export * from "./apiTypes/ActivityViewModelMessageModelPageModel";
export * from "./apiTypes/ActivityWxSearchRequest";
export * from "./apiTypes/ActivityCardViewModel";
export * from "./apiTypes/ActivityCardViewModelMessageModel";
export * from "./apiTypes/ActivityCardViewModelMessageModelPageModel";
export * from "./apiTypes/Activity";
export * from "./apiTypes/ActivityMessageModel";
export * from "./apiTypes/ActivityDirectRequest";
export * from "./apiTypes/StringMessageModel";
export * from "./apiTypes/Commodity";
export * from "./apiTypes/CommodityListMessageModel";
export * from "./apiTypes/CommodityMessageModel"; export * from "./apiTypes/CommodityMessageModel";
export * from "./apiTypes/CommodityMessageModelPageModel"; export * from "./apiTypes/CommodityMessageModelPageModel";
export * from "./apiTypes/Int64MessageModel"; export * from "./apiTypes/Int64MessageModel";
export * from "./apiTypes/PlaceFile"; export * from "./apiTypes/PlaceFile";
export * from "./apiTypes/CommodityViewModel";
export * from "./apiTypes/CommodityViewModelMessageModel";
export * from "./apiTypes/CommodityRequest";
export * from "./apiTypes/CommodityTrack";
export * from "./apiTypes/CommodityTrackListMessageModel";
export * from "./apiTypes/CommodityTrackMessageModel";
export * from "./apiTypes/PlaceFileMessageModel"; export * from "./apiTypes/PlaceFileMessageModel";
export * from "./apiTypes/SelectResponses"; export * from "./apiTypes/SelectResponses";
export * from "./apiTypes/SelectResponsesListMessageModel"; export * from "./apiTypes/SelectResponsesListMessageModel";
export * from "./apiTypes/PersonResponse"; export * from "./apiTypes/PersonResponse";
export * from "./apiTypes/KeyResponse"; export * from "./apiTypes/KeyResponse";
export * from "./apiTypes/KeyResponseListMessageModel"; export * from "./apiTypes/KeyResponseListMessageModel";
export * from "./apiTypes/BlacklistRequest";
export * from "./apiTypes/Blacklist";
export * from "./apiTypes/BlacklistMessageModel";
export * from "./apiTypes/BlacklistMessageModelPageModel";
export * from "./apiTypes/EvaluateViewModel";
export * from "./apiTypes/EvaluateViewModelListMessageModel";
export * from "./apiTypes/EvaluateViewModelMessageModel";
export * from "./apiTypes/EvaluateRequest";
export * from "./apiTypes/KeySearchRequest"; export * from "./apiTypes/KeySearchRequest";
export * from "./apiTypes/Key"; export * from "./apiTypes/Key";
export * from "./apiTypes/KeyMessageModel"; export * from "./apiTypes/KeyMessageModel";
export * from "./apiTypes/KeyMessageModelPageModel"; export * from "./apiTypes/KeyMessageModelPageModel";
export * from "./apiTypes/KeyViewModel"; export * from "./apiTypes/KeyViewModel";
export * from "./apiTypes/KeyViewModelMessageModel"; export * from "./apiTypes/KeyViewModelMessageModel";
export * from "./apiTypes/StringMessageModel";
export * from "./apiTypes/KeyOperateRequest"; export * from "./apiTypes/KeyOperateRequest";
export * from "./apiTypes/KeyTrackSearchRequest"; export * from "./apiTypes/KeyTrackSearchRequest";
export * from "./apiTypes/KeyTrack"; export * from "./apiTypes/KeyTrack";
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或