index.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 , clearInformFlag } from '@/api/client/message.js';
  25. export default {
  26. data() {
  27. return {
  28. queryParams:{
  29. // number:1,
  30. // size:10,
  31. paging:'1,10',
  32. counting:true
  33. }
  34. };
  35. },
  36. mounted(){
  37. this.handlerInitList()
  38. },
  39. onShow(){
  40. clearInformFlag({type:'EVALUATE'}).then(res=>{
  41. console.log("@@@res",res)
  42. })
  43. },
  44. methods: {
  45. handlerInitList(){
  46. getEvaluateInform(this.queryParams).then(res=>{
  47. console.log("@@@@res",res)
  48. })
  49. }
  50. },
  51. };
  52. </script>
  53. <style lang="scss" scoped>
  54. .LikeReply {
  55. min-height: 100vh;
  56. padding: 10rpx 20rpx;
  57. background-color: #fff;
  58. .list {
  59. height: 130rpx;
  60. margin-bottom: 20rpx;
  61. padding: 0 30rpx;
  62. .line {
  63. padding-bottom: 20rpx;
  64. border-bottom: 2rpx solid #f2f2f2;
  65. > image {
  66. width: 140rpx;
  67. height: 100%;
  68. }
  69. }
  70. }
  71. }
  72. </style>