<template>
  <view class="bg w-250rpx h-350rpx inline-block mx-14rpx relative">
    <view class="absolute top-120rpx left-0 w-full">
      <view class="items-end text-hex-fe211a text-center">
        <text class="text-40rpx">￥</text>
        <text class="text-80rpx">30</text>
      </view>
      <view class="text-hex-da8844 text-18rpx text-center mt-20rpx">20元积分+1元兑换</view>
      <view class="mx-auto w-180rpx mt-30rpx h-48rpx" @click="onClick"></view>
    </view>
  </view>
</template>
<script>
export default {
  methods:{
    onClick(){
      this.$emit('click')
    }
  }
}
</script>
<style lang="scss" scoped>
.bg {
  // background: url('/static/images/coupon/coupon-bg.png') no-repeat;
  background-size: 100% 100%;
}
</style>
