<script setup>
	/**
	 * 积分记录列表
	 */
	import {
		defineProps,
	} from 'vue'

	// 
	const props = defineProps({
		list: {
			type: Array,
		}
	})
</script>

<template>
	<view v-for="(item, index) in list" :key="item.id">
		<view class="list df mt30">
			<view class="f1">
				<view>
					<!-- 自己释放 -->
					<template v-if="item.releaseType == 'RELEASE'">
						<text>{{item.coreScrollInfoName}} 释放</text>
					</template>
					<!-- 别人加速 -->
					<template v-else-if="item.releaseType == 'SPEED'">
						<text v-if="item.referencedType == 'DIRECT'">直推</text>
						<text v-else-if="item.referencedType == 'INDIRECT'">间推</text>
						<text>{{item.referencedNickname}}</text>
						<text>加速释放</text>
					</template>
					<!-- 烧伤偏差值 -->
					<template v-else-if="item.releaseType == 'BURN'">
						<text>烧伤偏差值</text>
					</template>
				</view>
				<view class="f20">{{item.createTime}}</view>
			</view>
			<view class="fs0">{{item.releaseCount}}</view>
		</view>
	</view>
</template>

<style scoped lang="scss">
</style>