<template>
  <div class="pop">
    <img class="icon" src="/img/share/icon8.png" alt="极度证券">
    <div class="title">
      {{ amount }} USD {{ $t('share.l14') }}
      <!-- 已经存入您的美元钱包账户 -->
    </div>
    <!-- <div class="tip">领取后将放入<span class="span">卡券中心</span>，请前往查看</div> -->
    <div class="btn-box">
      <div class="btn" @click="cancel">
        <!-- 确定 -->
        {{$t('common.l50')}}
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: ['amount'],
  data () {
    return {
      
    }
  },
  methods: {
    cancel() {
      this.$emit('cancel')
    }
  }
}
</script>
<style lang="less" scoped>
.pop {
  line-height: 1;
  padding: 12px 12px 24px;
  text-align: center;
  .icon {
    display: block;
    width: 110px;
    margin: 0 auto 1px;
  }
  .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -1px;
  }
  .tip {
    color: #A6A6A6;
    margin-bottom: 26px;
    .span {
      color: #000000;
    }
  }
}
.btn-box {
  padding: 0 9px;
  .btn {
    cursor: pointer;
    background-color: var(--color-);
    border-radius: 6px;
    line-height: 40px;
    font-size: 15px;
    font-weight: 600;
    color: #FEFFFF;
  }
}
</style>