<template>
|
<div class="rightbox">
|
<div class="title">
|
<span>寿光宣传片</span>
|
<img src="../../../assets/img/zonlan (9).png" alt="" />
|
</div>
|
<div class="video_box"></div>
|
</div>
|
</template>
|
|
<script>
|
export default {
|
//import引入的组件需要注入到对象中才能使用
|
components: {},
|
data() {
|
//这里存放数据
|
return {};
|
},
|
//方法集合
|
methods: {},
|
created() {},
|
};
|
</script>
|
<style lang="less" scoped>
|
//@import url(); 引入公共css类
|
.rightbox {
|
overflow: hidden;
|
width: 100%;
|
height: calc(50vh - 128px);
|
// background-color: #bfa;
|
box-sizing: border-box;
|
// padding-top: 30px;
|
.title {
|
width: 100%;
|
// height: 78px;
|
// text-align: center;
|
// background: url("../../../assets/img/zonlan (9).png") no-repeat center;
|
// background-size: 100% 100%;
|
// background-position: 0 30px;
|
// line-height: 30px;
|
position: relative;
|
img {
|
width: 100%;
|
}
|
span {
|
font-size: 78px;
|
font-weight: 400;
|
color: #ffe86b;
|
background: linear-gradient(0deg, #bce7ff 0%, #69efff 98.6572265625%);
|
-webkit-background-clip: text;
|
-webkit-text-fill-color: transparent;
|
position: absolute;
|
left: 50%;
|
top: 0;
|
transform: translateX(-50%);
|
}
|
}
|
.video_box {
|
background: url("../../../assets/img/zonlan (26).png") no-repeat center;
|
background-size: 100% 100%;
|
height: 90%;
|
}
|
}
|
</style>
|