first
This commit is contained in:
1
node_modules/vant/lib/steps/index.css
generated
vendored
Normal file
1
node_modules/vant/lib/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}
|
46
node_modules/vant/lib/steps/index.js
generated
vendored
Normal file
46
node_modules/vant/lib/steps/index.js
generated
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
exports.default = void 0;
|
||||
|
||||
var _utils = require("../utils");
|
||||
|
||||
var _relation = require("../mixins/relation");
|
||||
|
||||
var _createNamespace = (0, _utils.createNamespace)('steps'),
|
||||
createComponent = _createNamespace[0],
|
||||
bem = _createNamespace[1];
|
||||
|
||||
var _default = createComponent({
|
||||
mixins: [(0, _relation.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()])]);
|
||||
}
|
||||
});
|
||||
|
||||
exports.default = _default;
|
21
node_modules/vant/lib/steps/index.less
generated
vendored
Normal file
21
node_modules/vant/lib/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/lib/steps/style/index.js
generated
vendored
Normal file
2
node_modules/vant/lib/steps/style/index.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
require('../../style/base.css');
|
||||
require('../index.css');
|
2
node_modules/vant/lib/steps/style/less.js
generated
vendored
Normal file
2
node_modules/vant/lib/steps/style/less.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
require('../../style/base.less');
|
||||
require('../index.less');
|
Reference in New Issue
Block a user