配置代码
This commit is contained in:
36
src/views/SmartScreen/DeviceScreen/components/logo.vue
Normal file
36
src/views/SmartScreen/DeviceScreen/components/logo.vue
Normal file
@@ -0,0 +1,36 @@
|
||||
<template>
|
||||
<div class="box">
|
||||
<div class="row-box">
|
||||
<img class="logo" :src="imgUrl" />
|
||||
<span class="text">上海干巷车镜实业有限公司</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import imgUrl from '@/assets/logo/logo.png'
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.box {
|
||||
position: absolute;
|
||||
left: 1%;
|
||||
top: 10px;
|
||||
}
|
||||
.row-box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.logo {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.text {
|
||||
margin-left: 10px;
|
||||
text-align: center;
|
||||
/* line-height: 25px; */
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user