105 lines
1.8 KiB
Vue
105 lines
1.8 KiB
Vue
|
|
|
|
<template>
|
|
<div class="container1">
|
|
<div class="tit">
|
|
<rocketTit>{{title}}</rocketTit>
|
|
<div class="datePicker">
|
|
<slot name="datePicker"></slot>
|
|
</div>
|
|
</div>
|
|
<div class="content">
|
|
<div class="snap">
|
|
<slot name="snap"></slot>
|
|
</div>
|
|
|
|
<slot />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import rocketTit from "../../../../components/rocketTit/index.vue";
|
|
|
|
export default {
|
|
name: 'container1',
|
|
components: {
|
|
rocketTit,
|
|
},
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
selected: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
},
|
|
data () {
|
|
return {
|
|
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.container1 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 537px;
|
|
height: 597px;
|
|
background-image: url(./bg.png);
|
|
background-size: cover;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
font-family: PingFangSC-Semibold, PingFang SC;
|
|
font-weight: 600;
|
|
|
|
.tit {
|
|
padding: 16px 16px 16px 24px;
|
|
position: relative;
|
|
.datePicker {
|
|
position: absolute;
|
|
right: 16px;
|
|
top: 12px;
|
|
|
|
::v-deep .el-date-editor {
|
|
border-radius: 0;
|
|
box-shadow: none !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
vertical-align: middle;
|
|
color: #fff;
|
|
background-color: transparent;
|
|
.el-range-input,
|
|
.el-range-separator {
|
|
color: #fff;
|
|
}
|
|
.el-range-editor.is-active {
|
|
border-color: #fff !important;
|
|
}
|
|
|
|
input {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
padding: 2px;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
position: relative;
|
|
.snap {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 25px;
|
|
font-weight: 300;
|
|
}
|
|
}
|
|
}
|
|
</style>
|