demo.3fa8435b.js 3.7 KB

1
  1. import{a,b as n,c as t}from"./mobile.bdc6afd4.js";import{B as e,C as s,r as l,o as f,e as c,g as d,j as p,k as o}from"./vendor.21cda21c.js";import"./index.20f35658.js";const{createDemo:u}=t("layout");var i=u({components:{[a.name]:a,[n.name]:n}});e("data-v-188f9c1a");const x={class:"demo full"},_=d("h2",null,"基础布局",-1),v={class:"box-item"},r=d("div",{class:"flex-content"},"span:24",-1),m=d("div",{class:"flex-content"},"span:12",-1),h=d("div",{class:"flex-content flex-content-light"},"span:12",-1),g=d("div",{class:"flex-content"},"span:8",-1),y=d("div",{class:"flex-content flex-content-light"},"span:8",-1),j=d("div",{class:"flex-content"},"span:8",-1),b=d("div",{class:"flex-content"},"span:6",-1),w=d("div",{class:"flex-content flex-content-light"},"span:6",-1),k=d("div",{class:"flex-content"},"span:6",-1),B=d("div",{class:"flex-content"},"span:6",-1),C=d("h2",null,"分栏间隔",-1),D={class:"box-item"},F=d("div",{class:"flex-content"},"span:8",-1),I=d("div",{class:"flex-content flex-content-light"},"span:8",-1),q=d("div",{class:"flex-content"},"span:8",-1),z=d("h2",null,"Flex布局",-1),A={class:"box-item"},E=d("div",{class:"flex-content"},"span:6",-1),G=d("div",{class:"flex-content flex-content-light"},"span:6",-1),H=d("div",{class:"flex-content"},"span:6",-1),J=d("div",{class:"flex-content"},"span:6",-1),K=d("div",{class:"flex-content flex-content-light"},"span:6",-1),L=d("div",{class:"flex-content"},"span:6",-1),M=d("div",{class:"flex-content"},"span:6",-1),N=d("div",{class:"flex-content flex-content-light"},"span:6",-1),O=d("div",{class:"flex-content"},"span:6",-1),P=d("div",{class:"flex-content"},"span:6",-1),Q=d("div",{class:"flex-content flex-content-light"},"span:6",-1),R=d("div",{class:"flex-content"},"span:6",-1),S=d("div",{class:"flex-content"},"span:6",-1),T=d("div",{class:"flex-content flex-content-light"},"span:6",-1),U=d("div",{class:"flex-content"},"span:6",-1);s(),i.render=function(a,n,t,e,s,u){const i=l("nut-col"),V=l("nut-row");return f(),c("div",x,[_,d("div",v,[p(V,null,{default:o((()=>[p(i,{span:24},{default:o((()=>[r])),_:1})])),_:1}),p(V,null,{default:o((()=>[p(i,{span:12},{default:o((()=>[m])),_:1}),p(i,{span:12},{default:o((()=>[h])),_:1})])),_:1}),p(V,null,{default:o((()=>[p(i,{span:8},{default:o((()=>[g])),_:1}),p(i,{span:8},{default:o((()=>[y])),_:1}),p(i,{span:8},{default:o((()=>[j])),_:1})])),_:1}),p(V,null,{default:o((()=>[p(i,{span:6},{default:o((()=>[b])),_:1}),p(i,{span:6},{default:o((()=>[w])),_:1}),p(i,{span:6},{default:o((()=>[k])),_:1}),p(i,{span:6},{default:o((()=>[B])),_:1})])),_:1})]),C,d("div",D,[p(V,{gutter:10},{default:o((()=>[p(i,{span:8},{default:o((()=>[F])),_:1}),p(i,{span:8},{default:o((()=>[I])),_:1}),p(i,{span:8},{default:o((()=>[q])),_:1})])),_:1})]),z,d("div",A,[p(V,{type:"flex",wrap:"nowrap"},{default:o((()=>[p(i,{span:6},{default:o((()=>[E])),_:1}),p(i,{span:6},{default:o((()=>[G])),_:1}),p(i,{span:6},{default:o((()=>[H])),_:1})])),_:1}),p(V,{type:"flex",justify:"center"},{default:o((()=>[p(i,{span:6},{default:o((()=>[J])),_:1}),p(i,{span:6},{default:o((()=>[K])),_:1}),p(i,{span:6},{default:o((()=>[L])),_:1})])),_:1}),p(V,{type:"flex",justify:"end"},{default:o((()=>[p(i,{span:6},{default:o((()=>[M])),_:1}),p(i,{span:6},{default:o((()=>[N])),_:1}),p(i,{span:6},{default:o((()=>[O])),_:1})])),_:1}),p(V,{type:"flex",justify:"space-between"},{default:o((()=>[p(i,{span:6},{default:o((()=>[P])),_:1}),p(i,{span:6},{default:o((()=>[Q])),_:1}),p(i,{span:6},{default:o((()=>[R])),_:1})])),_:1}),p(V,{type:"flex",justify:"space-around"},{default:o((()=>[p(i,{span:6},{default:o((()=>[S])),_:1}),p(i,{span:6},{default:o((()=>[T])),_:1}),p(i,{span:6},{default:o((()=>[U])),_:1})])),_:1})])])},i.__scopeId="data-v-188f9c1a";export{i as default};