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

208 lines
3.7 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="title">
  5. <view class="">
  6. 首页
  7. </view>
  8. <view class="">
  9. 北京
  10. <uv-icon
  11. name="arrow-down"
  12. color="#fff"></uv-icon>
  13. </view>
  14. </view>
  15. <view class="search">
  16. <view class="icon">
  17. <uv-icon
  18. size="40rpx"
  19. name="search"></uv-icon>
  20. </view>
  21. <input type="text" placeholder="请输入搜索关键字..."/>
  22. <view class="text">
  23. 搜索
  24. </view>
  25. </view>
  26. <view class="swipe">
  27. <uv-swiper
  28. :list="list"
  29. keyName="url"
  30. height="320rpx"
  31. :autoplay="false"></uv-swiper>
  32. </view>
  33. </view>
  34. <view class="box">
  35. <view class="box-line">
  36. <view class="title">
  37. 认证演员
  38. </view>
  39. <view class="more"
  40. @click="$utils.navigateTo('/publish/actorList')">
  41. 查看全部
  42. <uv-icon
  43. size="26rpx"
  44. name="arrow-right"></uv-icon>
  45. </view>
  46. </view>
  47. <view class="ACTORS">
  48. <uv-swiper
  49. :list="ACTORS"
  50. keyName="url"
  51. height="320rpx"></uv-swiper>
  52. </view>
  53. </view>
  54. <view class="box">
  55. <view class="box-line">
  56. <view class="title">
  57. 动态帖子
  58. </view>
  59. <view class="more"
  60. @click="$utils.navigateTo('/publish/postList')">
  61. 查看全部
  62. <uv-icon
  63. size="26rpx"
  64. name="arrow-right"></uv-icon>
  65. </view>
  66. </view>
  67. <postList :list="postList"/>
  68. </view>
  69. <tabber :select="0"/>
  70. </view>
  71. </template>
  72. <script>
  73. import tabber from '@/components/base/tabbar.vue'
  74. import postList from '@/components/post/postList.vue'
  75. export default {
  76. components : {
  77. tabber,
  78. postList
  79. },
  80. data() {
  81. return {
  82. list : [
  83. {
  84. url : '/static/image/index/123123.png'
  85. }
  86. ],
  87. ACTORS : [
  88. {
  89. url : '/static/image/index/a1.png'
  90. },
  91. {
  92. url : '/static/image/index/a2.png'
  93. },
  94. {
  95. url : '/static/image/index/a3.png'
  96. },
  97. ],
  98. postList : [
  99. {
  100. title : "这是一条动态",
  101. createTime : '2024-08-22 09:00:00',
  102. createBy : "小飞",
  103. },
  104. {
  105. title : "这是一条动态",
  106. createTime : '2024-08-22 09:00:00',
  107. createBy : "小飞",
  108. },
  109. {
  110. title : "这是一条动态",
  111. createTime : '2024-08-22 09:00:00',
  112. createBy : "小飞",
  113. },
  114. {
  115. title : "这是一条动态",
  116. createTime : '2024-08-22 09:00:00',
  117. createBy : "小飞",
  118. },
  119. ],
  120. }
  121. },
  122. computed : {
  123. locale(){
  124. return this.$t('pages.index.index')
  125. }
  126. },
  127. methods: {
  128. }
  129. }
  130. </script>
  131. <style scoped lang="scss">
  132. .content{
  133. padding-bottom: 150rpx;
  134. .top{
  135. background-image: $uni-linear-gradient-bg-color;
  136. padding: 0 20rpx;
  137. padding-top: calc(var(--status-bar-height) + 20rpx);
  138. .title{
  139. display: flex;
  140. color: #fff;
  141. justify-content: space-between;
  142. &>view{
  143. display: flex;
  144. justify-content: center;
  145. align-items: center;
  146. }
  147. }
  148. .search{
  149. background-color: #fff;
  150. height: 70rpx;
  151. width: 100%;
  152. margin: 20rpx 0;
  153. display: flex;
  154. justify-content: center;
  155. align-items: center;
  156. font-size: 28rpx;
  157. border-radius: 10rpx;
  158. .icon{
  159. margin: 0 20rpx;
  160. }
  161. input{
  162. }
  163. .text{
  164. margin-left: auto;
  165. margin-right: 20rpx;
  166. }
  167. }
  168. }
  169. .box{
  170. padding: 20rpx;
  171. .box-line{
  172. display: flex;
  173. justify-content: space-between;
  174. align-items: center;
  175. margin-bottom: 20rpx;
  176. .title{
  177. position: relative;
  178. &::after{
  179. content: '';
  180. position: absolute;
  181. display: block;
  182. bottom: 0;
  183. left: 20rpx;
  184. width: 20rpx;
  185. height: 12rpx;
  186. background-color: $uni-linear-gradient-color;
  187. }
  188. }
  189. .more{
  190. display: flex;
  191. font-size: 24rpx;
  192. color: #777;
  193. }
  194. }
  195. }
  196. }
  197. </style>