mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
440 B
440 B
Mark
<n-slider
v-model="value"
range
:marks="marks"
:step="10"
/>
<n-input-number
size="small"
v-model="value[0]"
/>
<n-input-number
size="small"
v-model="value[1]"
/>
export default {
data () {
return {
value: [50, 70],
marks: {
34: 'Amazing',
75: 'Good'
}
}
}
}
.n-slider {
margin-bottom: 8px;
}
.n-input-number {
margin: 0 12px 8px 0;
}