<template>
  <div class="dec-modify-content dec-set-tel">
    <div class="dec-flex-list side" style="margin-bottom: 5px">
      <span class="d-left big">文本</span>
    </div>
    <a-input style="width: 100%" v-model="arg.title" placeholder="请输入标题" />
    <div class="dec-flex-list side" style="margin-bottom: 5px">
      <span class="d-left big">电话</span>
    </div>
    <a-input
      style="width: 100%"
      v-model="arg.tel"
      placeholder="请输入电话号码"
    />
    <span class="d-error" v-if="!arg.tel">请填写联系电话</span>
  </div>
</template>

<script>
export default {
  props: ["tab", "checked"],
  data() {
    return {
      arg: null,
    };
  },
  created() {
    this.arg = this.tab.arg;
  },
};
</script>
