19 changed files with 303 additions and 75 deletions
|
After Width: | Height: | Size: 798 KiB |
|
After Width: | Height: | Size: 568 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
@ -0,0 +1,33 @@ |
|||
@media screen and (height: 1080px) { |
|||
.h266 { |
|||
height: $mini-card + 40px !important; |
|||
} |
|||
.h292{ |
|||
height: $small-card + 40px !important; |
|||
} |
|||
.h379{ |
|||
height: $medium-card + 40px !important; |
|||
} |
|||
.h318{ |
|||
height:$video-card + 40px !important; |
|||
} |
|||
.h232{ |
|||
height: $miniS-card + 40px !important; |
|||
} |
|||
|
|||
} |
|||
.h266{ |
|||
height: $mini-card; |
|||
} |
|||
.h292{ |
|||
height: $small-card; |
|||
} |
|||
.h379{ |
|||
height: $medium-card; |
|||
} |
|||
.h318{ |
|||
height: $video-card; |
|||
} |
|||
.h232{ |
|||
height: $miniS-card; |
|||
} |
|||
@ -0,0 +1,154 @@ |
|||
<template> |
|||
<div class="modal" v-show="ldgh"> |
|||
<section> |
|||
<div class="dialog_header"> |
|||
<div class="close-icon" @click="closeDialog"> |
|||
<img src="@/assets/images/common/dialog-colse.png" alt="" /> |
|||
</div> |
|||
<div class="title-container"> |
|||
<div class="title">{{ dialogTitle }}</div> |
|||
</div> |
|||
</div> |
|||
<div class="dialog_body"> |
|||
<div class="content"> |
|||
<img src="@/assets/images/index/ldgh.png" alt=""> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { mapGetters, mapActions } from 'vuex' |
|||
export default { |
|||
name: '', |
|||
data() { |
|||
return { |
|||
dialogTitle: '领导关怀', |
|||
|
|||
} |
|||
}, |
|||
computed: { |
|||
...mapGetters(['ldgh']) |
|||
}, |
|||
components: { |
|||
}, |
|||
watch: { |
|||
|
|||
}, |
|||
created() { |
|||
|
|||
}, |
|||
methods: { |
|||
...mapActions({ |
|||
showGlobalDialog: 'showGlobalDialog' |
|||
}), |
|||
closeDialog() { |
|||
this.showGlobalDialog('') |
|||
}, |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.modal { |
|||
width: 100%; |
|||
height: 100%; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
z-index: 150; |
|||
|
|||
>section { |
|||
display: flex; |
|||
flex-direction: column; |
|||
background: url('~@/assets/images/common/dialog-bg-big.png') no-repeat !important; |
|||
background-size: 100% 100%; |
|||
width: 1866px; |
|||
height: 716px; |
|||
overflow: hidden; |
|||
padding-bottom: 16px; |
|||
box-sizing: border-box; |
|||
|
|||
.dialog_header { |
|||
position: relative; |
|||
|
|||
.close-icon { |
|||
width: 18px; |
|||
height: 18px; |
|||
position: absolute; |
|||
top: 10px; |
|||
right: 16px; |
|||
cursor: pointer; |
|||
} |
|||
|
|||
.title-container { |
|||
align-items: center; |
|||
background: url('~@/assets/images/common/dialog-header.png') no-repeat; |
|||
background-size: 100% 118%; |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
height: 60px; |
|||
font-size: 26px; |
|||
|
|||
.title { |
|||
font-family: zaozigongfang; |
|||
letter-spacing: 2px; |
|||
|
|||
background-size: 100% 100%; |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
height: 60px; |
|||
font-size: 26px; |
|||
color: #fff; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.dialog_body { |
|||
position: relative; |
|||
overflow-y: scroll; |
|||
padding: 40px 78px 40px 80px; |
|||
box-sizing: border-box; |
|||
flex: 1; |
|||
|
|||
&::-webkit-scrollbar { |
|||
width: 3px; |
|||
} |
|||
|
|||
&::-webkit-scrollbar-track { |
|||
border-radius: 10px; |
|||
background: rgba(12, 129, 254, 0.24); |
|||
} |
|||
|
|||
&::-webkit-scrollbar-thumb { |
|||
border-radius: 10px; |
|||
background: linear-gradient(270deg, #0063fe, #0095ff); |
|||
} |
|||
|
|||
.content { |
|||
color: #fff; |
|||
width: 100%; |
|||
height: 100%; |
|||
display: flex; |
|||
} |
|||
|
|||
|
|||
} |
|||
} |
|||
|
|||
} |
|||
.m-r16{ |
|||
margin-right: 16px; |
|||
} |
|||
.m-l16{ |
|||
margin-left: 16px; |
|||
} |
|||
</style> |
|||
|
|||
Loading…
Reference in new issue