学员端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
535 B

<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>