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
| <template>
| <div class="screenTitle" :style="'background-image:url('+bgImg+')'">
| {{title}}
| </div>
| </template>
|
| <script>
| export default {
| props: ['title', 'bgImg'],
| data() {
| return {
|
| }
| },
| }
| </script>
|
| <style scoped>
| .screenTitle {
| color: #00feff;
| text-align: center;
| width: 100%;
| height: 52px;
| line-height: 52px;
| font-size: 26px;
| font-weight: bold;
| letter-spacing: 2px;
| background-size: auto 100%;
| background-position: 50% 0;
| background-repeat: no-repeat;
| }
| </style>
|
|