hyingbo
16 小时以前 1598fac6c5769b061dd02e937fbaf969b5e1c20d
src/components/page/GlobalFooter.vue
@@ -1,7 +1,6 @@
<template>
  <div class="footer">
    <div class="copyright"
         :style="{background:$route.meta.title==='首页'?'#151548':'',color:$route.meta.title==='首页'?'#fff':''}">
    <div class="copyright">
      Copyright
      <a-icon type="copyright"/>
      2024 <span>2015-2025 灵秀智能</span>
@@ -10,33 +9,34 @@
</template>
<script>
  export default {
    name: 'LayoutFooter'
  }
export default {
  name: 'LayoutFooter'
}
</script>
<style lang="less" scoped>
  .footer {
    text-align: center;
.footer {
  text-align: center;
    .links {
      margin-bottom: 8px;
  .links {
    margin-bottom: 8px;
      a {
        color: rgba(0, 0, 0, .45);
    a {
      color: rgba(0, 0, 0, .45);
        &:hover {
          color: rgba(0, 0, 0, .65);
        }
      &:hover {
        color: rgba(0, 0, 0, .65);
      }
        &:not(:last-child) {
          margin-right: 40px;
        }
      &:not(:last-child) {
        margin-right: 40px;
      }
    }
    .copyright {
      color: rgba(0, 0, 0, .45);
      font-size: 14px;
    }
  }
  .copyright {
    color: rgba(0, 0, 0, .45);
    font-size: 14px;
  }
}
</style>