<template>
  <div>
    <i>{{ element.style.format||'游客姓名：' }}</i>张三 <span v-if="element.style.showId">（360203******3515）</span>
  </div>
</template>

<script>
export default {
  props: {
    defaultTemplate: {
      type: String,
      default: ''
    },
    element: {
      type: Object,
      default: () => {}
    }
  },
  computed: {
    elStyle () {
      return this.element.style
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
