<!--
 * @description: 旋转的角度
-->

<template>
  <div>
    <el-form-item
      :label-width="labelWidth"
      label="绕x轴旋转角度"
    >
      <el-input-number
        v-model="config.rotateX"
        class="bs-el-input-number"
        :min="0"
        :max="360"
        :step="1"
      />
    </el-form-item>
    <el-form-item
      :label-width="labelWidth"
      label="绕y轴旋转角度"
    >
      <el-input-number
        v-model="config.rotateY"
        class="bs-el-input-number"
        :min="0"
        :max="360"
        :step="1"
      />
    </el-form-item> <el-form-item
      :label-width="labelWidth"
      label="绕z轴旋转角度"
    >
      <el-input-number
        v-model="config.rotateZ"
        class="bs-el-input-number"
        :min="0"
        :max="360"
        :step="1"
      />
    </el-form-item>
  </div>
</template>
<script>
export default {
  name: '',
  props: {
    config: {
      type: Object,
      default: () => ({
        rotateX: 0,
        rotateY: 0,
        rotateZ: 0
      })
    },
    labelWidth: {
      type: String,
      default: '120px'
    }
  },
  data () {
    return {

    }
  },
  mounted () {},
  methods: {

  }
}
</script>

<style lang="scss" scoped>
</style>