mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-29 01:40:16 +00:00
2 lines
3.6 KiB
JavaScript
2 lines
3.6 KiB
JavaScript
/* empty css *//* empty css *//* empty css */import{_ as C}from"./apply_empty-78684083.js";/* empty css *//* empty css *//* empty css */import{_ as A}from"./app_store_default-c4798c2d.js";import{t as i}from"./index-0ca94763.js";import{g as B,Y as I}from"./index-7eafba5f.js";import{c as S}from"./common-c3be41fd.js";import{a as F}from"./vue-router-48fdc1e3.js";import{E as N}from"./index-c5914bde.js";import{E as R}from"./index-888853cf.js";import{E as V}from"./index-558a0748.js";import{E as z}from"./index-448a4893.js";import{v as D}from"./directive-64fb15dc.js";import{d as j,r as H,O as M,M as O,e as m,f as _,g as t,B as o,u as e,y as d,x as p,F as P,z as T,v as U,A as Y,H as $,n as q,aA as G,aB as J}from"./plugin-vue_export-helper-85a4d40b.js";import{_ as K}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-bcd7a424.js";import"./index-cf9a2dd7.js";import"./index-e513479b.js";import"./el-main-86eb724f.js";import"./index-b9e5f5cb.js";import"./el-overlay-08181e74.js";import"./event-f85d77b0.js";import"./index-313cd2ce.js";import"./focus-trap-64c402c5.js";import"./index-1ad115d7.js";import"./index-de1d3b53.js";import"./el-form-item-1b16c9fc.js";import"./_baseClone-3dbf39d6.js";/* empty css *//* empty css */import"./index-d469ae66.js";import"./index-e27c3bb0.js";import"./index-4d8f36c6.js";import"./index-ebc73046.js";import"./index-344f0086.js";import"./debounce-6c3123a6.js";import"./position-37364850.js";const u=r=>(G("data-v-22a2f036"),r=r(),J(),r),Q={class:"main-container"},W={class:"flex justify-between items-center"},X={class:"font-600 text-[20px] text-[#222]"},Z=u(()=>t("span",{class:"iconfont iconanzhuang mr-[9px]"},null,-1)),tt={class:"flex flex-wrap mt-[28px]"},ot=["onClick"],et={class:"flex items-center"},st=u(()=>t("div",{class:"image-slot"},[t("img",{class:"w-[40px] h-[40px] rounded-[8px]",src:A})],-1)),it={class:"flex-1 font-600 text-[14px] text-[#222] ml-[12px]"},pt={class:"font-500 text-[13px] text-[#6D7278] mt-[14px]"},rt=u(()=>t("div",{class:"w-[230px] mx-auto"},[t("img",{src:C,class:"max-w-full",alt:""})],-1)),at={class:"flex items-center"},nt=j({__name:"overview",setup(r){const x=F(),v=B(),s=H(!0),a=M({appList:[]});(()=>{s.value=!0,I().then(n=>{a.appList=n.data,s.value=!1}).catch(()=>{s.value=!1})})();const f=()=>{x.push("tools/app_store")},h=n=>{let l=v.addonIndexRoute[n];l?x.push({name:l}):f()},g=()=>{window.open("https://www.niucloud.com/app")};return(n,l)=>{const w=N,y=R,k=V,E=z,b=D;return O((m(),_("div",Q,[t("div",{class:q(["h-[480px] box-border px-[60px] pt-[40px]",a.appList.length?"overview-top":""])},[t("div",W,[t("div",X,o(e(i)("app")),1),d(w,{onClick:f},{default:p(()=>[Z,t("span",null,o(e(i)("installApp")),1)]),_:1})]),t("div",tt,[(m(!0),_(P,null,T(a.appList,(c,L)=>(m(),_("div",{key:L,class:"app-item w-[284px] box-border p-[18px] pb-[24px] bg-[#fff] rounded-[8px] cursor-pointer mr-[24px] mb-[24px]",onClick:mt=>h(c.key)},[t("div",et,[d(y,{class:"w-[40px] h-[40px] rounded-[8px]",src:e(S)(c.icon),fit:"contain"},{error:p(()=>[st]),_:2},1032,["src"]),t("div",it,o(c.title),1)]),t("div",pt,o(c.desc),1)],8,ot))),128)),!a.appList.length&&!s.value?(m(),U(E,{key:0,class:"mx-auto overview-empty"},{image:p(()=>[rt]),description:p(()=>[t("p",at,[t("span",null,o(e(i)("descriptionLeft")),1),d(k,{type:"primary",onClick:g},{default:p(()=>[Y(o(e(i)("link")),1)]),_:1}),t("span",null,o(e(i)("descriptionRight")),1)])]),_:1})):$("",!0)])],2)])),[[b,s.value]])}}});const Xt=K(nt,[["__scopeId","data-v-22a2f036"]]);export{Xt as default};
|