智慧教务系统 PHP-NiuCloud框架开发
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
2.2 KiB

import{d as S,j as E,f as A,r as m,J as B,h as s,c as o,e as l,w as f,F as p,O as h,a as e,t as _,u as v,z as I,B as d,k as D,Y as N,C as O,Z as R,K as V,L as F,p as z,g as J}from"./index-208710d8.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as K}from"./app_default-ef62993a.js";import{_ as U}from"./_plugin-vue_export-helper-c27b6911.js";const g=a=>(z("data-v-aecbb9ca"),a=a(),J(),a),Y={class:"main-container"},Z={class:"flex justify-between items-center"},$={class:"text-page-title"},q={class:"flex flex-wrap plug-list pb-10 plug-large"},G=["onClick"],H={class:"w-[264px] flex py-[20px] px-[17px] app-item relative"},M=g(()=>e("div",{class:"image-slot"},[e("img",{class:"w-[40px] h-[40px]",src:K})],-1)),P={class:"flex flex-col justify-between w-[180px]"},Q={class:"text-[14px] flex items-center"},T={class:"app-text max-w-[170px]"},W=g(()=>e("span",{class:"iconfont iconxiaochengxu2 text-[#00b240] ml-[4px] !text-[14px]"},null,-1)),X={class:"app-text text-[12px] text-[#999]"},ee={key:1,class:"empty flex items-center justify-center"},te=S({__name:"index",setup(a){const x=E().addonIndexRoute,u=A(),n=m([]),i=m(!0);(async()=>{const t=await N();n.value=t.data,i.value=!1})();const y=t=>{console.log("tol",t),t.url?u.push(t.url):x[t.key]&&u.push({name:x[t.key]})};return(t,oe)=>{const b=O,k=R,w=V,C=F;return B((s(),o("div",Y,[l(w,{class:"box-card !border-none",shadow:"never"},{default:f(()=>[Object.keys(n.value).length?(s(!0),o(p,{key:0},h(n.value,(r,L)=>(s(),o(p,{key:L+"b"},[r.list.length?(s(),o(p,{key:0},[e("div",Z,[e("span",$,_(r.title),1)]),e("div",q,[(s(!0),o(p,null,h(r.list,(c,j)=>(s(),o("div",{class:"cursor-pointer mt-[20px] mr-4 bg-[#f7f7f7]",key:j,onClick:ae=>y(c)},[e("div",H,[l(b,{class:"w-[40px] h-[40px] mr-[10px]",src:v(I)(c.icon),fit:"contain"},{error:f(()=>[M]),_:2},1032,["src"]),e("div",P,[e("div",Q,[e("span",T,_(c.title),1),W]),e("p",X,_(c.desc),1)])])],8,G))),128))])],64)):d("",!0)],64))),128)):d("",!0),!i.value&&!Object.keys(n.value).length?(s(),o("div",ee,[l(k,{description:v(D)("emptyAppData")},null,8,["description"])])):d("",!0)]),_:1})])),[[C,i.value]])}}});const xe=U(te,[["__scopeId","data-v-aecbb9ca"]]);export{xe as default};