2019-09-22 00:14:12 +03:00
|
|
|
<template>
|
2019-09-28 02:17:18 +03:00
|
|
|
<div>
|
2019-10-12 12:31:32 +03:00
|
|
|
<CVslider name="Exposure" v-model="value.exposure" :min="0" :max="100" @input="handleInput('exposure',value.exposure)"></CVslider>
|
|
|
|
|
<CVslider name="Brightness" v-model="value.brightness" :min="0" :max="100" @input="handleInput('brightness',value.brightness)"></CVslider>
|
|
|
|
|
<CVselect name="Orientation" v-model="value.orientation" :list="['Normal','Inverted']" @input="handleInput('orientation',value.orientation)"></CVselect>
|
2019-09-28 02:17:18 +03:00
|
|
|
</div>
|
2019-09-22 00:14:12 +03:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2019-09-28 02:17:18 +03:00
|
|
|
import CVslider from '../../components/cv-slider'
|
|
|
|
|
import CVselect from '../../components/cv-select'
|
2019-09-22 00:14:12 +03:00
|
|
|
export default {
|
|
|
|
|
name: 'Input',
|
2019-09-28 18:27:17 +03:00
|
|
|
props:['value'],
|
2019-09-28 02:17:18 +03:00
|
|
|
components:{
|
|
|
|
|
CVslider,
|
|
|
|
|
CVselect,
|
|
|
|
|
},
|
2019-09-22 00:14:12 +03:00
|
|
|
data() {
|
|
|
|
|
return {
|
2019-09-28 02:17:18 +03:00
|
|
|
t:0,
|
|
|
|
|
a:1
|
2019-09-22 00:14:12 +03:00
|
|
|
}
|
2019-09-28 02:17:18 +03:00
|
|
|
},
|
|
|
|
|
methods:{
|
2019-10-11 01:18:14 +03:00
|
|
|
|
2019-09-28 18:27:17 +03:00
|
|
|
},
|
|
|
|
|
computed:{}
|
2019-09-22 00:14:12 +03:00
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
|
|
</style>
|