ViewSubTitle.vue
689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<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;
line-height: 20px;
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>