瑶都万能墙
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.

84 lines
1.3 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="bottom">
  3. <!-- 浏览 -->
  4. <view class="browse">
  5. {{ item.isBrowse }}
  6. <view class="bontt">
  7. <uv-icon name="eye-fill"></uv-icon>
  8. </view>
  9. </view>
  10. <!-- 评论 -->
  11. <view class="browse">
  12. {{ item.isComment }}
  13. <view class="bontt">
  14. <uv-icon name="chat-fill"></uv-icon>
  15. </view>
  16. </view>
  17. <!-- 点赞 -->
  18. <view class="browse">
  19. {{ item.isUp || 0 }}
  20. <view class="bontt">
  21. <uv-icon name="thumb-up-fill"></uv-icon>
  22. </view>
  23. </view>
  24. <!-- 分享 -->
  25. <view class="browse">
  26. {{ item.isDown || 0 }}
  27. <view class="bontt">
  28. <uv-icon name="attach"></uv-icon>
  29. </view>
  30. </view>
  31. <callPhone
  32. :phone="item.phone"
  33. :type="type"
  34. :phoneTitle="title"
  35. :pid="item.id"
  36. :sexName="item.sex" />
  37. </view>
  38. </template>
  39. <script>
  40. export default {
  41. data() {
  42. return {
  43. }
  44. },
  45. computed : {
  46. title(){
  47. let key = {
  48. 0 : 'userName',
  49. }
  50. return this.item[key[this.type]]
  51. },
  52. },
  53. props: {
  54. item: {},
  55. type : {},
  56. },
  57. methods: {
  58. }
  59. }
  60. </script>
  61. <style scoped lang="scss">
  62. .bottom {
  63. display: flex;
  64. margin-top: 20rpx;
  65. font-size: 24rpx;
  66. .browse {
  67. display: flex;
  68. justify-content: center;
  69. align-items: center;
  70. margin: 0rpx 30rpx;
  71. color: rgb(132, 132, 132);
  72. margin-left: 10rpx;
  73. }
  74. .bontt {
  75. margin: 0rpx 5rpx;
  76. }
  77. }
  78. </style>