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

103 lines
1.7 KiB

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