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

130 lines
2.4 KiB

11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
10 months ago
11 months ago
  1. <template>
  2. <view class="postList">
  3. <view class="item" v-for="(item, index) in list"
  4. @click="$utils.navigateTo('/publish/actorDetail?id=' + item.id)"
  5. :key="index">
  6. <image
  7. :src="item.image &&
  8. item.image.split(',')[0]"
  9. mode="aspectFill"></image>
  10. <view class="text">
  11. <view class="title">
  12. <view class="t">
  13. {{ item.name }}
  14. </view>
  15. <view class="auth"
  16. v-if="item.isState == 'Y'">
  17. 已认证
  18. </view>
  19. </view>
  20. <view class="info">
  21. {{ item.photographerContent }}
  22. </view>
  23. <view class="createBy">
  24. <!-- <view class="">
  25. 发布人{{ item.createBy }}
  26. </view> -->
  27. <view class="">
  28. {{ $dayjs(item.createTime).format('YYYY-MM-DD') }}
  29. </view>
  30. </view>
  31. <view class="phone">
  32. 联系方式 <text>去查看</text>
  33. </view>
  34. <view class="price"
  35. v-if="item.money">
  36. 价格 <text>{{ item.money }}</text>
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. name:"postList",
  45. props : ['list'],
  46. data() {
  47. return {
  48. };
  49. }
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. .postList{
  54. .item{
  55. height: 240rpx;
  56. width: 100%;
  57. background-color: #fff;
  58. overflow: hidden;
  59. border-radius: 10rpx;
  60. color: #777;
  61. display: flex;
  62. font-size: 24rpx;
  63. margin: 30rpx 0;
  64. image{
  65. width: 50%;
  66. height: 100%;
  67. }
  68. .text{
  69. display: flex;
  70. flex-direction: column;
  71. padding: 16rpx;
  72. width: 50%;
  73. .title{
  74. font-size: 30rpx;
  75. color: #000;
  76. display: flex;
  77. align-items: center;
  78. .t{
  79. overflow: hidden;
  80. white-space: nowrap;
  81. text-overflow: ellipsis;
  82. -o-text-overflow: ellipsis;
  83. }
  84. .auth{
  85. color: $uni-color-red;
  86. border: 1px solid $uni-color-red;
  87. font-size: 20rpx;
  88. margin-left: 10rpx;
  89. width: 60rpx;
  90. line-height: 30rpx;
  91. height: 30rpx;
  92. flex-shrink: 0;
  93. }
  94. }
  95. .info{
  96. color: #000;
  97. overflow: hidden;
  98. text-overflow: ellipsis;
  99. display: -webkit-box;
  100. -webkit-line-clamp:2;
  101. -webkit-box-orient: vertical;
  102. }
  103. .createBy{
  104. display: flex;
  105. margin-top: auto;
  106. margin-bottom: 5rpx;
  107. justify-content: space-between;
  108. &>view{
  109. display: flex;
  110. align-items: center;
  111. justify-content: center;
  112. }
  113. }
  114. .phone{
  115. text{
  116. color: #000;
  117. }
  118. }
  119. .price{
  120. color: $uni-color-red;
  121. }
  122. text{
  123. padding-left: 10rpx;
  124. }
  125. }
  126. }
  127. }
  128. </style>