<template>
  <div class="formDiv">
    <div class="formDiv-left">
      <Label :style="{marginLeft:'5px'}">{{getLabel}}</Label>
    </div>
    <div class="formDiv-right">
      <Select v-model="model1" class="selectStyle">
      <!--<Option></Option>-->
      </Select>
    </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 : '下拉框',
            },
            text: 'input',
            styles: {height:'40px',width:'100px',margin:'10px'},
            type: 'input',
            model1:'',
            level: editSetting.level,
        };
    },
    computed:{
        getLabel(){
            return this.property.label;
        }
    },
    editSetting,
    name: editSetting.key,
    level: editSetting.level
};
</script>

<style scoped>
   .formDiv{
     display: inline-block;
     line-height: 60px;
     text-align: left;
   }
   .selectStyle{
     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>
