mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-14 10:00:58 +08:00

* docs: modify layout style * docs: modify nav padding * docs: update style * feat: update * docs: upadte * docs: update * docs: modify layout style * docs: update style * feat: update * docs: upadte * docs: update * docs: update * docs: update * docs: remove empty script * docs: update --------- Co-authored-by: kooriookami <bingshuanglingluo@163.com> Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
28 lines
460 B
Vue
28 lines
460 B
Vue
<template>
|
|
<div class="slider-demo-block">
|
|
<el-slider v-model="value" show-input size="large" />
|
|
<el-slider v-model="value" show-input />
|
|
<el-slider v-model="value" show-input size="small" />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const value = ref(0)
|
|
</script>
|
|
|
|
<style scoped>
|
|
.slider-demo-block {
|
|
max-width: 600px;
|
|
}
|
|
|
|
.el-slider {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.el-slider:first-child {
|
|
margin-top: 0;
|
|
}
|
|
</style>
|