帧视界壹通告,付费看视频的微信小程序
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.

80 lines
1.3 KiB

  1. <template>
  2. <view class="postList">
  3. <view class="item" v-for="(item, index) in list"
  4. :key="index">
  5. <image src="/static/image/index/p1.png" mode="aspectFill"></image>
  6. <view class="text">
  7. <view class="title">
  8. {{ item.title }}
  9. </view>
  10. <view class="createBy">
  11. <view class="">
  12. 发布人{{ item.createBy }}
  13. </view>
  14. <view class="">
  15. <uv-icon
  16. size="26rpx"
  17. name="thumb-up"></uv-icon>
  18. 100
  19. </view>
  20. </view>
  21. <view class="createTime">
  22. {{ item.title }}
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. export default {
  30. name:"postList",
  31. props : ['list'],
  32. data() {
  33. return {
  34. };
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .postList{
  40. .item{
  41. height: 200rpx;
  42. width: 100%;
  43. background-color: #fff;
  44. overflow: hidden;
  45. border-radius: 10rpx;
  46. color: #555;
  47. display: flex;
  48. font-size: 24rpx;
  49. margin: 30rpx 0;
  50. image{
  51. width: 50%;
  52. height: 100%;
  53. }
  54. .text{
  55. display: flex;
  56. flex-direction: column;
  57. padding: 16rpx;
  58. width: 50%;
  59. .title{
  60. font-size: 30rpx;
  61. font-weight: 600;
  62. color: #000;
  63. }
  64. .createBy{
  65. display: flex;
  66. margin-top: auto;
  67. margin-bottom: 10rpx;
  68. justify-content: space-between;
  69. &>view{
  70. display: flex;
  71. align-items: center;
  72. justify-content: center;
  73. }
  74. }
  75. }
  76. }
  77. }
  78. </style>