Newer
Older
HydrantApplet / miniprogram / miniprogram_npm / vant-weapp / progress / index.js
zhout on 4 Mar 2021 486 bytes first commit
import { VantComponent } from '../common/component';
import { BLUE } from '../common/color';
VantComponent({
    props: {
        inactive: Boolean,
        percentage: Number,
        pivotText: String,
        pivotColor: String,
        showPivot: {
            type: Boolean,
            value: true
        },
        color: {
            type: String,
            value: BLUE
        },
        textColor: {
            type: String,
            value: '#fff'
        }
    }
});