You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
16 KiB
1 line
16 KiB
|
3 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-componentsB-steps-index"],{"03ff":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uIcon:i("b1e3").default,uLine:i("dc66").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[i("v-uni-view",{staticClass:"u-steps",style:{flexDirection:t.direction}},t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"u-steps__item",class:["u-steps__item--"+t.direction]},["number"==t.mode?i("v-uni-view",{staticClass:"u-steps__item__num",style:{backgroundColor:t.current<n?"transparent":t.activeColor,borderColor:t.current<n?t.unActiveColor:t.activeColor}},[t.current<n?i("v-uni-text",{style:{color:t.current<n?t.unActiveColor:t.activeColor}},[t._v(t._s(n+1))]):i("u-icon",{attrs:{size:"22",color:"#ffffff",name:t.icon}})],1):t._e(),"dot"==t.mode?i("v-uni-view",{staticClass:"u-steps__item__dot",style:{backgroundColor:n<=t.current?t.activeColor:t.unActiveColor}}):t._e(),i("v-uni-text",{staticClass:"u-line-1",class:["u-steps__item__text--"+t.direction],style:{color:n<=t.current?t.activeColor:t.unActiveColor}},[t._v(t._s(e.name))]),n<t.list.length-1?i("v-uni-view",{staticClass:"u-steps__item__line",class:["u-steps__item__line--"+t.mode]},[i("u-line",{attrs:{direction:t.direction,length:"100%","hair-line":!1,color:t.unActiveColor}})],1):t._e()],1)})),1)],1)},o=[]},12594:function(t,e,i){var n=i("1f2f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("6ef4039c",n,!0,{sourceMap:!1,shadowMode:!1})},"1f2f":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.wrap[data-v-d823c340]{padding:%?24?%}.box[data-v-d823c340]{margin:%?50?% 0}',""]),t.exports=e},2860:function(t,e,i){"use strict";i.r(e);var n=i("34c1"),r=i("9c25");for(var o in r)"default"!==o&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("aae0");var s,u=i("f0c5"),a=Object(u["a"])(r["default"],n["b"],n["c"],!1,null,"d823c340",null,!1,n["a"],s);e["default"]=a.exports},"34c1":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uSteps:i("3604").default,uSubsection:i("e97e").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-demo"},[i("v-uni-view",{staticClass:"u-demo-wrap"},[i("v-uni-view",{staticClass:"u-demo-title"},[t._v("演示效果")]),i("v-uni-view",{staticClass:"u-demo-area"},[i("u-steps",{attrs:{direction:t.direction,current:t.current,list:t.steps,mode:t.mode,icon:t.icon}})],1)],1),i("v-uni-view",{staticClass:"u-config-wrap"},[i("v-uni-view",{staticClass:"u-config-title u-border-bottom"},[t._v("参数配置")]),i("v-uni-view",{staticClass:"u-config-item"},[i("v-uni-view",{staticClass:"u-item-title"},[t._v("模式")]),i("u-subsection",{attrs:{list:["number","dot"]},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.modeChange.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"u-config-item"},[i("v-uni-view",{staticClass:"u-item-title"},[t._v("方向")]),i("u-subsection",{attrs:{list:["横向","竖向"]},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.directionChange.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"u-config-item"},[i("v-uni-view",{staticClass:"u-item-title"},[t._v("自定义图标")]),i("u-subsection",{attrs:{list:["否","是"]},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.iconChange.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"u-config-item"},[i("v-uni-view",{staticClass:"u-item-title"},[t._v("当前步值")]),i("u-subsection",{attrs:{list:["1","2","3","4"]},on
|