Files
ClassContent/历届学生/front-end-team/项目练习/上课项目/在包河vue/src/components/headers.vue
2024-09-27 02:06:13 +08:00

53 lines
976 B
Vue

<template>
<div class="headers">
<div class="headers_item">
<img src="../../static/img/zbh_h5_img_logo.png" alt="" />
<div class="open">打开</div>
</div>
</div>
</template>
<script>
export default {
name: "headers",
data() {
return {};
},
methods: {},
};
</script>
<style lang="less" scoped>
.headers {
.headers_item {
height: 1.333rem;
background-color: rgb(0 0 0 / 70%);
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 0.32rem;
padding-right: 0.533rem;
position: fixed;
width: 100%;
top: 0;
left: 0;
box-sizing: border-box;
z-index: 999;
img {
height: 0.867rem;
}
.open {
width: 1.44rem;
height: 0.52rem;
background-color: #d0302c;
border-radius: 0.08rem;
font-size: 0.24rem;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
}
}
}
</style>