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

94 lines
1.5 KiB

  1. <template>
  2. <view class="postList">
  3. <navbar
  4. leftClick
  5. @leftClick="$utils.navigateBack"
  6. title="动态列表"/>
  7. <view class="box">
  8. <view class="search">
  9. <view class="icon">
  10. <uv-icon
  11. size="40rpx"
  12. name="search"></uv-icon>
  13. </view>
  14. <input type="text" placeholder="搜索相关..."/>
  15. <view class="text">
  16. 搜索
  17. </view>
  18. </view>
  19. <postList :list="postList"/>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. import postList from '@/components/post/postList.vue'
  25. export default {
  26. components : {
  27. postList
  28. },
  29. data() {
  30. return {
  31. postList : [
  32. {
  33. title : "这是一条动态",
  34. createTime : '2024-08-22 09:00:00',
  35. createBy : "小飞",
  36. },
  37. {
  38. title : "这是一条动态",
  39. createTime : '2024-08-22 09:00:00',
  40. createBy : "小飞",
  41. },
  42. {
  43. title : "这是一条动态",
  44. createTime : '2024-08-22 09:00:00',
  45. createBy : "小飞",
  46. },
  47. {
  48. title : "这是一条动态",
  49. createTime : '2024-08-22 09:00:00',
  50. createBy : "小飞",
  51. },
  52. ],
  53. }
  54. },
  55. methods: {
  56. leftClick(){
  57. }
  58. }
  59. }
  60. </script>
  61. <style lang="scss" scoped>
  62. .postList{
  63. .box{
  64. padding: 30rpx;
  65. .search{
  66. background-color: #fff;
  67. height: 70rpx;
  68. width: 100%;
  69. margin: 20rpx 0;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. font-size: 28rpx;
  74. border-radius: 10rpx;
  75. .icon{
  76. margin: 0 20rpx;
  77. }
  78. input{
  79. }
  80. .text{
  81. margin-left: auto;
  82. margin-right: 20rpx;
  83. }
  84. }
  85. }
  86. }
  87. </style>