208 lines
4.0 KiB
Vue
208 lines
4.0 KiB
Vue
<template>
|
|
<div>
|
|
{{ corpInfoId }}
|
|
{{ area }}
|
|
{{ gangkou }}
|
|
<menjin2 v-if="corpInfoId" :corp-info-id="corpInfoId" :area="area" :gangkou="gangkou"/>
|
|
<menjin v-else :corp-info-id="corpInfoId" :area="area" :gangkou="gangkou"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import menjin from './menjin'
|
|
import menjin2 from './menjin2'
|
|
export default {
|
|
components: {
|
|
menjin,
|
|
menjin2
|
|
},
|
|
props: {
|
|
corpInfoId: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
area: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
gangkou: {
|
|
type: String,
|
|
default: ''
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.menjin {
|
|
.title {
|
|
background-image: url("../../../assets/map/menjin/title_on.png");
|
|
background-size: 100% 100%;
|
|
background-repeat: no-repeat;
|
|
width: 113px;
|
|
height: 26px;
|
|
font-size: 14px;
|
|
line-height: 26px;
|
|
text-align: center;
|
|
color: #fff;
|
|
|
|
&.active {
|
|
background-image: url("../../../assets/map/menjin/title.png");
|
|
}
|
|
}
|
|
|
|
.block1 {
|
|
width: 410px;
|
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
|
|
|
|
.options {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 10px 15px;
|
|
border: 1px solid;
|
|
border-image: linear-gradient(to bottom, rgba(58, 122, 149, 0), rgba(58, 122, 149, 1)) 1;
|
|
border-top: none;
|
|
|
|
.option {
|
|
display: flex;
|
|
align-items: center;
|
|
.img{
|
|
width: 81px;
|
|
height: 93px;
|
|
img{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
.info{
|
|
margin-left: 10px;
|
|
font-size: 14px;
|
|
color: #fff;
|
|
div{
|
|
margin-top: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.block2 {
|
|
width: 410px;
|
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
|
|
margin-top: 10px;
|
|
|
|
.options {
|
|
padding: 10px 15px;
|
|
border: 1px solid;
|
|
border-image: linear-gradient(to bottom, rgba(58, 122, 149, 0), rgba(58, 122, 149, 1)) 1;
|
|
border-top: none;
|
|
#main1{
|
|
width: 100%;
|
|
height: 300px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.block3 {
|
|
margin-top: 10px;
|
|
width: 410px;
|
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
|
|
|
|
.content {
|
|
border: 1px solid;
|
|
border-image: linear-gradient(to bottom, rgba(58, 122, 149, 0), rgba(58, 122, 149, 1)) 1;
|
|
border-top: none;
|
|
padding: 10px;
|
|
|
|
.options {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
|
|
.title {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.table {
|
|
margin-top: 5px;
|
|
.scroll {
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
border-radius: 5px;
|
|
background: rgba(2, 30, 81, 0.851);
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
border-radius: 5px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.tr {
|
|
&:nth-child(odd) {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
}
|
|
.tr {
|
|
display: flex;
|
|
|
|
&:nth-child(odd) {
|
|
background-color: rgba(42, 86, 158, 0.53);
|
|
}
|
|
|
|
.td {
|
|
flex: 1;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #fff;
|
|
padding: 5px;
|
|
|
|
&:nth-child(2) {
|
|
flex-basis: 20%;
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
flex: none;
|
|
flex-basis: 50px;
|
|
}
|
|
|
|
&.green {
|
|
color: #7ccf41;
|
|
}
|
|
|
|
&.yellow {
|
|
color: #ffcb05;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes scale {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(0.8);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.line1 {
|
|
width: 150px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
</style>
|