<template>
  <div>
    <el-form-item :label="i18nt('显示下划线')">
      <el-switch v-model="optionModel.underline"></el-switch>
    </el-form-item>
    <el-form-item :label="i18nt('表单值显示')" v-if="selectedWidget.type!=='a-link2'">
      <el-switch v-model="optionModel.isFormLabel"></el-switch>
    </el-form-item>
<!--    <el-form-item :label="i18nt('颜色')">
      <el-select v-model="optionModel.colorClass" clearable>
        <el-option value="f-red" label="橙"></el-option>
        <el-option value="f-dred" label="红"></el-option>
        <el-option value="f-green" label="绿"></el-option>
        <el-option value="f-blue" label="蓝"></el-option>
      </el-select>
    </el-form-item>-->
    <el-form-item :label="i18nt('超链接')">
      <el-input type="text" v-model="optionModel.href"></el-input>
    </el-form-item>
  </div>
</template>

<script>
  import i18n from "../../../../../components/xform/utils/i18n"

  export default {
    name: "a-link-editor",
    mixins: [i18n],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
  }
</script>

<style scoped>

</style>
