mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
1 line
1.6 KiB
JavaScript
1 line
1.6 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{154:function(e,t,n){"use strict";var s=n(77);n.n(s).a},155:function(e,t,n){(e.exports=n(12)(!1)).push([e.i,".demo-stepper {\n background-color: #fff;\n}\n.demo-stepper .van-stepper {\n margin-left: 15px;\n}\n",""])},189:function(e,t,n){"use strict";n.r(t);var s={i18n:{"zh-CN":{asyncChange:"异步变更"},"en-US":{asyncChange:"Async Change"}},data:function(){return{stepper1:1,stepper2:10,stepper3:null}},methods:{onChange:function(e){var t=this;this.changing||(this.changing=!0,setTimeout(function(){t.changing=!1,t.stepper2=e},500))}}},a=(n(154),n(7)),r=Object(a.a)(s,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("demo-section",[n("demo-block",{attrs:{title:e.$t("basicUsage")}},[n("van-stepper",{model:{value:e.stepper1,callback:function(t){e.stepper1=t},expression:"stepper1"}})],1),n("demo-block",{attrs:{title:e.$t("disabled")}},[n("van-stepper",{attrs:{disabled:""},model:{value:e.stepper1,callback:function(t){e.stepper1=t},expression:"stepper1"}})],1),n("demo-block",{attrs:{title:e.$t("asyncChange")}},[n("van-stepper",{attrs:{value:e.stepper2,integer:"","async-change":""},on:{change:e.onChange}})],1),n("demo-block",{attrs:{title:e.$t("advancedUsage")}},[n("van-stepper",{attrs:{integer:"",min:5,max:40,step:2,"default-value":9},model:{value:e.stepper3,callback:function(t){e.stepper3=t},expression:"stepper3"}})],1)],1)},[],!1,null,null,null);t.default=r.exports},77:function(e,t,n){var s=n(155);"string"==typeof s&&(s=[[e.i,s,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(13)(s,a);s.locals&&(e.exports=s.locals)}}]); |