<template>
  <div class="reward-info">
    <div class="tip">
      感谢
      <em>{{ info.userNick }}</em>
      打赏的
      <em>{{ info.money }}</em>
      元红包
    </div>
  </div>
</template>

<script>
export default {
  name: 'chat-reward-cash',
  props: {
    info: {}
  }
};
</script>

<style lang="less" scoped>
.reward-info {
  text-align: center;
  .tip {
    display: inline-block;
    max-width: 90%;
    line-height: 0.2rem;
    padding: 0.05rem 0.1rem;
    border-radius: 0.05rem;
    font-size: 0.14rem;
    color: #fff;
    background: #edcb91;
    text-align: center;
    em {
      color: #d84e43;
    }
  }
}
</style>
