ViewSubTitle.vue 660 Bytes
<template>
  <div class="sub-title user-select">
    <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 {
  width:11.88vw;
  height: 2.93vh;
  font-size: 12px;
  margin-top: 8px;
  margin-left:-12px;
  background-image: url('../assets/images/title.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  .text {
    color: #ffffff;
    -webkit-background-clip: text;
    margin-left: 2.36vw;
    line-height: 2.93vh ;
  }
}
</style>