<template>
	
	<view class="newItem" >
		<view class="h2">{{ item.title}}！</view>
		<view class="text">{{ item.mainBody }}</view>
		<view class="date">发布时间：{{ $u.date(item.createTime, 'yyyy/mm/dd')}}</view>
	</view>
</template>

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

<style lang="scss" scoped>
	.newItem {
		padding: 24rpx;
		font-size: 28rpx;
		.h2 {
			font-weight: 500;
		}
		.text {
			color: #686B73;
			padding: 8rpx 0 32rpx 0;
		}
		.date {
			font-size: 20rpx;
			color: #686B73;
		}
	}
</style>