<template functional>
  <div class="copyright">
    <p class="copyright-logo" v-if="props.logo">
      <img src="../assets/logo-foot.png" alt="logo" />
    </p>
    <p>版权所有©2020 全天候保险代理股份有限公司</p>
    <p>京ICP备15059975号</p>
  </div>
</template>

<script>
export default {
  name: "Copyright",
  props: ["logo"]
};
</script>

<style lang="less" scoped>
@import "../style/var.less";
.copyright {
  margin: 16px 0;
  text-align: center;
  color: @gray-4;
  font-size: @font-size-12;
  line-height: @line-height-sm + 2;
  &-logo {
    text-align: center;
    margin-bottom: 10px;
    img {
      width: 111px;
      height: 35px;
    }
  }
}
</style>
