<template>
  <div>
    <div class="ui-modal-body" :style="styleData.uiModalBody">
      <div :style="styleData.contentDiv">
        <!-- <div :style="styleData.giftBagTypeDiv">店铺礼包</div> -->
        <div :style="styleData.titleDiv">恭喜您获得礼包</div>
        <div>
          <div :style="styleData.prizeDiv">
            <span>
              <span v-if="giftBagData.prizeData[0].prizeType == '1' || giftBagData.prizeData[0].prizeType == '4'">{{ giftBagData.prizeData[0].beanNum }}</span>
              <span v-else-if="giftBagData.prizeData[0].prizeType == '101'">{{ giftBagData.prizeData[0].priceInfo }}</span>
              <span v-else-if="giftBagData.prizeData[0].prizeType == '102'">{{ giftBagData.prizeData[0].priceInfo }}</span>
            </span>

            <span>
              <span v-if="giftBagData.prizeData[0].prizeType == '101' || giftBagData.prizeData[0].prizeType == '102'" :style="styleData.prizeTypeDiv">元</span>
              <span v-else-if="giftBagData.prizeData[0].prizeType == '1'" :style="styleData.prizeTypeDiv">个</span>
            </span>
            <span>{{ giftBagData.prizeData[0].prizeTypeName }}</span>
          </div>
          <!--          <div :style="styleData.uiContentBtnDiv" @click="btnClick">领取{{ giftBagData.prizeData[0].prizeTypeName }}</div>
 -->
          <div :style="styleData.uiContentBtnDiv" @click="btnClick">点击收下礼包</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ['styleData', 'giftBagData'],
  data() {
    return {};
  },
  created() {},
  methods: {
    //收下礼包
    btnClick() {
      this.$emit('btnClickEmit', {});
    }
  }
};
</script>

<style lang="scss" scoped="scoped"></style>
