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

209 lines
3.6 KiB

11 months ago
10 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
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 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
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
10 months ago
10 months ago
11 months ago
10 months ago
10 months ago
10 months ago
11 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
  1. <template>
  2. <view class="postDetail">
  3. <navbar leftClick @leftClick="leftClick" />
  4. <view class="swipe">
  5. <uv-swiper
  6. :list="item.details.image &&
  7. item.details.image.split(',')"
  8. indicator
  9. height="auto"></uv-swiper>
  10. </view>
  11. <view class="box">
  12. <view class="topInfo">
  13. <view class="title">
  14. {{ item.details.name }}
  15. </view>
  16. <view class="price">
  17. {{ item.details.money }}
  18. </view>
  19. <view class="right">
  20. <view class="money30">
  21. 近30天收益{{ item.dayMoney }}
  22. </view>
  23. <view class="phone">
  24. <view class=""
  25. v-if="item.details.phonePay != 'Y'">
  26. {{ item.details.phone }}
  27. </view>
  28. <view class=""
  29. v-else>
  30. 联系方式<text>付费查看</text>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="createBy">
  36. <view class="">
  37. 发布人{{ item.details.userId }}
  38. </view>
  39. <view class="">
  40. 发布时间{{ $dayjs(item.details.createTime).format('YYYY-MM-DD') }}
  41. </view>
  42. </view>
  43. <view class="controls">
  44. <contentControls
  45. :type="1"
  46. :up="item.isThumbs_up"
  47. :down="item.isThumbs_down"
  48. @loadData="getData"
  49. :detail="item.details"/>
  50. </view>
  51. <view class="content">
  52. <uv-parse :content="item.details.photographerContent"></uv-parse>
  53. </view>
  54. <view class="works">
  55. <view class="item"
  56. v-for="(t, index) in item.details.isImage && item.details.isImage.split(',')"
  57. :key="index">
  58. <view class="item-image">
  59. <video :src="t" object-fit="fill"/>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. </template>
  66. <script>
  67. import contentControls from '@/components/content/contentControls.vue'
  68. export default {
  69. components : {
  70. contentControls
  71. },
  72. data() {
  73. return {
  74. item: {
  75. details : {}
  76. },
  77. list : [],
  78. queryParams: {
  79. pageNo: 1,
  80. pageSize: 10
  81. },
  82. total : 0,
  83. id : 0,
  84. }
  85. },
  86. onLoad(options) {
  87. // this.$route.query的参数
  88. console.log(options)
  89. this.id = options.id
  90. },
  91. onShow() {
  92. this.getData()
  93. },
  94. //滚动到屏幕底部
  95. onReachBottom() {
  96. },
  97. methods: {
  98. leftClick(){
  99. uni.navigateBack(-1)
  100. },
  101. getData(){
  102. this.$api('indexGetActorDetail', {
  103. id : this.id
  104. }, res => {
  105. if(res.code == 200){
  106. this.item = res.result
  107. }
  108. })
  109. },
  110. }
  111. }
  112. </script>
  113. <style lang="scss" scoped>
  114. .postDetail {
  115. .box {
  116. padding: 20rpx;
  117. .topInfo{
  118. position: relative;
  119. .price{
  120. font-size: 34rpx;
  121. font-weight: 900;
  122. margin: 10rpx 0;
  123. }
  124. .right{
  125. position: absolute;
  126. right: 20rpx;
  127. top: 0rpx;
  128. line-height: 50rpx;
  129. text-align: right;
  130. .money30{
  131. font-size: 26rpx;
  132. color: #D43030;
  133. }
  134. .phone{
  135. text{
  136. color: #3A6BF1;
  137. margin-left: 10rpx;
  138. }
  139. }
  140. }
  141. }
  142. .title {
  143. font-size: 30rpx;
  144. font-weight: 600;
  145. color: #000;
  146. }
  147. .createBy {
  148. display: flex;
  149. margin-top: auto;
  150. margin-bottom: 10rpx;
  151. font-size: 24rpx;
  152. margin-top: 20rpx;
  153. color: #555;
  154. &>view {
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. padding-right: 20rpx;
  159. }
  160. }
  161. .controls {
  162. margin-top: 30rpx;
  163. }
  164. .content {
  165. margin-top: 30rpx;
  166. color: #777;
  167. }
  168. .works{
  169. display: flex;
  170. flex-wrap: wrap;
  171. margin-top: 20rpx;
  172. .item{
  173. width: 320rpx;
  174. margin: 15rpx;
  175. .item-title{
  176. padding-bottom: 10rpx;
  177. color: #000;
  178. }
  179. .item-image{
  180. background-color: #999;
  181. width: 100%;
  182. height: 250rpx;
  183. video{
  184. width: 100%;
  185. height: 100%;
  186. }
  187. }
  188. }
  189. }
  190. }
  191. }
  192. </style>