Skip to content

Commit

Permalink
deploy: ed4a197
Browse files Browse the repository at this point in the history
  • Loading branch information
3lang3 committed Feb 27, 2024
1 parent c17dd87 commit 3eb5cf7
Show file tree
Hide file tree
Showing 101 changed files with 194 additions and 194 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><title>react vant - 轻量、可靠的移动端 React 组件库</title><meta name="description" content="轻量、可靠的移动端 React 组件库"/><link rel="icon" type="image/png" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,viewport-fit=cover"/><meta http-equiv="Cache-Control" content="no-cache"/><meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/><script>window.routerBase = '/';</script><script type="module" crossorigin src="/assets/main.6c37fbb4.js"></script><link rel="stylesheet" href="/assets/main.29b8d2eb.css"></head><body><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><title>react vant - 轻量、可靠的移动端 React 组件库</title><meta name="description" content="轻量、可靠的移动端 React 组件库"/><link rel="icon" type="image/png" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,viewport-fit=cover"/><meta http-equiv="Cache-Control" content="no-cache"/><meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/><script>window.routerBase = '/';</script><script type="module" crossorigin src="/assets/main.882839e3.js"></script><link rel="stylesheet" href="/assets/main.29b8d2eb.css"></head><body><div id="root"></div></body></html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/README.b422d95c.js → assets/README.01d8c5ad.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/README.883e4973.js → assets/README.0542f968.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/README.db65f2b9.js → assets/README.0b07d05b.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var h=Object.defineProperty,p=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var a=(u,r,l)=>r in u?h(u,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):u[r]=l,d=(u,r)=>{for(var l in r||(r={}))m.call(r,l)&&a(u,l,r[l]);if(i)for(var l of i(r))I.call(r,l)&&a(u,l,r[l]);return u},c=(u,r)=>p(u,x(r));import{a as n,j as e}from"./main.6c37fbb4.js";import{F as t}from"./FloatingPanel.6443909e.js";var o=()=>n("div",{className:"demo-flex",children:[n(t,{justify:"center",align:"center",children:[e(t.Item,{span:12,children:"span: 12"}),e(t.Item,{span:12,children:"span: 12"})]}),n(t,{children:[e(t.Item,{span:8,children:"span: 8"}),e(t.Item,{span:8,children:"span: 8"}),e(t.Item,{span:8,children:"span: 8"})]})]});const E=`import React from 'react'
var h=Object.defineProperty,p=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var a=(u,r,l)=>r in u?h(u,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):u[r]=l,d=(u,r)=>{for(var l in r||(r={}))m.call(r,l)&&a(u,l,r[l]);if(i)for(var l of i(r))I.call(r,l)&&a(u,l,r[l]);return u},c=(u,r)=>p(u,x(r));import{a as n,j as e}from"./main.882839e3.js";import{F as t}from"./FloatingPanel.87dc93fa.js";var o=()=>n("div",{className:"demo-flex",children:[n(t,{justify:"center",align:"center",children:[e(t.Item,{span:12,children:"span: 12"}),e(t.Item,{span:12,children:"span: 12"})]}),n(t,{children:[e(t.Item,{span:8,children:"span: 8"}),e(t.Item,{span:8,children:"span: 8"}),e(t.Item,{span:8,children:"span: 8"})]})]});const E=`import React from 'react'
import { Flex } from 'react-vant'
import './style.less'
Expand Down Expand Up @@ -183,4 +183,4 @@ export default () => {
}
}
}
`}},key:"flex-direction",meta:{title:"\u65B9\u5411"}},b=function({previewer:u=()=>null,api:r=()=>null}){const l=u;return e("div",{children:n("div",{children:[e("h1",{id:"flex-\u5E03\u5C40","data-anchor":"flex-\u5E03\u5C40",children:"Flex \u5E03\u5C40"}),e("h2",{id:"\u4ECB\u7ECD","data-anchor":"\u4ECB\u7ECD",children:"\u4ECB\u7ECD"}),n("p",{children:[e("code",{children:"Flex"})," \u7EC4\u4EF6\u662F CSS ",e("code",{children:"flex"})," \u5E03\u5C40\u7684\u4E00\u4E2A\u5C01\u88C5\u3002"]}),e("h2",{id:"\u5F15\u5165","data-anchor":"\u5F15\u5165",children:"\u5F15\u5165"}),e(l,{code:"import { Flex } from 'react-vant';",lang:"js"}),e("h2",{id:"\u4EE3\u7801\u6F14\u793A","data-anchor":"\u4EE3\u7801\u6F14\u793A",children:"\u4EE3\u7801\u6F14\u793A"}),e("h3",{id:"\u57FA\u7840\u7528\u6CD5","data-anchor":"\u57FA\u7840\u7528\u6CD5",children:"\u57FA\u7840\u7528\u6CD5"}),n("p",{children:[e("code",{children:"Flex"})," \u7EC4\u4EF6\u63D0\u4F9B\u4E86",e("code",{children:"24\u5217\u6805\u683C"}),"\u3002\u4F7F\u7528\u5355\u4E00\u7684\u4E00\u7EC4 ",e("code",{children:"Flex"})," \u548C ",e("code",{children:"Flex.Item"})," \u6805\u683C\u7EC4\u4EF6\uFF0C\u5C31\u53EF\u4EE5\u521B\u5EFA\u4E00\u4E2A\u57FA\u672C\u7684\u6805\u683C\u7CFB\u7EDF\uFF0C\u6240\u6709\u5217\uFF08",e("code",{children:"Flex.Item"}),"\uFF09\u5FC5\u987B\u653E\u5728 ",e("code",{children:"Flex"})," \u5185\u3002"]}),e("div",{children:e(l,c(d({},f),{children:e(o,{})}))}),e("h3",{id:"\u533A\u57DF\u95F4\u9694","data-anchor":"\u533A\u57DF\u95F4\u9694",children:"\u533A\u57DF\u95F4\u9694"}),n("p",{children:["\u901A\u8FC7",e("code",{children:"gutter"}),"\u5C5E\u6027\u53EF\u4EE5\u8BBE\u7F6E\u5217\u5143\u7D20\u4E4B\u95F4\u7684\u95F4\u8DDD\uFF0C\u9ED8\u8BA4\u95F4\u8DDD\u4E3A ",e("code",{children:"0"}),"; \u5982\u679C\u9700\u8981\u5782\u76F4\u95F4\u8DDD\uFF0C\u53EF\u4EE5\u5199\u6210\u6570\u7EC4\u5F62\u5F0F ",e("code",{children:"[\u6C34\u5E73\u95F4\u8DDD, \u5782\u76F4\u95F4\u8DDD]"})]}),e("div",{children:e(l,c(d({},v),{children:e(F,{})}))}),e("h3",{id:"\u65B9\u5411","data-anchor":"\u65B9\u5411",children:"\u65B9\u5411"}),n("p",{children:["\u901A\u8FC7",e("code",{children:"direction"}),"\u5C5E\u6027\u8BBE\u7F6E\u5F39\u6027\u5E03\u5C40\u65B9\u5411\u3002\u9ED8\u8BA4\u662F ",e("code",{children:"row"})]}),e("div",{children:e(l,c(d({},D),{children:e(s,{})}))}),e("h2",{id:"api","data-anchor":"api",children:"API"}),e("h3",{id:"flex","data-anchor":"flex",children:"Flex"}),n("table",{children:[e("thead",{children:n("tr",{children:[e("th",{children:"\u6210\u5458"}),e("th",{children:"\u8BF4\u660E"}),e("th",{children:"\u7C7B\u578B"}),e("th",{children:"\u9ED8\u8BA4\u503C"})]})}),n("tbody",{children:[n("tr",{children:[e("td",{children:"direction"}),n("td",{children:["\u9879\u76EE\u5B9A\u4F4D\u65B9\u5411\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"row"})," ",e("code",{children:"row-reverse"})," ",e("code",{children:"column"})," ",e("code",{children:"column-reverse"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"row"})})]}),n("tr",{children:[e("td",{children:"wrap"}),n("td",{children:["\u5B50\u5143\u7D20\u7684\u6362\u884C\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"nowrap"})," ",e("code",{children:"wrap"})," ",e("code",{children:"wrap-reverse"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"nowrap"})})]}),n("tr",{children:[e("td",{children:"gutter"}),n("td",{children:["\u5217\u5143\u7D20\u4E4B\u95F4\u7684\u95F4\u8DDD\u3002\u53EF\u4EE5\u4F7F\u7528\u6570\u7EC4\u5F62\u5F0F\u540C\u65F6\u8BBE\u7F6E ",e("code",{children:"[\u6C34\u5E73\u95F4\u8DDD, \u5782\u76F4\u95F4\u8DDD]"})]}),e("td",{children:e("em",{children:"number | array"})}),e("td",{children:e("code",{children:"0"})})]}),n("tr",{children:[e("td",{children:"align"}),n("td",{children:["\u5782\u76F4\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"start"})," ",e("code",{children:"center"})," ",e("code",{children:"end"})," ",e("code",{children:"baseline"})," ",e("code",{children:"stretch"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"start"})})]}),n("tr",{children:[e("td",{children:"justify"}),n("td",{children:["\u6C34\u5E73\u6392\u5217\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"start"})," ",e("code",{children:"end"})," ",e("code",{children:"center"})," ",e("code",{children:"around"})," ",e("code",{children:"between"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"start"})})]})]})]}),e("h3",{id:"flexitem","data-anchor":"flexitem",children:"Flex.Item"}),n("table",{children:[e("thead",{children:n("tr",{children:[e("th",{children:"\u6210\u5458"}),e("th",{children:"\u8BF4\u660E"}),e("th",{children:"\u7C7B\u578B"}),e("th",{children:"\u9ED8\u8BA4\u503C"})]})}),n("tbody",{children:[n("tr",{children:[e("td",{children:"flex"}),e("td",{children:"flex \u5E03\u5C40\u5C5E\u6027"}),e("td",{children:e("em",{children:"string | number"})}),e("td",{children:e("code",{children:"-"})})]}),n("tr",{children:[e("td",{children:"span"}),n("td",{children:["\u6805\u683C\u5360\u4F4D\u683C\u6570\uFF0C\u4E3A 0 \u65F6\u76F8\u5F53\u4E8E ",e("code",{children:"display: none"})]}),e("td",{children:e("em",{children:"number"})}),e("td",{children:e("code",{children:"-"})})]})]})]})]})})},B=[{Component:o,key:"flex-base",title:"\u57FA\u7840\u7528\u6CD5"},{Component:F,key:"flex-gutter",title:"\u533A\u57DF\u95F4\u9694"},{Component:s,key:"flex-direction",title:"\u65B9\u5411"}],y=void 0,A=[{depth:1,text:"Flex \u5E03\u5C40",id:"flex-\u5E03\u5C40"},{depth:2,text:"\u4ECB\u7ECD",id:"\u4ECB\u7ECD"},{depth:2,text:"\u5F15\u5165",id:"\u5F15\u5165"},{depth:2,text:"\u4EE3\u7801\u6F14\u793A",id:"\u4EE3\u7801\u6F14\u793A"},{depth:3,text:"\u57FA\u7840\u7528\u6CD5",id:"\u57FA\u7840\u7528\u6CD5"},{depth:3,text:"\u533A\u57DF\u95F4\u9694",id:"\u533A\u57DF\u95F4\u9694"},{depth:3,text:"\u65B9\u5411",id:"\u65B9\u5411"},{depth:2,text:"API",id:"api"},{depth:3,text:"Flex",id:"flex"},{depth:3,text:"Flex.Item",id:"flexitem"}],w="/src/components/flex/README.md",k="Flex \u5E03\u5C40",_="1708565173000";var R=u=>u.children({MdContent:b,demos:B,frontmatter:y,slugs:A,filePath:w,title:k,updatedTime:_});export{b as MdContent,R as default,B as demos,w as filePath,y as frontmatter,A as slugs,k as title,_ as updatedTime};
`}},key:"flex-direction",meta:{title:"\u65B9\u5411"}},b=function({previewer:u=()=>null,api:r=()=>null}){const l=u;return e("div",{children:n("div",{children:[e("h1",{id:"flex-\u5E03\u5C40","data-anchor":"flex-\u5E03\u5C40",children:"Flex \u5E03\u5C40"}),e("h2",{id:"\u4ECB\u7ECD","data-anchor":"\u4ECB\u7ECD",children:"\u4ECB\u7ECD"}),n("p",{children:[e("code",{children:"Flex"})," \u7EC4\u4EF6\u662F CSS ",e("code",{children:"flex"})," \u5E03\u5C40\u7684\u4E00\u4E2A\u5C01\u88C5\u3002"]}),e("h2",{id:"\u5F15\u5165","data-anchor":"\u5F15\u5165",children:"\u5F15\u5165"}),e(l,{code:"import { Flex } from 'react-vant';",lang:"js"}),e("h2",{id:"\u4EE3\u7801\u6F14\u793A","data-anchor":"\u4EE3\u7801\u6F14\u793A",children:"\u4EE3\u7801\u6F14\u793A"}),e("h3",{id:"\u57FA\u7840\u7528\u6CD5","data-anchor":"\u57FA\u7840\u7528\u6CD5",children:"\u57FA\u7840\u7528\u6CD5"}),n("p",{children:[e("code",{children:"Flex"})," \u7EC4\u4EF6\u63D0\u4F9B\u4E86",e("code",{children:"24\u5217\u6805\u683C"}),"\u3002\u4F7F\u7528\u5355\u4E00\u7684\u4E00\u7EC4 ",e("code",{children:"Flex"})," \u548C ",e("code",{children:"Flex.Item"})," \u6805\u683C\u7EC4\u4EF6\uFF0C\u5C31\u53EF\u4EE5\u521B\u5EFA\u4E00\u4E2A\u57FA\u672C\u7684\u6805\u683C\u7CFB\u7EDF\uFF0C\u6240\u6709\u5217\uFF08",e("code",{children:"Flex.Item"}),"\uFF09\u5FC5\u987B\u653E\u5728 ",e("code",{children:"Flex"})," \u5185\u3002"]}),e("div",{children:e(l,c(d({},f),{children:e(o,{})}))}),e("h3",{id:"\u533A\u57DF\u95F4\u9694","data-anchor":"\u533A\u57DF\u95F4\u9694",children:"\u533A\u57DF\u95F4\u9694"}),n("p",{children:["\u901A\u8FC7",e("code",{children:"gutter"}),"\u5C5E\u6027\u53EF\u4EE5\u8BBE\u7F6E\u5217\u5143\u7D20\u4E4B\u95F4\u7684\u95F4\u8DDD\uFF0C\u9ED8\u8BA4\u95F4\u8DDD\u4E3A ",e("code",{children:"0"}),"; \u5982\u679C\u9700\u8981\u5782\u76F4\u95F4\u8DDD\uFF0C\u53EF\u4EE5\u5199\u6210\u6570\u7EC4\u5F62\u5F0F ",e("code",{children:"[\u6C34\u5E73\u95F4\u8DDD, \u5782\u76F4\u95F4\u8DDD]"})]}),e("div",{children:e(l,c(d({},v),{children:e(F,{})}))}),e("h3",{id:"\u65B9\u5411","data-anchor":"\u65B9\u5411",children:"\u65B9\u5411"}),n("p",{children:["\u901A\u8FC7",e("code",{children:"direction"}),"\u5C5E\u6027\u8BBE\u7F6E\u5F39\u6027\u5E03\u5C40\u65B9\u5411\u3002\u9ED8\u8BA4\u662F ",e("code",{children:"row"})]}),e("div",{children:e(l,c(d({},D),{children:e(s,{})}))}),e("h2",{id:"api","data-anchor":"api",children:"API"}),e("h3",{id:"flex","data-anchor":"flex",children:"Flex"}),n("table",{children:[e("thead",{children:n("tr",{children:[e("th",{children:"\u6210\u5458"}),e("th",{children:"\u8BF4\u660E"}),e("th",{children:"\u7C7B\u578B"}),e("th",{children:"\u9ED8\u8BA4\u503C"})]})}),n("tbody",{children:[n("tr",{children:[e("td",{children:"direction"}),n("td",{children:["\u9879\u76EE\u5B9A\u4F4D\u65B9\u5411\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"row"})," ",e("code",{children:"row-reverse"})," ",e("code",{children:"column"})," ",e("code",{children:"column-reverse"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"row"})})]}),n("tr",{children:[e("td",{children:"wrap"}),n("td",{children:["\u5B50\u5143\u7D20\u7684\u6362\u884C\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"nowrap"})," ",e("code",{children:"wrap"})," ",e("code",{children:"wrap-reverse"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"nowrap"})})]}),n("tr",{children:[e("td",{children:"gutter"}),n("td",{children:["\u5217\u5143\u7D20\u4E4B\u95F4\u7684\u95F4\u8DDD\u3002\u53EF\u4EE5\u4F7F\u7528\u6570\u7EC4\u5F62\u5F0F\u540C\u65F6\u8BBE\u7F6E ",e("code",{children:"[\u6C34\u5E73\u95F4\u8DDD, \u5782\u76F4\u95F4\u8DDD]"})]}),e("td",{children:e("em",{children:"number | array"})}),e("td",{children:e("code",{children:"0"})})]}),n("tr",{children:[e("td",{children:"align"}),n("td",{children:["\u5782\u76F4\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"start"})," ",e("code",{children:"center"})," ",e("code",{children:"end"})," ",e("code",{children:"baseline"})," ",e("code",{children:"stretch"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"start"})})]}),n("tr",{children:[e("td",{children:"justify"}),n("td",{children:["\u6C34\u5E73\u6392\u5217\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3A ",e("code",{children:"start"})," ",e("code",{children:"end"})," ",e("code",{children:"center"})," ",e("code",{children:"around"})," ",e("code",{children:"between"})]}),e("td",{children:e("em",{children:"string"})}),e("td",{children:e("code",{children:"start"})})]})]})]}),e("h3",{id:"flexitem","data-anchor":"flexitem",children:"Flex.Item"}),n("table",{children:[e("thead",{children:n("tr",{children:[e("th",{children:"\u6210\u5458"}),e("th",{children:"\u8BF4\u660E"}),e("th",{children:"\u7C7B\u578B"}),e("th",{children:"\u9ED8\u8BA4\u503C"})]})}),n("tbody",{children:[n("tr",{children:[e("td",{children:"flex"}),e("td",{children:"flex \u5E03\u5C40\u5C5E\u6027"}),e("td",{children:e("em",{children:"string | number"})}),e("td",{children:e("code",{children:"-"})})]}),n("tr",{children:[e("td",{children:"span"}),n("td",{children:["\u6805\u683C\u5360\u4F4D\u683C\u6570\uFF0C\u4E3A 0 \u65F6\u76F8\u5F53\u4E8E ",e("code",{children:"display: none"})]}),e("td",{children:e("em",{children:"number"})}),e("td",{children:e("code",{children:"-"})})]})]})]})]})})},B=[{Component:o,key:"flex-base",title:"\u57FA\u7840\u7528\u6CD5"},{Component:F,key:"flex-gutter",title:"\u533A\u57DF\u95F4\u9694"},{Component:s,key:"flex-direction",title:"\u65B9\u5411"}],y=void 0,A=[{depth:1,text:"Flex \u5E03\u5C40",id:"flex-\u5E03\u5C40"},{depth:2,text:"\u4ECB\u7ECD",id:"\u4ECB\u7ECD"},{depth:2,text:"\u5F15\u5165",id:"\u5F15\u5165"},{depth:2,text:"\u4EE3\u7801\u6F14\u793A",id:"\u4EE3\u7801\u6F14\u793A"},{depth:3,text:"\u57FA\u7840\u7528\u6CD5",id:"\u57FA\u7840\u7528\u6CD5"},{depth:3,text:"\u533A\u57DF\u95F4\u9694",id:"\u533A\u57DF\u95F4\u9694"},{depth:3,text:"\u65B9\u5411",id:"\u65B9\u5411"},{depth:2,text:"API",id:"api"},{depth:3,text:"Flex",id:"flex"},{depth:3,text:"Flex.Item",id:"flexitem"}],w="/src/components/flex/README.md",k="Flex \u5E03\u5C40",_="1709032649000";var R=u=>u.children({MdContent:b,demos:B,frontmatter:y,slugs:A,filePath:w,title:k,updatedTime:_});export{b as MdContent,R as default,B as demos,w as filePath,y as frontmatter,A as slugs,k as title,_ as updatedTime};
Loading

0 comments on commit 3eb5cf7

Please sign in to comment.