<template>
  <!-- 
		* title：layout 底部备案号
  -->
  <div class="p-layout-footer g_flex_row_center g_h_72">
    <!-- <div :style="{color}" class="item g_flex_column_center g_fs_12">powered by</div>
    <div :style="{color}" class="item g_flex_row_center flex_center g_ml_4 g_mr_4">
      <img src="../assets/image/bocai.svg" alt class="img g_w_48" />｜
    </div> -->
    <div :style="{color}" class="item g_flex_column_center g_fs_12">Copyright © 2015-2023 Bocai. All Rights Reserved.｜</div>
    <div :style="{color}" class="item g_flex_column_center g_fs_12" @click="handleGoPage">豫ICP备2023001993号</div>
  </div>
</template>

<script setup>
import { ref, onMounted, defineProps } from 'vue'
const props = defineProps({
  color: {
    type: String,
    default: '#4d575e',
  },
})
const handleGoPage = () => {
  window.open('https://beian.miit.gov.cn/#/Integrated/index', '_blank')
}
</script>

<style lang="less">
.p-layout-footer {
  width: 100%;
  .item {
    &:nth-child(2) {
      .img {
        height: auto;
      }
    }
    &:last-child {
      cursor: pointer;
    }
  }
}
</style>