applist-lmoBtF7x.js 4.0 KB

1
  1. import{d as n,D as r,u as d,b as i,e as l,z as c,c as p,a as t,F as v,G as h,s as u,o as f}from"./index-TyuCIC8S.js";const x=h('<ul class="flex space-x-2 rtl:space-x-reverse"><li><a href="javascript:;" class="text-primary hover:underline">首页</a></li><li class="before:content-[&#39;/&#39;] ltr:before:mr-2 rtl:before:ml-2"><span>所有应用</span></li></ul><div class="grid grid-cols-2 gap-8"><div><svg class="w-40 h-40 text-gray-500 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M11.32 6.176H5c-1.105 0-2 .949-2 2.118v10.588C3 20.052 3.895 21 5 21h11c1.105 0 2-.948 2-2.118v-7.75l-3.914 4.144A2.46 2.46 0 0 1 12.81 16l-2.681.568c-1.75.37-3.292-1.263-2.942-3.115l.536-2.839c.097-.512.335-.983.684-1.352l2.914-3.086Z" clip-rule="evenodd"></path><path fill-rule="evenodd" d="M19.846 4.318a2.148 2.148 0 0 0-.437-.692 2.014 2.014 0 0 0-.654-.463 1.92 1.92 0 0 0-1.544 0 2.014 2.014 0 0 0-.654.463l-.546.578 2.852 3.02.546-.579a2.14 2.14 0 0 0 .437-.692 2.244 2.244 0 0 0 0-1.635ZM17.45 8.721 14.597 5.7 9.82 10.76a.54.54 0 0 0-.137.27l-.536 2.84c-.07.37.239.696.588.622l2.682-.567a.492.492 0 0 0 .255-.145l4.778-5.06Z" clip-rule="evenodd"></path></svg><div class="h-4 mx-10 my-2"><span class="text-center text-base font-bold">订单查询</span></div></div><div><svg class="w-40 h-40 text-gray-500 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M11.32 6.176H5c-1.105 0-2 .949-2 2.118v10.588C3 20.052 3.895 21 5 21h11c1.105 0 2-.948 2-2.118v-7.75l-3.914 4.144A2.46 2.46 0 0 1 12.81 16l-2.681.568c-1.75.37-3.292-1.263-2.942-3.115l.536-2.839c.097-.512.335-.983.684-1.352l2.914-3.086Z" clip-rule="evenodd"></path><path fill-rule="evenodd" d="M19.846 4.318a2.148 2.148 0 0 0-.437-.692 2.014 2.014 0 0 0-.654-.463 1.92 1.92 0 0 0-1.544 0 2.014 2.014 0 0 0-.654.463l-.546.578 2.852 3.02.546-.579a2.14 2.14 0 0 0 .437-.692 2.244 2.244 0 0 0 0-1.635ZM17.45 8.721 14.597 5.7 9.82 10.76a.54.54 0 0 0-.137.27l-.536 2.84c-.07.37.239.696.588.622l2.682-.567a.492.492 0 0 0 .255-.145l4.778-5.06Z" clip-rule="evenodd"></path></svg><div class="h-4 mx-10 my-2"><span class="text-center text-base font-bold">订单查询</span></div></div><div class="goods-transfer"><svg class="w-40 h-40 text-gray-500 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M11.32 6.176H5c-1.105 0-2 .949-2 2.118v10.588C3 20.052 3.895 21 5 21h11c1.105 0 2-.948 2-2.118v-7.75l-3.914 4.144A2.46 2.46 0 0 1 12.81 16l-2.681.568c-1.75.37-3.292-1.263-2.942-3.115l.536-2.839c.097-.512.335-.983.684-1.352l2.914-3.086Z" clip-rule="evenodd"></path><path fill-rule="evenodd" d="M19.846 4.318a2.148 2.148 0 0 0-.437-.692 2.014 2.014 0 0 0-.654-.463 1.92 1.92 0 0 0-1.544 0 2.014 2.014 0 0 0-.654.463l-.546.578 2.852 3.02.546-.579a2.14 2.14 0 0 0 .437-.692 2.244 2.244 0 0 0 0-1.635ZM17.45 8.721 14.597 5.7 9.82 10.76a.54.54 0 0 0-.137.27l-.536 2.84c-.07.37.239.696.588.622l2.682-.567a.492.492 0 0 0 .255-.145l4.778-5.06Z" clip-rule="evenodd"></path></svg><div class="h-4 mx-10 my-2"><span class="text-center text-base font-bold">123</span></div></div></div>',2),g=t("button",{type:"button",class:"btn btn-dark rounded-none"},"Middle",-1),b=t("button",{type:"button",class:"btn btn-dark ltr:rounded-l-none rtl:rounded-r-none"},"Right",-1),y=n({__name:"applist",setup(m){const a=r("axios"),s=()=>{u.push({path:"/"})};d({title:"Chat"}),i(),l(!1),l(!1),l({id:0,name:"Alon Smith",path:"profile-34.jpeg",designation:"Software Developer"});const o=async()=>{try{const e=await a.get("/api-endpoint");console.log("API Response:",e.data)}catch(e){console.error("API Error:",e)}};return c(()=>{o()}),(e,w)=>(f(),p(v,null,[x,t("div",{class:"relative inline-flex align-middle fixed-bottom button-group"},[t("button",{type:"button",onClick:s,class:"btn btn-dark ltr:rounded-r-none rtl:rounded-l-none"},"Left"),g,b])],64))}});export{y as default};