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

135 lines
2.5 KiB

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