<template>
    <div class="params-item">
        <div class="params-label">偏航角度</div>
        <div class="params-value">
            <a-slider v-model:value="props.params.aircraftHeading" :min="-180" :max="180" :step="0.01" />
        </div>
        <div class="params-value-text">
          {{ props.params.aircraftHeading }} °
        </div>
    </div>
</template>

<script lang="ts" setup>

import {defineProps,defineComponent,defineOptions} from 'vue';

const props = defineProps(["params"])


defineComponent({
  name: 'rotateYaw'
})


</script>

<style scoped>
.params-item{
  width:100%;
  display: flex;
  gap:20px;
}
.params-item .params-label{ 
    line-height:30px;
}



.params-item .params-value{
  flex:1;
}

.params-item .params-value-text{
  line-height:30px;
}

::v-deep .ant-input-number{
  color:#fff!important;
  background:#3F4150!important;
  border:0px !important;
}

::v-deep .ant-input-number-input{
  color:#fff!important;
  border:0px !important;
}

</style>