gmjng-gw-new/src/components/footerComp.vue

276 lines
5.2 KiB
Vue
Raw Normal View History

2024-08-14 09:27:29 +08:00
<template>
2024-08-20 17:14:24 +08:00
<!-- 底部 -->
2024-08-14 09:27:29 +08:00
<footer>
<div class="bottom-imgs">
2024-08-20 17:14:24 +08:00
<img class="footer-logo" :src="require('@/assets/imgs/logo.png')"/>
2024-08-14 09:27:29 +08:00
</div>
<a href="https://beian.miit.gov.cn "><img class="sheld" :src="require('@/assets/imgs/图层 105.png')" alt="" /></a>
2024-08-20 17:14:24 +08:00
<div class="middle-msgs" v-if="$i18n.locale=='zh'">
2024-08-14 09:27:29 +08:00
<div>
<span>版权所有连云港市革命纪念馆</span>
<span>
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32070602010094">
<img :src="require('@/assets/imgs/苏公网安备.png')" alt="">
<span>苏公网安备 32070602010094</span>
</a>
</span>
</div>
<div>
<span>地址连云港市海州区朝阳东路70号</span>
<span>联系电话0518-85820610</span>
</div>
<div>
<span>
<a href="http://www.jsxinyuansu.com/">
<span>技术支持新元素数字科技有限公司</span>
</a>
</span>
<span>苏ICP备2023013855号</span>
</div>
</div>
2024-08-20 17:14:24 +08:00
<div class="middle-msgs" v-else>
<img class="footer-img" v-if="$i18n.locale=='en'" src="@/assets/imgs/enFooter.png" alt="">
<img class="footer-img" v-if="$i18n.locale=='ko'" src="@/assets/imgs/krFooter.png" alt="">
<img class="footer-img" v-if="$i18n.locale=='jp'" src="@/assets/imgs/jpFooter.png" alt="">
</div>
2024-08-14 09:27:29 +08:00
<div class="wxgzh-all">
<div class="wxgzh" >
<img :src="require('@/assets/imgs/wxewm.png')" alt="" />
<p>微信公众号</p>
</div>
</div>
</footer>
2024-08-20 17:14:24 +08:00
<div class="modelBtm">
<span class="msg">
<p>{{$t('main.copyright')}}</p>
<p>{{$t('main.ba')}}</p>
</span>
</div>
2024-08-14 09:27:29 +08:00
</template>
<script>
export default {
2024-08-20 17:14:24 +08:00
name: "FootPart",
2024-08-14 09:27:29 +08:00
props: {
msg: String,
},
data() {
return {
}
},
methods: {
2024-08-20 17:14:24 +08:00
// toHome() {
// if (this.lang == 'cn') {
// this.$router.push('/')
// } else {
// this.$router.push('/foreignlang')
// }
// }
2024-08-14 09:27:29 +08:00
}
};
</script>
2024-08-20 17:14:24 +08:00
<style scoped lang="scss">
2024-08-14 09:27:29 +08:00
/* 底部信息 */
footer {
/* height: 200px; */
padding: 5% 0;
box-sizing: border-box;
background-image: url("@/assets/imgs/图层 49.png");
background-size: cover;
background-repeat: no-repeat;
display: flex;
position: relative;
}
.footer-logo {
width: 25%;
position: absolute;
left: 10%;
top: 30%;
}
.sheld {
width: 50px;
height: 60px;
position: absolute;
top: 33%;
2024-08-21 18:04:44 +08:00
left: 35%;
2024-08-14 09:27:29 +08:00
}
.middle-msgs {
width: 35%;
/* height: 100px; */
margin-left: 10px;
overflow: hidden;
/* background-image: url('../imgs/cnFooter.png'); */
background-size: contain;
background-repeat: no-repeat;
position: absolute;
top: 30%;
2024-08-21 18:04:44 +08:00
left: 40%;
2024-08-14 09:27:29 +08:00
}
2024-08-20 17:14:24 +08:00
.middle-msgs .footer-img{
width: 7rem;
height: auto;
}
2024-08-14 09:27:29 +08:00
.middle-msgs div {
width: 100%;
display: flex;
justify-content: space-around;
text-align: left;
margin: 5px 0;
}
.middle-msgs div span {
width: 55%;
/* background-color: #fff; */
text-align: left;
font-size: 18px;
position: relative;
font-weight: 400;
color: #fff;
white-space: nowrap;
}
.middle-msgs div span img {
position: absolute;
top: 0;
left: -25px;
}
.wxgzh-all {
position: absolute;
top: 20%;
left: 80%;
display: flex;
}
.wxgzh {
margin: 0 5px;
}
.wxgzh img {
width: 100%;
/* height: 75%; */
display: block;
margin: 0 auto 5px;
}
.wxgzh p {
width: 100%;
height: 15px;
font-size: 20px;
font-family: Microsoft YaHei;
font-weight: 400;
color: #f7f5f5;
line-height: 18px;
text-align: center;
}
.modelBtm {
width: 100%;
height: 25%;
position: static;
bottom: 0;
display: none;
background-image: url('@/assets/imgs/底部背景.png');
}
.msg {
width: 100%;
display: flex;
flex-wrap: wrap;
padding-top: 15%;
padding-bottom: 30px;
box-sizing: border-box;
}
.msg p {
width: 100%;
display: block;
text-align: center;
margin: 5px 0;
font-size: 18px;
font-family: Microsoft YaHei;
font-weight: 400;
color: #F7F5F5;
line-height: 18px;
}
@media screen and (min-width:0px) and (max-width: 1000px) {
footer {
display: none;
}
.modelBtm {
display: block;
2024-08-20 17:14:24 +08:00
.msg{
padding: .4rem 0;
p{
font-size: .28rem;
}
}
2024-08-14 09:27:29 +08:00
}
}
@media screen and (min-width:1000px) and (max-width: 1600px) {
.sheld{
width: 35px;
height:40px;
}
.middle-msgs {
width: 45%;
/* height: 100px; */
margin-left: 10px;
overflow: hidden;
/* background-image: url('../imgs/cnFooter.png'); */
background-size: contain;
background-repeat: no-repeat;
position: absolute;
top: 20%;
2024-08-21 18:04:44 +08:00
left: 39%;
2024-08-14 09:27:29 +08:00
}
.middle-msgs div span {
width: 45%;
white-space: nowrap;
/* background-color: #fff; */
text-align: left;
font-size: 13px;
position: relative;
font-weight: 400;
color: #fff;
}
.wxgzh-all {
/* width: 25%; */
position: absolute;
top: 15%;
left:80%;
display: flex;
}
.wxgzh img {
width: 60%;
/* height: 75%; */
display: block;
margin: 0 auto;
}
.wxgzh p {
width: 100%;
height: 15px;
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: 400;
color: #f7f5f5;
line-height: 18px;
text-align: center;
}
2024-08-20 17:14:24 +08:00
}</style>