mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
1 line
3.4 KiB
JavaScript
1 line
3.4 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{240:function(t,n,a){"use strict";a.r(n);var e={i18n:{"zh-CN":{type:"按钮类型",size:"按钮尺寸",loading:"加载状态",shape:"按钮形状",default:"默认按钮",primary:"主要按钮",info:"信息按钮",danger:"危险按钮",warning:"警告按钮",large:"大号按钮",normal:"普通按钮",small:"小型按钮",mini:"迷你按钮",plain:"朴素按钮",square:"方形按钮",round:"圆形按钮",hairline:"细边框",hairlineButton:"细边框按钮",loadingText:"加载中..."},"en-US":{type:"Type",size:"Size",loading:"Loading",shape:"Shape",default:"Default",primary:"Primary",info:"Info",danger:"Danger",warning:"Warning",large:"Large",normal:"Normal",small:"Small",mini:"Mini",plain:"Plain",square:"Square",round:"Round",hairline:"Hairline",hairlineButton:"Hairline",loadingText:"Loading..."}}},i=(a(95),a(7)),o=Object(i.a)(e,function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("demo-section",[a("demo-block",{attrs:{title:t.$t("type")}},[a("div",{staticClass:"demo-button-row"},[a("van-button",{attrs:{type:"default"}},[t._v(t._s(t.$t("default")))]),a("van-button",{attrs:{type:"primary"}},[t._v(t._s(t.$t("primary")))]),a("van-button",{attrs:{type:"info"}},[t._v(t._s(t.$t("info")))])],1),a("van-button",{attrs:{type:"danger"}},[t._v(t._s(t.$t("danger")))]),a("van-button",{attrs:{type:"warning"}},[t._v(t._s(t.$t("warning")))])],1),a("demo-block",{attrs:{title:t.$t("plain")}},[a("van-button",{attrs:{plain:"",type:"primary",text:t.$t("plain")}}),a("van-button",{attrs:{plain:"",type:"danger",text:t.$t("plain")}})],1),a("demo-block",{attrs:{title:t.$t("hairline")}},[a("van-button",{attrs:{plain:"",hairline:"",type:"primary",text:t.$t("hairlineButton")}}),a("van-button",{attrs:{plain:"",hairline:"",type:"danger",text:t.$t("hairlineButton")}})],1),a("demo-block",{attrs:{title:t.$t("disabled")}},[a("van-button",{attrs:{disabled:"",type:"primary",text:t.$t("disabled")}}),a("van-button",{attrs:{disabled:"",type:"danger",text:t.$t("disabled")}})],1),a("demo-block",{attrs:{title:t.$t("loadingStatus")}},[a("van-button",{attrs:{loading:"",type:"primary"}}),a("van-button",{attrs:{loading:"","loading-text":t.$t("loadingText"),type:"danger"}})],1),a("demo-block",{attrs:{title:t.$t("shape")}},[a("van-button",{attrs:{type:"primary",square:"",text:t.$t("square")}}),a("van-button",{attrs:{type:"danger",round:"",text:t.$t("round")}})],1),a("demo-block",{attrs:{title:t.$t("size")}},[a("van-button",{attrs:{size:"large"}},[t._v(t._s(t.$t("large")))]),a("van-button",{attrs:{size:"normal"}},[t._v(t._s(t.$t("normal")))]),a("van-button",{attrs:{size:"small"}},[t._v(t._s(t.$t("small")))]),a("van-button",{attrs:{size:"mini"}},[t._v(t._s(t.$t("mini")))])],1)],1)},[],!1,null,null,null);n.default=o.exports},48:function(t,n,a){var e=a(96);"string"==typeof e&&(e=[[t.i,e,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a(13)(e,i);e.locals&&(t.exports=e.locals)},95:function(t,n,a){"use strict";var e=a(48);a.n(e).a},96:function(t,n,a){(t.exports=a(12)(!1)).push([t.i,".demo-button .van-button {\n -webkit-user-select: none;\n user-select: none;\n}\n.demo-button .van-button--large {\n margin-bottom: 15px;\n}\n.demo-button .van-button--small,\n.demo-button .van-button--normal:not(:last-child) {\n margin-right: 10px;\n}\n.demo-button .van-doc-demo-block {\n padding: 0 15px;\n}\n.demo-button .van-doc-demo-block__title {\n padding-left: 0;\n}\n.demo-button-row {\n margin-bottom: 10px;\n}\n",""])}}]); |