0.1.9 • Published 2 years ago

vant-weekly-select v0.1.9

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

vant-weekly-select

此组件是基于vue2+vant2开发的

安装依赖

npm install vant-weekly-select
npm install lodash -D  //使用到的相关依赖

App.vue中引入组件

//引入组件
import Vue from 'vue'
import vantWeeklySelect from 'vant-weekly-select'
import 'vant-weekly-select/lib/vant-weekly-select.css'
Vue.use(vantWeeklySelect)

mian.js中引入依赖

import Vue from 'vue'
import App from './App.vue'
import _ from 'lodash'
Vue.prototype._ = _;

template中使用

<template>
	<div id="app">
		<vant-weekly-select label="周期:" v-model="week"></vant-weekly-select>
	</div>
</template>

属性

参数说明类型默认值
label标题string-
placeholder输入框占位提示文字string-
disabled是否禁用booleanfalse
labelwidth标题的长度number | string60
borderColor边框颜色string#6992dd

效果图

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago