zzc-design-mobile
Advanced tools
Comparing version 1.4.11 to 1.4.12
@@ -160,9 +160,6 @@ 'use strict'; | ||
value: function removeActiveItem() { | ||
var _props2 = this.props, | ||
prefixCls = _props2.prefixCls, | ||
data = _props2.data; | ||
var prefixCls = this.props.prefixCls; | ||
if (this.wheelScroll.children[this.currIndex]) { | ||
var liCls = data[this.currIndex] && data[this.currIndex].className ? data[this.currIndex].className : ''; | ||
this.wheelScroll.children[this.currIndex].className = prefixCls + '-wi ' + liCls; | ||
this.wheelScroll.children[this.currIndex].className = this.wheelScroll.children[this.currIndex].className.replace(' ' + prefixCls + '-wi-active', ''); | ||
} | ||
@@ -183,5 +180,5 @@ } | ||
value: function renderItem() { | ||
var _props3 = this.props, | ||
prefixCls = _props3.prefixCls, | ||
data = _props3.data; | ||
var _props2 = this.props, | ||
prefixCls = _props2.prefixCls, | ||
data = _props2.data; | ||
@@ -204,6 +201,6 @@ var liCls = (0, _classnames2.default)(data.itemClassName, prefixCls + '-wi'); | ||
var _props4 = this.props, | ||
prefixCls = _props4.prefixCls, | ||
data = _props4.data, | ||
wrapperKey = _props4.wrapperKey; | ||
var _props3 = this.props, | ||
prefixCls = _props3.prefixCls, | ||
data = _props3.data, | ||
wrapperKey = _props3.wrapperKey; | ||
@@ -210,0 +207,0 @@ var ulCls = (0, _classnames2.default)(data.className, prefixCls + '-ws'); |
{ | ||
"name": "zzc-design-mobile", | ||
"name_cn": "租租车主流程UI规范", | ||
"version": "1.4.11", | ||
"version": "1.4.12", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "./lib/index.js", |
426085
10807