<!--  -->
<template>
  <div class="sp-box" @click="handleShowSelect">
    <span v-if="spTitle === '请选择'" style="color:#cccc">
      {{spTitle}}
    </span>
    <span v-else style="color:#606266">
      {{spTitle}}
    </span>
  </div>
</template>

<script>
export default {
  name: '',
  props: {
    spTitle: {
      type: String,
      default: '请选择'
    }
  },
  data() {
    return {
    }
  },
  methods: {
    handleShowSelect() {
      this.$emit('onShow')
    },
  }
}

</script>
<style lang='scss' scoped>
</style>