洛阳学员端
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.

31 lines
535 B

10 months ago
  1. <template>
  2. <view class="newItem" >
  3. <view class="h2">{{ item.title}}</view>
  4. <view class="text">{{ item.mainBody }}</view>
  5. <view class="date">发布时间{{ $u.date(item.createTime, 'yyyy/mm/dd')}}</view>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. props: ['item']
  11. }
  12. </script>
  13. <style lang="scss" scoped>
  14. .newItem {
  15. padding: 24rpx;
  16. font-size: 28rpx;
  17. .h2 {
  18. font-weight: 500;
  19. }
  20. .text {
  21. color: #686B73;
  22. padding: 8rpx 0 32rpx 0;
  23. }
  24. .date {
  25. font-size: 20rpx;
  26. color: #686B73;
  27. }
  28. }
  29. </style>