init2
This commit is contained in:
52
src/views/bigScreen/components/rocketTit/index.vue
Normal file
52
src/views/bigScreen/components/rocketTit/index.vue
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
|
||||
<template>
|
||||
<div class="rocketTit">
|
||||
<img class="rocket" src="./rocket.png" alt="">
|
||||
<span><slot /></span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'RocketTit',
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
selected: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.rocket {
|
||||
width: 17.5px;
|
||||
height: 17.5px;
|
||||
margin-right: 10px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.rocketTit {
|
||||
font-size: 16px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #FFFFFF;
|
||||
line-height: 22px;
|
||||
vertical-align: middle;
|
||||
span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
BIN
src/views/bigScreen/components/rocketTit/rocket.png
Normal file
BIN
src/views/bigScreen/components/rocketTit/rocket.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user