vue-ui-wl
Version:
vue component
2 lines • 2.67 kB
JavaScript
webpackJsonp([4],{107:function(t,e){},110:function(t,e){},121:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{steps:{type:Object,default:function(){return{}}}}}},135:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s(38),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default={components:{Stepbar:a.default},data:function(){return{steps:{stepto:1,content:[{text:["申请退款","2017-01-11 10:25:13"]},{text:["审核通过","2017-01-12 10:25:13"]},{text:["退款成功",""]}]}}}}},149:function(t,e,s){t.exports=s(23)},2:function(t,e,s){s(4);var n=s(0)(s(6),s(3),"data-v-12f6e127",null);t.exports=n.exports},23:function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var a=s(1),r=n(a),u=s(52),o=n(u),c=s(5),i=n(c);r.default.config.productionTip=!1,new r.default({el:"#stepbar",router:i.default,template:"<Stepbar/>",components:{Stepbar:o.default}})},3:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},staticRenderFns:[]}},38:function(t,e,s){s(110);var n=s(0)(s(121),s(81),"data-v-dd7c2748",null);t.exports=n.exports},4:function(t,e){},5:function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(1),r=n(a),u=s(7),o=n(u),c=s(2),i=n(c);r.default.use(o.default),e.default=new o.default({routes:[{path:"/",name:"Index",component:i.default}]})},52:function(t,e,s){s(107);var n=s(0)(s(135),s(78),null,null);t.exports=n.exports},6:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={}},78:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"content"},[s("stepbar",{attrs:{steps:t.steps}})],1)},staticRenderFns:[]}},81:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"stepbar"},t._l(t.steps.content,function(e,n){return s("div",{staticClass:"stepbar-list"},[s("div",{staticClass:"stepbar-el",class:{on:n<=t.steps.stepto}},[s("div",{staticClass:"stepbar-texts"},t._l(e.text,function(e){return s("p",{staticClass:"stepbar-text"},[t._v(t._s(e))])})),t._v(" "),s("div",{staticClass:"stepbar-steps"},[s("span",{staticClass:"stepbar-line",class:{nobar:0===n}}),t._v(" "),s("span",{staticClass:"icon-step",class:{"icon-step-no":n>t.steps.stepto,"icon-step-yes":n<=t.steps.stepto}}),t._v(" "),s("span",{staticClass:"stepbar-line",class:{nobar:n>=t.steps.content.length-1}})])])])}))},staticRenderFns:[]}}},[149]);
//# sourceMappingURL=stepbar.130f1a9e7f8bed6de989.js.map