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

69 lines
1.2 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <template>
  2. <view class="works" @click="$emit('click')">
  3. <userHeadItem :item="item"/>
  4. <activityInfo :item="item"/>
  5. <daynamicInfo :item="item"/>
  6. <view class="bottom">
  7. <view class="browse">
  8. {{ item.isBrowse }}浏览
  9. </view>
  10. <view class="browse">
  11. {{ item.isComment }}条评论
  12. </view>
  13. <callPhone
  14. style="margin-left: auto;"
  15. :phone="item.phone"
  16. :sexName="item.sex"/>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. import mixinsSex from '@/mixins/sex.js'
  22. import userHeadItem from '@/components/list/dynamic/userHeadItem.vue'
  23. import daynamicInfo from '@/components/list/dynamic/daynamicInfo.vue'
  24. import activityInfo from '@/components/list/activity/activityInfo.vue'
  25. export default {
  26. mixins: [mixinsSex],
  27. components : {
  28. userHeadItem,
  29. daynamicInfo,
  30. activityInfo,
  31. },
  32. props: {
  33. item: {},
  34. },
  35. data() {
  36. return {
  37. }
  38. },
  39. methods: {
  40. },
  41. }
  42. </script>
  43. <style scoped lang="scss">
  44. .works {
  45. margin: 40rpx 20rpx;
  46. background-color: #fff;
  47. padding: 40rpx;
  48. border-radius: 20rpx;
  49. box-shadow: 0 0 6rpx 6rpx #00000011;
  50. .bottom {
  51. display: flex;
  52. margin-top: 20rpx;
  53. font-size: 24rpx;
  54. .browse {
  55. margin: 0rpx 30rpx;
  56. color: rgb(132, 132, 132);
  57. }
  58. }
  59. }
  60. </style>