11 lines
2.4 KiB
JavaScript
11 lines
2.4 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["tuniao-ui/components/tn-steps/tn-steps"],{"2bef":function(t,n,e){},"683f":function(t,n,e){"use strict";var r=e("2bef"),c=e.n(r);c.a},"6ca8":function(t,n,e){"use strict";e.r(n);var r=e("d485"),c=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=c.a},"9c5f":function(t,n,e){"use strict";e.r(n);var r=e("d05f"),c=e("6ca8");for(var o in c)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return c[t]}))}(o);e("683f");var i=e("f0c5"),u=Object(i["a"])(c["default"],r["b"],r["c"],!1,null,"fe2fe0d0",null,!1,r["a"],void 0);n["default"]=u.exports},d05f:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.list.length),r=t.__map(t.list,(function(n,e){var r=t.__get_orig(n),c="icon"===t.mode?t.iconModeClass(e):null,o="dotIcon"!==t.mode||t.currentIndex<=e?null:t.iconModeClass(e);return{$orig:r,m0:c,m1:o}}));t.$mp.data=Object.assign({},{$root:{g0:e,l0:r}})},c=[]},d485:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"tn-steps",props:{mode:{type:String,default:"dot"},direction:{type:String,default:"row"},list:{type:Array,default:function(){return[]}},current:{type:Number,default:0},activeColor:{type:String,default:"#01BEFF"},inActiveColor:{type:String,default:"#AAAAAA"},icon:{type:String,default:"success"},showTitle:{type:Boolean,default:!0}},computed:{iconModeClass:function(){var t=this;return function(n){var e=t.list[n];return t.currentIndex>n&&e.hasOwnProperty("selectIcon")?"tn-icon-".concat(e.selectIcon):"tn-icon-".concat(e.icon||t.icon)}}},data:function(){return{currentIndex:0}},watch:{current:{handler:function(t){this.currentIndex=t},immediate:!0}},methods:{clickStepItem:function(t){var n=t+1;this.currentIndex=n,this.$emit("click",{index:n})}}};n.default=r}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'tuniao-ui/components/tn-steps/tn-steps-create-component',
|
|
{
|
|
'tuniao-ui/components/tn-steps/tn-steps-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("9c5f"))
|
|
})
|
|
},
|
|
[['tuniao-ui/components/tn-steps/tn-steps-create-component']]
|
|
]);
|