<template>
  <view class="member-tag">{{ text }}</view>
</template>
<script>
export default {
  props: {
    text: {
      type: String,
      default: "会员专享"
    }
  }
};
</script>
<style lang="scss" scoped>
.member-tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 128rpx;
  height: 28rpx;
  background: #ffe1b0 url(https://img.lkbang.net/xcx/memberCenter/member_tag_bg.png);
  background-size: 124rpx 28rpx;
  background-repeat: no-repeat;
  border-top-right-radius: 6rpx;
  border-bottom-right-radius: 6rpx;
  padding-left: 46rpx;
  padding-right: 6rpx;
  font-size: 20rpx;
  color: #252931;
}
</style>
