<template>
  <div class="formDiv ">
    <div class="formDiv-left">
      <Label :style="{marginLeft:'5px'}">{{getLabel}}</Label>
    </div>
    <div class="formDiv-right">
      <img src="./11.png"  style="float:left; margin-top: 13.5px;margin-bottom: 13.5px;"/>
    </div>
  </div>
</template>

<script>
import {editSetting} from './property';
export default {
    // props: {
    //     text: {
    //         type: String,
    //         default: 'Button Text'
    //     },
    //     type: String,
    //     styles: Object
    // },
    computed:{
       getLabel(){
         return this.property.label;
        }
    },

    data () {
        return {
            property:{
                label : '标签',
            },
            text: 'input',
            type: 'input',
            level: editSetting.level
        };
    },
    editSetting,
    name: editSetting.key,
    level: editSetting.level
};
</script>

<style scoped>
  .formDiv{
    display:block;
    line-height: 60px;
    text-align: left;
  }
  .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;
    position: relative;
    float: right;
    text-align: center;
    line-height: 60px;
  }
</style>
