<template>
    <div class="logList">
        <div class="log-detail">
            <div class="log-icon"></div>
            <div class="log-mr" :class="[item.remark=='error'?'logRed':'']">{{item.createTime}}</div>
            <div class="logText" :class="[item.remark=='error'?'logRed':'']">{{item.content}}</div>
        </div>
        <div class="line"></div>
    </div>
</template>

<script>
export default {
    name: 'LogList',
    props:['item']
}
</script>