1 |
- import{d as g,r as p,x,o as y,c as C,i as e,w as s,a,aY as d,E as P,s as w}from"./index-6d906b8a.js";import{b}from"./trade-9a74f0cf.js";import{a as U}from"./member-96d81aee.js";import{_ as f}from"./ComparisonCard.vue_vue_type_script_setup_true_lang-3ce57add.js";import{_ as j}from"./MemberStatisticsCard.vue_vue_type_script_setup_true_lang-e731f2c5.js";import{_ as E}from"./OperationDataCard.vue_vue_type_script_setup_true_lang-4ab075c1.js";import{_ as H}from"./ShortcutCard.vue_vue_type_script_setup_true_lang-2f9efcc9.js";import{_ as I}from"./TradeTrendCard.vue_vue_type_script_setup_true_lang-02829b41.js";import{_ as M}from"./MemberTerminalCard.vue_vue_type_script_setup_true_lang-0a05a284.js";import T from"./MemberFunnelCard-7e0f91e6.js";import{_ as Y}from"./_plugin-vue_export-helper-1b428a4d.js";import"./formatTime-b48ce278.js";import"./CountTo.vue_vue_type_script_setup_true_lang-0c703fb0.js";import"./el-card-dcb0121c.js";import"./Echart.vue_vue_type_script_setup_true_lang-cd1c1a42.js";import"./CardTitle-44cf98ce.js";import"./spu-8c99daaf.js";import"./dict-1d5b7a74.js";import"./index.vue_vue_type_script_setup_true_lang-0a3852cb.js";const h={class:"flex flex-col"},k=Y(g({name:"MallHome",__name:"index",setup(q){const i=p(!0),u=p(),n=p(),_=async()=>{u.value=await b()},v=async()=>{n.value=await U()};return x(async()=>{i.value=!0,await Promise.all([_(),v()]),i.value=!1}),(z,A)=>{const m=P,c=w;return y(),C("div",h,[e(c,{gutter:16,class:"row"},{default:s(()=>[e(m,{md:6,sm:12,xs:24,loading:a(i)},{default:s(()=>{var r,t,l,o;return[e(f,{tag:"\u4ECA\u65E5",title:"\u9500\u552E\u989D",prefix:"\uFFE5",":decimals":2,value:a(d)(((t=(r=a(u))==null?void 0:r.value)==null?void 0:t.orderPayPrice)||0),reference:a(d)(((o=(l=a(u))==null?void 0:l.reference)==null?void 0:o.orderPayPrice)||0)},null,8,["value","reference"])]}),_:1},8,["loading"]),e(m,{md:6,sm:12,xs:24,loading:a(i)},{default:s(()=>{var r,t,l,o;return[e(f,{tag:"\u4ECA\u65E5",title:"\u7528\u6237\u8BBF\u95EE\u91CF",value:((t=(r=a(n))==null?void 0:r.value)==null?void 0:t.visitUserCount)||0,reference:((o=(l=a(n))==null?void 0:l.reference)==null?void 0:o.visitUserCount)||0},null,8,["value","reference"])]}),_:1},8,["loading"]),e(m,{md:6,sm:12,xs:24,loading:a(i)},{default:s(()=>{var r,t,l,o;return[e(f,{tag:"\u4ECA\u65E5",title:"\u8BA2\u5355\u91CF",value:a(d)(((t=(r=a(u))==null?void 0:r.value)==null?void 0:t.orderPayCount)||0),reference:a(d)(((o=(l=a(u))==null?void 0:l.reference)==null?void 0:o.orderPayCount)||0)},null,8,["value","reference"])]}),_:1},8,["loading"]),e(m,{md:6,sm:12,xs:24,loading:a(i)},{default:s(()=>{var r,t,l,o;return[e(f,{tag:"\u4ECA\u65E5",title:"\u65B0\u589E\u7528\u6237",value:((t=(r=a(n))==null?void 0:r.value)==null?void 0:t.registerUserCount)||0,reference:((o=(l=a(n))==null?void 0:l.reference)==null?void 0:o.registerUserCount)||0},null,8,["value","reference"])]}),_:1},8,["loading"])]),_:1}),e(c,{gutter:16,class:"row"},{default:s(()=>[e(m,{md:12},{default:s(()=>[e(H)]),_:1}),e(m,{md:12},{default:s(()=>[e(E)]),_:1})]),_:1}),e(c,{gutter:16,class:"mb-4"},{default:s(()=>[e(m,{md:18,sm:24},{default:s(()=>[e(T)]),_:1}),e(m,{md:6,sm:24},{default:s(()=>[e(M)]),_:1})]),_:1}),e(I,{class:"mb-4"}),e(j)])}}}),[["__scopeId","data-v-bf41a42d"]]);export{k as default};
|