mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-11-30 08:33:37 +08:00
2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
import{d as y,o as i,c as o,j as e,t as l,k as s,g as r,a3 as p,F as d,B as m,E as u}from"./chunks/framework.D8G7yXPy.js";import{v as f}from"./chunks/theme.Bn-xQtuD.js";const v={class:"ray-home"},g={class:"ray-hero"},b={class:"ray-lead"},M={class:"ray-actions"},w=["href"],k=["href"],x={class:"ray-map","aria-labelledby":"ray-map-title"},T=["href"],B={class:"ray-paths","aria-labelledby":"ray-paths-title"},z=["href","aria-labelledby","aria-describedby"],P={class:"ray-path-icon",viewBox:"0 0 24 24","aria-hidden":"true"},S=["d"],A=["id"],N=["id"],R={class:"ray-showcase","aria-labelledby":"ray-showcase-title"},V={class:"ray-showcase-links"},$=["href"],C=["href"],H=["src"],D=y({__name:"RayHome",setup(_){const n=[{title:"Ray Admin",name:"apps/admin",href:"/guide/layout.html"},{title:"共享包",name:"packages",href:"/guide/architecture.html"},{title:"页内交互",name:"apps/docs",href:"/reference/table-pro.html"}],c=[{title:"第一个业务页面",summary:"添加订单列表、路由和菜单。",href:"/guide/first-page.html",icon:"M6 3.5h8l4 4v13H6z M14 3.5v4h4 M9 12h6 M9 16h6"},{title:"组件与 Hooks",summary:"查找表单、弹窗和常用组合式函数。",href:"/reference/components.html",icon:"M3.5 3.5h7v7h-7z M13.5 3.5h7v7h-7z M3.5 13.5h7v7h-7z M13.5 13.5h7v7h-7z"},{title:"构建与部署",summary:"检查项目并部署到站点子路径。",href:"/guide/tooling.html",icon:"M4 8.5h16v11H4z M4 8.5l3-4h10l3 4 M12 16v-4 M10 14l2-2 2 2"}];return(j,t)=>(i(),o("main",v,[e("header",g,[e("div",null,[t[0]||(t[0]=e("h1",null,"Ray Template",-1)),e("p",b," v"+l(s(f))+" 将 Ray Admin、官网文档和共享包放在同一个工作区。可在文档里直接体验真实组件。 ",1),e("div",M,[e("a",{class:"ray-start",href:s(r)("/guide/start.html")},"快速开始",8,w),e("a",{class:"ray-migrate",href:s(r)("/migration.html")},"v5 与 v6 的版本分界",8,k)])]),e("section",x,[t[1]||(t[1]=p("",2)),e("ul",null,[(i(),o(d,null,m(n,a=>e("li",{key:a.href},[e("a",{href:s(r)(a.href)},[e("span",null,l(a.title),1),e("code",null,l(a.name),1)],8,T)])),64))])])]),e("section",B,[t[3]||(t[3]=e("h2",{id:"ray-paths-title"},"常用文档",-1)),e("ul",null,[(i(),o(d,null,m(c,(a,h)=>e("li",{key:a.href},[e("a",{class:"ray-path",href:s(r)(a.href),"aria-labelledby":`ray-path-title-${h}`,"aria-describedby":`ray-path-summary-${h}`},[e("article",null,[(i(),o("svg",P,[e("path",{d:a.icon},null,8,S)])),e("h3",{id:`ray-path-title-${h}`},l(a.title),9,A),e("p",{id:`ray-path-summary-${h}`},l(a.summary),9,N),t[2]||(t[2]=e("svg",{class:"ray-path-arrow",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{d:"M5 12h13m-5-5 5 5-5 5"})],-1))])],8,z)])),64))])]),e("section",R,[e("div",null,[t[4]||(t[4]=e("h2",{id:"ray-showcase-title"},"TablePro 自适应高度",-1)),t[5]||(t[5]=e("p",null,"表格填满可用高度,数据在表内滚动。",-1)),e("div",V,[e("a",{href:s(r)("/reference/table-pro.html")},"TablePro 用法",8,$),e("a",{href:s(r)("/reference/table-pro-examples.html#自适应高度与虚拟滚动")},"在线示例",8,C)])]),e("img",{src:s(r)("/assets/tablepro-auto-height.png"),width:"1440",height:"820",loading:"lazy",alt:"TablePro 自适应高度示例,虚拟滚动已开启,分页位于表格底部"},null,8,H)])]))}}),L=JSON.parse('{"title":"开发者文档","description":"","frontmatter":{"title":"开发者文档","layout":"home","markdownStyles":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),E={name:"index.md"},O=Object.assign(E,{setup(_){return(n,c)=>(i(),o("div",null,[u(D)]))}});export{L as __pageData,O as default};
|