<template>
  <div class="ip_box" :style="canClick?'cursor: pointer;':''">
    <img :src="IPImg" />
  </div>
</template>

<script setup>
import IPImg from "@/assets/images/IP.png";
import { defineProps } from "vue";

defineProps({
  canClick: {
    type: Boolean,
    default: () => false,
  },
});
</script>

<style scoped lang="less">
.ip_box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
  img {
    width: 80px;
    height: auto;
  }
}
</style>
