<template>
    <div>
        <img
            :src="getFileHost(`/Assets/rate/${value.icon}${index < value.value ? 1 : 0}.png`, 1)"
            v-for="(item, index) in value.score"
            :key="index"
        >
    </div>
</template>

<script>
import { getFileHost } from '@/assets/utils/host.js'
export default {
    props: {
        value: { type: Object, default: () => ({}) }
    },
    data () {
        return {
            getFileHost
        }
    }
}
</script>

<style lang="less" scoped>
img {
    height: 32px;
}
</style>
