<template>
  <div class="view-box">
    <div class="icon-left">
      <img src="@/assets/icons/box-footer-left-icon.png" alt="">
    </div>
    <div class="tips-content">{{ props.tips }}</div>
    <div class="icon-right">
      <img src="@/assets/icons/box-footer-right-icon.png" alt="">
    </div>
  </div>
</template>

<script setup lang="ts" name="AiTips">
const props = defineProps({
  tips: {
    type: String,
    default: ''
  }
});
</script>

<style scoped lang="scss">
.view-box {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(231, 243, 255, 1);
  border-radius: 4px;
  background: rgba(246, 250, 255, 1);

  .icon-left {
    width: 20px;
    height: 20px;
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .tips-content {
    color: rgb(5, 95, 194);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-left: 13px;
    flex: 1;
  }

  .icon-right {
    width: 24px;
    height: 24px;
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
}
</style>