first
This commit is contained in:
1
node_modules/vant/es/steps/index.css
generated
vendored
Normal file
1
node_modules/vant/es/steps/index.css
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
.van-steps{overflow:hidden;background-color:#fff}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 32px}
|
38
node_modules/vant/es/steps/index.js
generated
vendored
Normal file
38
node_modules/vant/es/steps/index.js
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
import { createNamespace } from '../utils';
|
||||
import { ParentMixin } from '../mixins/relation';
|
||||
|
||||
var _createNamespace = createNamespace('steps'),
|
||||
createComponent = _createNamespace[0],
|
||||
bem = _createNamespace[1];
|
||||
|
||||
export default createComponent({
|
||||
mixins: [ParentMixin('vanSteps')],
|
||||
props: {
|
||||
center: Boolean,
|
||||
iconPrefix: String,
|
||||
finishIcon: String,
|
||||
activeColor: String,
|
||||
inactiveIcon: String,
|
||||
inactiveColor: String,
|
||||
active: {
|
||||
type: [Number, String],
|
||||
default: 0
|
||||
},
|
||||
direction: {
|
||||
type: String,
|
||||
default: 'horizontal'
|
||||
},
|
||||
activeIcon: {
|
||||
type: String,
|
||||
default: 'checked'
|
||||
}
|
||||
},
|
||||
render: function render() {
|
||||
var h = arguments[0];
|
||||
return h("div", {
|
||||
"class": bem([this.direction])
|
||||
}, [h("div", {
|
||||
"class": bem('items')
|
||||
}, [this.slots()])]);
|
||||
}
|
||||
});
|
21
node_modules/vant/es/steps/index.less
generated
vendored
Normal file
21
node_modules/vant/es/steps/index.less
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-steps {
|
||||
overflow: hidden;
|
||||
background-color: @steps-background-color;
|
||||
|
||||
&--horizontal {
|
||||
padding: 10px 10px 0;
|
||||
|
||||
.van-steps__items {
|
||||
position: relative;
|
||||
display: flex;
|
||||
margin: 0 0 10px;
|
||||
padding-bottom: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
&--vertical {
|
||||
padding: 0 0 0 @padding-xl;
|
||||
}
|
||||
}
|
2
node_modules/vant/es/steps/style/index.js
generated
vendored
Normal file
2
node_modules/vant/es/steps/style/index.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import '../../style/base.css';
|
||||
import '../index.css';
|
2
node_modules/vant/es/steps/style/less.js
generated
vendored
Normal file
2
node_modules/vant/es/steps/style/less.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import '../../style/base.less';
|
||||
import '../index.less';
|
Reference in New Issue
Block a user