<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" />
      <text>{{ title }}</text>
    </view>
  </view>
</template>

<style scoped>
.container {
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.container > image {
  width: 40vw;
}
.container > view {
  position: relative;
}
.container > view > image {
  position: absolute;
  top: -10%;
  left: -7%;
  width: 75vw;
}
.container > view > text {
  color: #fff;
  font-size: 13px;
}
</style>
