index.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <view class="LikeReply">
  3. <view class="list fl-flex" v-for="item,index in 10" :key="index">
  4. <image
  5. src="/static/icon/QR57a.jpg"
  6. mode="scaleToFill"
  7. style="width: 100rpx; height: 100rpx"
  8. />
  9. <view class="line chelvc-flex-sub fl-flex-item">
  10. <view style="font-size: 30rpx; color: #333">
  11. <view class="fl-flex">
  12. <text>yizhiyang</text>
  13. <u-icon name="heart-fill" color="#fd746a" size="20" />
  14. <text>了我的动态</text>
  15. </view>
  16. <view class="f-s-20 text-gray" style="margin-top: 20rpx">2024/02/05</view>
  17. </view>
  18. <image src="/static/logo.png" mode="scaleToFill" />
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. import { getEvaluateInform } from '@/api/client/message.js';
  25. export default {
  26. data() {
  27. return {
  28. queryParams:{
  29. number:1,
  30. size:10,
  31. counting:true
  32. }
  33. };
  34. },
  35. mounted(){
  36. this.handlerInitList()
  37. },
  38. methods: {
  39. handlerInitList(){
  40. getEvaluateInform(this.queryParams).then(res=>{
  41. console.log("@@@@res",res)
  42. })
  43. }
  44. },
  45. };
  46. </script>
  47. <style lang="scss" scoped>
  48. .LikeReply {
  49. min-height: 100vh;
  50. padding: 10rpx 20rpx;
  51. background-color: #fff;
  52. .list {
  53. height: 130rpx;
  54. margin-bottom: 20rpx;
  55. padding: 0 30rpx;
  56. .line {
  57. padding-bottom: 20rpx;
  58. border-bottom: 2rpx solid #f2f2f2;
  59. > image {
  60. width: 140rpx;
  61. height: 100%;
  62. }
  63. }
  64. }
  65. }
  66. </style>