<template>
  <div class="app-vip-module">
    <image
      class="vip-img"
      :src="vipImg"
      alt
      mode="widthFix"
    />
    <div class="vip-text"></div>
  </div>
</template>

<script>
export default {
  name: "app-vip-module",
  props: {
    text: {
      type: String,
      default: "VIP"
    },
	vipImg:{
		type:String,
		default:''
	}
  },
  data() {
    return {
      constant: this.$constant
    };
  }
};
</script>

<style lang="scss" scoped>
.app-vip-module {
  position: relative;
  width: 104px;
  .vip-img {
    width: 100%;
  }
  .vip-text {
    position: absolute;
    top: 5px;
    left: 46px;
    color: #fff;
    transform: scale(0.9);
    transform: translate(-50%,0);
    // font-size: 16px;
    font-size:25rpx;
  }
}
</style>
