<template>
  <div class="price-container">
    <span class="p-l el-icon-jy-iconLogoLight"></span>
    <span class="p-r">{{ price }}</span>
  </div>
</template>

<script>
export default {
  name: 'price',
  props: {
    price: {
      type: [String, Number],
      default: 0
    }
  }
}
</script>

<style scoped lang="scss">
.price-container {
  display: flex;
  align-items: center;
  @include diy-icon("iconLogoLight", 22, 22);

  .p-r {
    margin-left: 4px;
    font-size: 18px;
    color: #ff3a20;
  }
}
</style>
