Comparing version 0.5.3 to 0.5.4
@@ -335,3 +335,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
plusKeyByOne: function plusKeyByOne(key) { | ||
var oldVal = context[key]; | ||
var oldVal = +context[key]; | ||
context[key] = oldVal + 1; | ||
@@ -688,3 +688,3 @@ | ||
*/ | ||
open: function open(options) { | ||
open: function open() { | ||
if (this.opened) return; | ||
@@ -696,4 +696,3 @@ | ||
var props = (0, _merge2.default)({}, this, options); | ||
var zIndex = props.zIndex; | ||
var zIndex = this.zIndex; | ||
@@ -700,0 +699,0 @@ // 如果属性中传入了`zIndex`,则覆盖`popupContext`中对应的`zIndex` |
@@ -193,2 +193,4 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
// | ||
// | ||
// | ||
@@ -276,5 +278,5 @@ exports.default = { | ||
} | ||
})])], 2) : _vm._e(), (_vm.isLink) ? _c('i', { | ||
staticClass: "van-icon van-icon-arrow" | ||
}) : _vm._e()]) | ||
})])], 2) : _vm._e(), _vm._t("right-icon", [(_vm.isLink) ? _c('i', { | ||
staticClass: "van-cell__right-icon van-icon van-icon-arrow" | ||
}) : _vm._e()])], 2) | ||
},staticRenderFns: []} | ||
@@ -281,0 +283,0 @@ |
@@ -424,2 +424,4 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
// | ||
// | ||
// | ||
@@ -507,5 +509,5 @@ exports.default = { | ||
} | ||
})])], 2) : _vm._e(), (_vm.isLink) ? _c('i', { | ||
staticClass: "van-icon van-icon-arrow" | ||
}) : _vm._e()]) | ||
})])], 2) : _vm._e(), _vm._t("right-icon", [(_vm.isLink) ? _c('i', { | ||
staticClass: "van-cell__right-icon van-icon van-icon-arrow" | ||
}) : _vm._e()])], 2) | ||
},staticRenderFns: []} | ||
@@ -512,0 +514,0 @@ |
@@ -364,3 +364,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
plusKeyByOne: function plusKeyByOne(key) { | ||
var oldVal = context[key]; | ||
var oldVal = +context[key]; | ||
context[key] = oldVal + 1; | ||
@@ -748,3 +748,3 @@ | ||
*/ | ||
open: function open(options) { | ||
open: function open() { | ||
if (this.opened) return; | ||
@@ -756,4 +756,3 @@ | ||
var props = (0, _merge2.default)({}, this, options); | ||
var zIndex = props.zIndex; | ||
var zIndex = this.zIndex; | ||
@@ -760,0 +759,0 @@ // 如果属性中传入了`zIndex`,则覆盖`popupContext`中对应的`zIndex` |
@@ -85,3 +85,3 @@ 'use strict'; | ||
*/ | ||
open: function open(options) { | ||
open: function open() { | ||
if (this.opened) return; | ||
@@ -93,4 +93,3 @@ | ||
var props = (0, _merge2.default)({}, this, options); | ||
var zIndex = props.zIndex; | ||
var zIndex = this.zIndex; | ||
@@ -97,0 +96,0 @@ // 如果属性中传入了`zIndex`,则覆盖`popupContext`中对应的`zIndex` |
@@ -36,3 +36,3 @@ 'use strict'; | ||
plusKeyByOne: function plusKeyByOne(key) { | ||
var oldVal = context[key]; | ||
var oldVal = +context[key]; | ||
context[key] = oldVal + 1; | ||
@@ -39,0 +39,0 @@ |
@@ -297,3 +297,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
plusKeyByOne: function plusKeyByOne(key) { | ||
var oldVal = context[key]; | ||
var oldVal = +context[key]; | ||
context[key] = oldVal + 1; | ||
@@ -419,3 +419,3 @@ | ||
*/ | ||
open: function open(options) { | ||
open: function open() { | ||
if (this.opened) return; | ||
@@ -427,4 +427,3 @@ | ||
var props = (0, _merge2.default)({}, this, options); | ||
var zIndex = props.zIndex; | ||
var zIndex = this.zIndex; | ||
@@ -431,0 +430,0 @@ // 如果属性中传入了`zIndex`,则覆盖`popupContext`中对应的`zIndex` |
@@ -250,3 +250,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
staticClass: "van-steps__status" | ||
}, [(_vm.icon || _vm.$slot.icon) ? _c('div', { | ||
}, [(_vm.icon || _vm.$slots.icon) ? _c('div', { | ||
staticClass: "van-steps__icon" | ||
@@ -253,0 +253,0 @@ }, [_vm._t("icon", [_c('van-icon', { |
@@ -200,2 +200,7 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
default: 'line' | ||
}, | ||
// 切换tab的动画时间 | ||
duration: { | ||
type: Number, | ||
default: 0.3 | ||
} | ||
@@ -233,3 +238,4 @@ }, | ||
width: offsetWidth, | ||
transform: 'translate3d(' + offsetLeft + ', 0px, 0px)' | ||
transform: 'translate3d(' + offsetLeft + ', 0px, 0px)', | ||
transitionDuration: this.duration + 's' | ||
}; | ||
@@ -236,0 +242,0 @@ } |
@@ -170,6 +170,13 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var ALLOW_TYPE = ['danger', 'success', 'primary']; | ||
exports.default = { | ||
name: 'van-tag', | ||
props: { | ||
type: String, | ||
type: { | ||
type: String, | ||
validator: function validator(val) { | ||
return ~ALLOW_TYPE.indexOf(val); | ||
} | ||
}, | ||
mark: Boolean, | ||
@@ -176,0 +183,0 @@ plain: Boolean |
{ | ||
"name": "vant", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "有赞vue wap组件库", | ||
@@ -107,2 +107,3 @@ "main": "lib/vant.js", | ||
"postcss": "^5.1.2", | ||
"postcss-css-reset": "^1.0.2", | ||
"postcss-easy-import": "^2.0.0", | ||
@@ -109,0 +110,0 @@ "postcss-loader": "^1.3.3", |
{ | ||
"name": "vant-css", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "vant css.", | ||
@@ -17,8 +17,12 @@ "main": "lib/index.css", | ||
"devDependencies": { | ||
"autoprefixer": "^6.7.5", | ||
"gulp": "^3.9.1", | ||
"gulp-cssmin": "^0.1.7", | ||
"gulp-postcss": "^6.1.1", | ||
"postcss-salad": "^1.0.5" | ||
"postcss-css-reset": "^1.0.2", | ||
"postcss-easy-import": "^2.0.0", | ||
"precss": "^1.4.0", | ||
"saladcss-bem": "^0.0.1" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -84,3 +84,3 @@ import Button from '../packages/button/index.js'; | ||
install, | ||
version: '0.5.3', | ||
version: '0.5.4', | ||
Button, | ||
@@ -87,0 +87,0 @@ Switch, |
@@ -69,3 +69,3 @@ import merge from 'src/utils/merge'; | ||
*/ | ||
open(options) { | ||
open() { | ||
if (this.opened) return; | ||
@@ -77,4 +77,3 @@ | ||
const props = merge({}, this, options); | ||
const zIndex = props.zIndex; | ||
const zIndex = this.zIndex; | ||
@@ -81,0 +80,0 @@ // 如果属性中传入了`zIndex`,则覆盖`popupContext`中对应的`zIndex` |
@@ -28,3 +28,3 @@ import merge from 'src/utils/merge'; | ||
plusKeyByOne(key) { | ||
const oldVal = context[key]; | ||
const oldVal = +context[key]; | ||
context[key] = oldVal + 1; | ||
@@ -31,0 +31,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1285507
320
28974
86