iasf页脚背景

master
yujialong 1 year ago
parent 0e16816fab
commit 1826aa3ce5
  1. 29
      src/layouts/footer/index.vue

@ -2,6 +2,8 @@
<div> <div>
<div v-if="showDefaultPath.includes($route.path)" <div v-if="showDefaultPath.includes($route.path)"
:class="['footer', {iasf: isIasf}]"> :class="['footer', {iasf: isIasf}]">
<template v-if="isIasf">
<div class="mask"></div>
<ul v-if="isIasf" <ul v-if="isIasf"
class="entry"> class="entry">
<li :class="{'cursor-pointer': isLink(modules[13].form.link.linkName)}" <li :class="{'cursor-pointer': isLink(modules[13].form.link.linkName)}"
@ -40,7 +42,8 @@
<p class="text">{{ modules[18].form.title }}</p> <p class="text">{{ modules[18].form.title }}</p>
</li> </li>
</ul> </ul>
</template>
<div class="relative">
<div class="info"> <div class="info">
<div class="leftBox"> <div class="leftBox">
<img class="m-b-20" <img class="m-b-20"
@ -64,6 +67,7 @@
</div> </div>
<a class="copyright">粤ICP备2020131940号 粤公安网34565432456765432号</a> <a class="copyright">粤ICP备2020131940号 粤公安网34565432456765432号</a>
</div> </div>
</div>
<div v-if="showContactPath.includes($route.path)" <div v-if="showContactPath.includes($route.path)"
class="contact"> class="contact">
@ -247,13 +251,11 @@ export default {
margin-right: 100px; margin-right: 100px;
} }
.footer { .footer {
position: relative;
padding: 64px 20% 25px; padding: 64px 20% 25px;
color: #fff; color: #fff;
background-color: #091733; background-color: #091733;
overflow: hidden; overflow: hidden;
&.iasf {
padding-top: 50px;
}
.info { .info {
display: flex; display: flex;
} }
@ -283,8 +285,27 @@ export default {
font-size: 14px; font-size: 14px;
color: #6d7384; color: #6d7384;
} }
&.iasf {
padding-top: 50px;
background: url(http://10.10.11.7/images/iasf/footer.jpg) 0 -400px/100% auto no-repeat;
background-color: #091733;
.children {
li {
color: #fff;
}
}
.mask {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.6);
}
}
} }
.entry { .entry {
position: relative;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 100px; margin-bottom: 100px;

Loading…
Cancel
Save