vant/v3/assets/index.b2e3cc21.js
2024-04-20 08:49:23 +00:00

2 lines
3.8 KiB
JavaScript

import{V as n}from"./index.05e3ab24.js";import{V as u}from"./index.bbd81525.js";import{V as r}from"./index.4d1fb3f9.js";import{a as c}from"./index.b70c9b40.js";import{a as s}from"./use-translate.d2900b8c.js";import{z as v,r as d,o as p,a as _,e as l,w as i,B as e,d as m,t as o,h as f,F as C}from"./vue-libs.b44bc779.js";import"./with-install.19a35764.js";import"./constant.80c6de18.js";import"./use-route.82f2be69.js";const g={class:"custom-title"},A=v({__name:"index",setup(h){const t=s({"zh-CN":{cell:"\u5355\u5143\u683C",group:"\u5206\u7EC4",router:"\u9875\u9762\u5BFC\u822A",urlRoute:"URL \u8DF3\u8F6C",vueRoute:"\u8DEF\u7531\u8DF3\u8F6C",useSlots:"\u4F7F\u7528\u63D2\u69FD",showIcon:"\u5C55\u793A\u56FE\u6807",showArrow:"\u5C55\u793A\u7BAD\u5934",largeSize:"\u5355\u5143\u683C\u5927\u5C0F",valueOnly:"\u53EA\u8BBE\u7F6E value",groupTitle:"\u5206\u7EC4\u6807\u9898",insetGrouped:"\u5361\u7247\u98CE\u683C",verticalCenter:"\u5782\u76F4\u5C45\u4E2D"},"en-US":{cell:"Cell title",group:"Group",router:"Router",urlRoute:"URL",vueRoute:"Vue Router",useSlots:"Use Slots",showIcon:"Left Icon",showArrow:"Link",largeSize:"Size",valueOnly:"Value only",groupTitle:"Group Title",insetGrouped:"Inset Grouped",verticalCenter:"Vertical center"}});return(F,w)=>{const a=d("demo-block");return p(),_(C,null,[l(a,{title:e(t)("basicUsage")},{default:i(()=>[l(e(n),null,{default:i(()=>[l(e(u),{title:e(t)("cell"),value:e(t)("content")},null,8,["title","value"]),l(e(u),{title:e(t)("cell"),value:e(t)("content"),label:e(t)("desc")},null,8,["title","value","label"])]),_:1})]),_:1},8,["title"]),l(a,{title:e(t)("insetGrouped")},{default:i(()=>[l(e(n),{inset:""},{default:i(()=>[l(e(u),{title:e(t)("cell"),value:e(t)("content")},null,8,["title","value"]),l(e(u),{title:e(t)("cell"),value:e(t)("content"),label:e(t)("desc")},null,8,["title","value","label"])]),_:1})]),_:1},8,["title"]),l(a,{title:e(t)("largeSize")},{default:i(()=>[l(e(u),{title:e(t)("cell"),value:e(t)("content"),size:"large"},null,8,["title","value"]),l(e(u),{title:e(t)("cell"),value:e(t)("content"),size:"large",label:e(t)("desc")},null,8,["title","value","label"])]),_:1},8,["title"]),l(a,{title:e(t)("showIcon")},{default:i(()=>[l(e(u),{title:e(t)("cell"),value:e(t)("content"),icon:"location-o"},null,8,["title","value"])]),_:1},8,["title"]),l(a,{title:e(t)("valueOnly")},{default:i(()=>[l(e(u),{value:e(t)("content")},null,8,["value"])]),_:1},8,["title"]),l(a,{title:e(t)("showArrow")},{default:i(()=>[l(e(u),{title:e(t)("cell"),"is-link":""},null,8,["title"]),l(e(u),{title:e(t)("cell"),"is-link":"",value:e(t)("content")},null,8,["title","value"]),l(e(u),{title:e(t)("cell"),"is-link":"","arrow-direction":"down",value:e(t)("content")},null,8,["title","value"])]),_:1},8,["title"]),l(a,{title:e(t)("router")},{default:i(()=>[l(e(u),{title:e(t)("urlRoute"),"is-link":"",url:"https://github.com/vant-ui/vant"},null,8,["title"]),l(e(u),{title:e(t)("vueRoute"),"is-link":"",to:"index"},null,8,["title"])]),_:1},8,["title"]),l(a,{title:e(t)("groupTitle")},{default:i(()=>[l(e(n),{title:`${e(t)("group")} 1`},{default:i(()=>[l(e(u),{title:e(t)("cell"),value:e(t)("content")},null,8,["title","value"])]),_:1},8,["title"]),l(e(n),{title:`${e(t)("group")} 2`},{default:i(()=>[l(e(u),{title:e(t)("cell"),value:e(t)("content")},null,8,["title","value"])]),_:1},8,["title"])]),_:1},8,["title"]),l(a,{title:e(t)("useSlots")},{default:i(()=>[l(e(u),{value:e(t)("content"),"is-link":""},{title:i(()=>[m("span",g,o(e(t)("cell")),1),l(e(r),{type:"danger"},{default:i(()=>[f(o(e(t)("tag")),1)]),_:1})]),_:1},8,["value"]),l(e(u),{icon:"shop-o",title:e(t)("cell")},{"right-icon":i(()=>[l(e(c),{name:"search",class:"search-icon"})]),_:1},8,["title"])]),_:1},8,["title"]),l(a,{title:e(t)("verticalCenter")},{default:i(()=>[l(e(u),{center:"",title:e(t)("cell"),value:e(t)("content"),label:e(t)("desc")},null,8,["title","value","label"])]),_:1},8,["title"])],64)}}});export{A as default};