<template>
  <div class="pop">
    <img class="close" @click="cancel" src="/img/home/nav/close.png" alt="极度证券">
    <div class="title">您确定使用此<span class="span">100USD</span>现金券？</div>
    <div class="tip">
      使用后，100 USD将存入您的美元钱包账户
    </div>
    <div class="btn-box flex">
      <div class="btn ltn" @click="cancel">取消</div>
      <div class="btn rtn" @click="submit">确认</div>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      
    }
  },
  methods: {
    cancel() {
      this.$emit('cancel')
    },
    submit() {
      this.cancel()
    }
  }
}
</script>
<style lang="less" scoped>
.pop {
  line-height: 1;
  text-align: center;
  position: relative;
  padding: 45px 21px 30px;
}
.close {
  position: absolute;
  top: 17px;
  right: 10px;
  cursor: pointer;
  width: 15px;
}
.title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 9px;
  .span {
    color: var(--color-);
  }
}
.tip {
  font-size: 16px;
  color: #767676;
  line-height: 25px;
  padding: 0 22px;
}
.btn-box {
  margin-top: 20px;
  .btn {
    flex: 1;
    line-height: 42px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    &+.btn {
      margin-left: 12px;
    }
  }
  .ltn {
    border: 1px solid #DEDEDE;
  }
  .rtn {
    background-color: var(--color-);
    border: 1px solid var(--color-);
    color: #FEFFFF;
  }
}
</style>