mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
b33fed911b
* feat: slider add size * feat: update * feat: update * feat: update
22 lines
397 B
Vue
22 lines
397 B
Vue
<template>
|
|
<el-slider v-model="value" show-input size="large"></el-slider>
|
|
<el-slider v-model="value" show-input></el-slider>
|
|
<el-slider v-model="value" show-input size="small"></el-slider>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const value = ref(0)
|
|
</script>
|
|
|
|
<style scoped>
|
|
.el-slider {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.el-slider:first-child {
|
|
margin-top: 0;
|
|
}
|
|
</style>
|