<template>
  <div class="titleTemplate">
    <div class="jplvr_header">
      <div class="htClass" v-if="callFunStatus" @click="htBtn"></div>
      <div class="jplvr_title">
        <div class="jplvr_title1">
          <span v-if="!!icon"><i :class="icon"></i></span>
          <p class="jplvr_title_span">{{NavTitle}}</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "TitleTemplateCallBack",
  props: ["NavTitle", "icon", "callFunStatus"],
  methods: {
    htBtn() {
      this.$emit("callback")
    },
  }
}
</script>

<style lang="scss" scoped>
.titleTemplate {
  width: 100%;
}
</style>