ViewSubTitle.vue 668 Bytes
<template>
  <div class="sub-title flex user-select box">
    <img src="@/assets/images/title.svg" class="logo">
    <div class="text">{{title}}</div>
  </div>
</template>

<script type='text/ecmascript-6'>
export default {
  name: 'ViewSubTitle',
  props: ['title'],
  data () {
    return {
    }
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style scoped lang='scss'>
.sub-title {
  // height: 24px;
  height: 2.9vh;
  font-size: 14px;
  margin-bottom: .5vh;
  .logo{
    width: 14px;
    margin: 0 4px 0 6px;
  }
  .text {
    color: transparent;
    background: linear-gradient(left, #ff6800, #f5aa01);
    -webkit-background-clip: text;

  }
}
</style>