<template>
  <div class="tip-container">
    {{ msg }}
  </div>
</template>

<script setup>
import { ref, reactive } from 'vue';
const props = defineProps({
  msg: { type: String, default: '' },
  duration: { type: Number, default: 0 }
});
</script>
<style lang="less" scoped>
.tip-container {
  width: 100vw;
  position: fixed;
  bottom: 0;
  height: 40px;
  font-size: 30px;
  background: #cecece;
  color: #3a3a3a;
  text-align: center;
  line-height: 40px;
}
</style>
