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

93 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:"releaseList",
  31. props : ['list'],
  32. data() {
  33. return {
  34. };
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .publishList{
  40. width: 90%;
  41. .item{
  42. height: 200rpx;
  43. width: 100%;
  44. background-color: #fff;
  45. overflow: hidden;
  46. border-radius: 10rpx;
  47. color: #777;
  48. display: flex;
  49. font-size: 24rpx;
  50. margin: 30rpx 0;
  51. image{
  52. width: 50%;
  53. height: 100%;
  54. }
  55. .text{
  56. display: flex;
  57. flex-direction: column;
  58. padding: 16rpx;
  59. width: 50%;
  60. .title{
  61. font-size: 30rpx;
  62. font-weight: 600;
  63. color: #000;
  64. }
  65. .createBy{
  66. display: flex;
  67. margin-top: auto;
  68. margin-bottom: 10rpx;
  69. justify-content: space-between;
  70. &>view{
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. }
  75. }
  76. .isPay{
  77. display: flex;
  78. margin-top: auto;
  79. margin-bottom: 10rpx;
  80. color: #7395f4;
  81. justify-content: space-between;
  82. &>view{
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. }
  87. }
  88. }
  89. }
  90. }
  91. </style>