text: (window.webpackJsonp=window.webpackJsonp||[]).push([[159],{234:function(e,l,t){var a=t(301);"string"==typeof a&&(a=[[e.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};t(11)(a,s);a.locals&&(e.exports=a.locals)},300:function(e,l,t){"use strict";var a=t(234);t.n(a).a},301:function(e,l,t){(e.exports=t(10)(!1)).push([e.i,"\n.demo-field {\n  padding-bottom: 30px;\n}\n.demo-field .van-field__icon {\n    color: #38f;\n}\n",""])},396:function(e,l,t){"use strict";t.r(l);var a={i18n:{"zh-CN":{title2:"自定义类型",title3:"禁用输入框",title4:"错误提示",title5:"高度自适应",title6:"插入按钮",message:"留言",phone:"手机号",sms:"短信验证码",sendSMS:"发送验证码",smsPlaceholder:"请输入短信验证码",phonePlaceholder:"请输入手机号",messagePlaceholder:"请输入留言",inputDisabled:"输入框已禁用",phoneError:"手机号格式错误"},"en-US":{title2:"Custom type",title3:"Disabled",title4:"Error info",title5:"Auto resize",title6:"Insert button",message:"Message",phone:"Phone",sms:"SMS",sendSMS:"Send SMS",smsPlaceholder:"SMS",phonePlaceholder:"Phone",messagePlaceholder:"Message",inputDisabled:"Disabled",phoneError:"Invalid phone"}},data:function(){return{sms:"",value:"",password:"",username:"",username2:"",message:"",phone:"1365577"}}},s=(t(300),t(0)),o=Object(s.a)(a,function(){var e=this,l=e.$createElement,t=e._self._c||l;return t("demo-section",[t("demo-block",{attrs:{title:e.$t("basicUsage")}},[t("van-cell-group",[t("van-field",{attrs:{placeholder:e.$t("usernamePlaceholder")},model:{value:e.value,callback:function(l){e.value=l},expression:"value"}})],1)],1),t("demo-block",{attrs:{title:e.$t("title2")}},[t("van-cell-group",[t("van-field",{attrs:{label:e.$t("username"),placeholder:e.$t("usernamePlaceholder"),clearable:"",icon:"question",required:""},on:{"click-icon":function(l){e.$toast("question")}},model:{value:e.username,callback:function(l){e.username=l},expression:"username"}}),t("van-field",{attrs:{type:"password",label:e.$t("password"),placeholder:e.$t("passwordPlaceholder"),required:""},model:{value:e.password,callback:function(l){e.password=l},expression:"password"}})],1)],1),t("demo-block",{attrs:{title:e.$t("title3")}},[t("van-cell-group",[t("van-field",{attrs:{value:e.$t("inputDisabled"),label:e.$t("username"),"left-icon":"contact",disabled:""}})],1)],1),t("demo-block",{attrs:{title:e.$t("title4")}},[t("van-cell-group",[t("van-field",{attrs:{label:e.$t("username"),placeholder:e.$t("usernamePlaceholder"),error:""},model:{value:e.username2,callback:function(l){e.username2=l},expression:"username2"}}),t("van-field",{attrs:{label:e.$t("phone"),placeholder:e.$t("phonePlaceholder"),"error-message":e.$t("phoneError")},model:{value:e.phone,callback:function(l){e.phone=l},expression:"phone"}})],1)],1),t("demo-block",{attrs:{title:e.$t("title5")}},[t("van-cell-group",[t("van-field",{attrs:{label:e.$t("message"),type:"textarea",placeholder:e.$t("messagePlaceholder"),rows:"1",autosize:""},model:{value:e.message,callback:function(l){e.message=l},expression:"message"}})],1)],1),t("demo-block",{attrs:{title:e.$t("title6")}},[t("van-cell-group",[t("van-field",{attrs:{center:"",clearable:"",label:e.$t("sms"),placeholder:e.$t("smsPlaceholder")},model:{value:e.sms,callback:function(l){e.sms=l},expression:"sms"}},[t("van-button",{attrs:{slot:"button",size:"small",type:"primary"},slot:"button"},[e._v(e._s(e.$t("sendSMS")))])],1)],1)],1)],1)},[],!1,null,null,null);o.options.__file="index.vue";l.default=o.exports}}]);