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.

63 lines
1.1 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. <template>
  2. <view class="ul">
  3. <view class="li flex-b" v-for="(item,index) in list" :key="index">
  4. <view class="leftTxt">
  5. <view class="tit towRowText">
  6. {{ item.title }}
  7. </view>
  8. <view class="date">2024.06.28 18:42</view>
  9. </view>
  10. <view class="cover">
  11. <image :src="item.picture" mode=""></image>
  12. </view>
  13. </view>
  14. </view>
  15. </template>
  16. <script >
  17. export default {
  18. props: ['list']
  19. }
  20. </script>
  21. <style lang="scss" scoped>
  22. .ul {
  23. width: 100%;
  24. .li {
  25. width: 100%;
  26. padding: 30rpx 0;
  27. border-bottom: 1px solid #EFEFEF;
  28. &:last-child {
  29. border-bottom: none;
  30. }
  31. .leftTxt {
  32. padding-right: 80rpx;
  33. width: 0;
  34. flex: 1;
  35. .tit.towRowText {
  36. font-size: 28rpx;
  37. color: #343434;
  38. font-weight: bold;
  39. }
  40. .date {
  41. font-size: 28rpx;
  42. color: #999999;
  43. margin-top: 40rpx;
  44. }
  45. }
  46. .cover {
  47. width: 210rpx;
  48. height: 150rpx;
  49. background: #EFEFEF;
  50. border-radius: 12rpx;
  51. overflow: hidden;
  52. image {
  53. display: block;
  54. width: 100%;
  55. height: 100%;
  56. }
  57. }
  58. }
  59. }
  60. </style>