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

92 lines
1.7 KiB

  1. <template>
  2. <view class="publishList">
  3. <view class="item" v-for="(item, index) in list"
  4. @click="$utils.navigateTo('/publish/postDetail?id=123')"
  5. :key="index">
  6. <image src="/static/image/center/1.png" style="width: 40%"></image>
  7. <view class="text">
  8. <view class="title">
  9. {{ item.title }}
  10. </view>
  11. <view class="createBy">
  12. <view class="">
  13. 是否置顶{{ item.createBy }}
  14. </view>
  15. </view>
  16. <view class="isPay">
  17. <view class="">
  18. 是否付费{{ item.isPay }}
  19. </view>
  20. </view>
  21. <view class="createTime">
  22. 发布时间{{ item.createTime }}
  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. .publishList{
  40. .item{
  41. height: 200rpx;
  42. width: 100%;
  43. background-color: #fff;
  44. overflow: hidden;
  45. border-radius: 10rpx;
  46. color: #777;
  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. .isPay{
  76. display: flex;
  77. margin-top: auto;
  78. margin-bottom: 10rpx;
  79. color: #7395f4;
  80. justify-content: space-between;
  81. &>view{
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. }
  86. }
  87. }
  88. }
  89. }
  90. </style>