<template>
  <div class="pop">
    <div class="box-c">
      <img class="close" @click="cancel" src="/img/home/nav/close.png" alt="极度证券">
    </div>
    <div class="body flex">
      <img class="img" src="/img/home/nav/icon9.png" alt="极度证券">
      <div class="title">
        <!-- 温馨提示 -->
        {{ $t('common.l1') }}
      </div>
      <div class="tip">
        <!-- 是否确认删除? -->
        {{ $t('fund.l102') }}
      </div>
    </div>
    <div class="btn-box flex">
      <div class="btn ltn" @click="cancel">
        <!-- 取消 -->
        {{ $t('common.l2') }}
      </div>
      <div class="btn rtn" @click="submit">
        <!-- 确认 -->
        {{ $t('common.l3') }}
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      
    }
  },
  methods: {
    cancel() {
      this.$emit('cancel')
    },
    submit() {
      this.$emit('success')
    }
  }
}
</script>
<style lang="less" scoped>
.pop {
  padding: 17px 17px 39px;
}
.box-c {
  margin-bottom: 13px;
  .close {
    width: 15px;
    display: block;
    cursor: pointer;
  }
}
.body {
  flex-direction: column;
  justify-content: center;
  padding-bottom: 48px;
  line-height: 1;
  .img {
    width: 75px;
    margin-bottom: 4px;
  }
  .title {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 9px;
  }
  .tip {
    font-size: 16px;
    color: #767676;
  }
}
.btn-box {
  column-gap: 8px;
  .btn {
    flex: 1;
    text-align: center;
    line-height: 42px;
    border-radius: 6px;
    border: 1px solid;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
  }
  .ltn {
    border-color: #ACACAC;
  }
  .rtn {
    background-color: #000;
    color: #fff;
  }
}
</style>