zhxy-jsd/dist/build/h5/assets/pages-base-service-index.2dd07e88.js
2025-05-21 02:44:13 +08:00

2 lines
3.0 KiB
JavaScript

import{d as e,m as i,b as t,e as a,w as s,q as o,g as l,v as n,a0 as h,Q as c,F as d,l as r,y as p,z as f,$ as u,A as x,G as w}from"./index-f6e54d8f.js";import{_ as g}from"./_plugin-vue_export-helper.1b428a4d.js";const m=g(e({__name:"index",setup(e){const g=i([{id:"routine",title:"常规",items:[{id:10,text:"一师一策",icon:"clipboardfill",path:"/pages/view/routine/yishiyice/index",show:!0},{id:"r2",icon:"stack-fill",text:"教学资源",show:!0,path:"/pages/view/routine/JiaoXueZiYuan/index"},{id:"r3",icon:"file-list-3-fil",text:"活动资源",show:!0,path:"/pages/view/routine/HuoDongZiYuan/index"},{id:"r4",icon:"file-paper-2-fill",text:"公文流转",show:!0,path:"/pages/view/routine/GongWenLiuZhuan/index"},{id:"r5",icon:"file-mark-fill",text:"积分评价",show:!0,path:"/pages/view/routine/JiFenPingJia"},{id:"r6",icon:"pass-pending-fill",text:"课服巡查",show:!0,path:"/pages/view/routine/kefuxuncha/KeFuXunCha"}]},{id:"home-school",title:"家校",items:[{id:"hs1",icon:"file-text-fill",text:"教师课表",show:!0,path:"/pages/view/homeSchool/JiaoShiKeBiao"},{id:"hs2",icon:"file-text-fill-2",text:"班级课表",show:!0,path:"/pages/view/homeSchool/BanJiKeBiao"},{id:"hs3",icon:"file-paper-2-fill",text:"家长通讯录",show:!0,path:"/pages/view/homeSchool/parentAddressBook/index"},{id:"hs4",icon:"newspaper-fill",text:"通知列表",show:!0,path:"/pages/view/notice/index"},{id:"hs6",icon:"filechart2fil",text:"成绩分析",show:!0,path:"/pages/view/homeSchool/ChengJiFenXi"}]},{id:"hr",title:"人事",items:[{id:"hr1",icon:"draftfill",text:"请假申请",show:!0,path:"/pages/view/hr/leaveApplication/index"},{id:"hr2",icon:"file-user-fill",text:"教师档案",show:!0,path:"/pages/view/hr/teacherProfile/index"},{id:"hr3",icon:"newspaper-fill",text:"工资条",show:!0,path:"/pages/view/hr/salarySlip/index"}]}]);return(e,i)=>{const m=d,v=r,_=w;return t(),a(v,{class:"service-page"},{default:s((()=>[o(" 1. 顶部 Header "),l(v,{class:"header-section"},{default:s((()=>[l(m,{class:"header-image",src:"/zhxy-jsd/assets/120851x-52480a77.png",mode:"aspectFit"})])),_:1}),o(" 2. 主要内容区域 "),l(v,{class:"main-content"},{default:s((()=>[o(" 循环渲染功能分区 "),(t(!0),n(c,null,h(g,(e=>(t(),a(v,{class:"section-block",key:e.id},{default:s((()=>[l(v,{class:"section-title"},{default:s((()=>[l(v,{class:"title-decorator"}),l(_,null,{default:s((()=>[p(f(e.title),1)])),_:2},1024)])),_:2},1024),l(v,{class:"section-grid-card"},{default:s((()=>[(t(!0),n(c,null,h(e.items,(e=>(t(),n(c,{key:e.id},[e.show?(t(),a(v,{key:0,class:"grid-item",onClick:i=>(e=>{console.log("Clicked item:",e),e.path?u({url:e.path}):x({title:`功能 ${e.text} 暂未开放`,icon:"none"})})(e)},{default:s((()=>[o(" 根据 item.icon 动态拼接图片路径 "),l(m,{class:"grid-icon",src:`/static/base/home/${e.icon}.png`,mode:"aspectFit"},null,8,["src"]),l(_,{class:"grid-text"},{default:s((()=>[p(f(e.text),1)])),_:2},1024)])),_:2},1032,["onClick"])):o("v-if",!0)],64)))),128))])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})}}}),[["__scopeId","data-v-85fedf74"]]);export{m as default};