<template>
  <div class="formDiv">
    <div class="formDiv-left">
      <Label :style="{marginLeft:'5px'}">{{property.label}}</Label>
    </div>
    <div class="formDiv-right" >
      <InputNumber class="inputStyle"  :placeholder=extend.placeholder ></InputNumber>
    </div>
  </div>
</template>

<script>
import {editSetting} from './property';
export default {
    // props: {
    //     text: {
    //         type: String,
    //         default: 'Button Text'
    //     },
    //     type: String,
    //     styles: Object
    // },
    data () {
        return {
            property:{
                label : '数字输入框',
            },
            extend:{
                placeholder:""
            },
            text: 'input',
            styles: {minWidth: '100px',height:'40px',width:'100px',margin:'10px'},
            type: 'input',
            level: editSetting.level,
        };
    },
    editSetting,
    name: editSetting.key,
    level: editSetting.level
};
</script>

<style scoped>
  .formDiv{
    display:inline-block;
    line-height: 60px;
    text-align: left;
  }
  .inputStyle{
    width:50%;
  }
  .formDiv-left {
    display:inline-block;
    width: 35%;
    height:40px;
    text-align:right;
    font-size:15px;
    float: left;
    margin: 0 10px;
  }
  .formDiv-right {
    width: 60%;
    position: relative;
    display:inline-block;
    float: right;
  }
</style>
