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

132 lines
2.2 KiB

  1. <template>
  2. <view class="postDetail">
  3. <navbar
  4. leftClick
  5. @leftClick="$utils.navigateBack"/>
  6. <view class="swipe">
  7. <uv-swiper
  8. :list="list"
  9. keyName="url"
  10. indicator
  11. height="320rpx"></uv-swiper>
  12. </view>
  13. <view class="box">
  14. <view class="title">
  15. {{ item.title }}
  16. </view>
  17. <view class="createBy">
  18. <view class="">
  19. 发布人{{ item.createBy }}
  20. </view>
  21. <view class="">
  22. 发布时间{{ item.createTime }}
  23. </view>
  24. </view>
  25. <view class="controls">
  26. <view class="">
  27. <uv-icon
  28. size="35rpx"
  29. name="bell"></uv-icon>
  30. 举报
  31. </view>
  32. <view class="">
  33. <uv-icon
  34. size="35rpx"
  35. name="thumb-up"></uv-icon>
  36. 点赞
  37. </view>
  38. <view class="">
  39. <uv-icon
  40. size="35rpx"
  41. name="share"></uv-icon>
  42. 分享
  43. </view>
  44. <view class="">
  45. <uv-icon
  46. size="35rpx"
  47. name="thumb-down"></uv-icon>
  48. </view>
  49. </view>
  50. <view class="content">
  51. <uv-parse :content="item.content"></uv-parse>
  52. </view>
  53. </view>
  54. </view>
  55. </template>
  56. <script>
  57. export default {
  58. data() {
  59. return {
  60. list : [
  61. {
  62. url : '/static/image/index/123123.png'
  63. },
  64. {
  65. url : '/static/image/index/a1.png'
  66. },
  67. ],
  68. item : {
  69. title : "这是一条动态",
  70. createTime : '2024-08-22 09:00:00',
  71. createBy : "小飞",
  72. content : '这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态',
  73. },
  74. }
  75. },
  76. methods: {
  77. }
  78. }
  79. </script>
  80. <style lang="scss" scoped>
  81. .postDetail{
  82. .box{
  83. padding: 20rpx;
  84. .title{
  85. font-size: 30rpx;
  86. font-weight: 600;
  87. color: #000;
  88. }
  89. .createBy{
  90. display: flex;
  91. margin-top: auto;
  92. margin-bottom: 10rpx;
  93. font-size: 26rpx;
  94. margin-top: 20rpx;
  95. color: #555;
  96. &>view{
  97. display: flex;
  98. align-items: center;
  99. justify-content: center;
  100. padding-right: 20rpx;
  101. }
  102. }
  103. .controls{
  104. display: flex;
  105. margin-top: 30rpx;
  106. &>view{
  107. display: flex;
  108. justify-content: center;
  109. align-items: center;
  110. margin-right: 40rpx;
  111. }
  112. }
  113. .content{
  114. margin-top: 30rpx;
  115. color: #777;
  116. }
  117. }
  118. }
  119. </style>