<script setup>
defineProps({
  title: {
    type: String,
    default: "",
  },
});
</script>

<template>
  <view class="container">
    <image src="../static/shooter.png" mode="widthFix" />
    <view>
      <image src="../static/long-bubble.png" mode="widthFix" />
      <slot />
    </view>
  </view>
</template>

<style scoped>
.container {
  display: flex;
  align-items: center;
  padding: 0 15px;
  width: 100vw;
}
.container > image {
  width: 20%;
}
.container > view {
  position: relative;
  width: 80%;
  padding-right: 22px;
  min-height: 55px;
}
.container > view > image {
  position: absolute;
  top: -14%;
  left: -7%;
  width: 100%;
}
.container > view {
  color: #fff;
  font-size: 14px;
}
</style>
