invite-list.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <div class="list">
  3. <div class="item">
  4. <div class="left">
  5. <img :src="require('@/assets/svg/icon-btn-box.svg')" alt="" />
  6. </div>
  7. <div class="right">
  8. <div>@Ambrose1283</div>
  9. <div>3 min ago</div>
  10. </div>
  11. </div>
  12. <div class="item">
  13. <div class="left">
  14. <img :src="require('@/assets/svg/icon-btn-box.svg')" alt="" />
  15. </div>
  16. <div class="right">
  17. <div>@Ambrose1283</div>
  18. <div>3 min ago</div>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="info">
  23. Invite people to hunt treasure with you!
  24. </div>
  25. </template>
  26. <script setup>
  27. import { reactive } from 'vue'
  28. let state = reactive({
  29. page: '封面'
  30. })
  31. </script>
  32. <style lang="scss" scoped>
  33. .info {
  34. color: #BABABA;
  35. font-weight: 500;
  36. font-size: 15px;
  37. }
  38. .list {
  39. .item {
  40. height: 60px;
  41. display: flex;
  42. align-items: center;
  43. .left {
  44. width: 58px;
  45. text-align: center;
  46. img {
  47. width: 30px;
  48. height: 30px;
  49. }
  50. }
  51. .right {
  52. flex: 1;
  53. border-bottom: 1px solid #D9D9D9;
  54. display: flex;
  55. align-items: center;
  56. height: 100%;
  57. justify-content: space-between;
  58. div:nth-child(1) {
  59. color: #000000;
  60. font-weight: 500;
  61. font-size: 15px;
  62. }
  63. div:nth-child(2) {
  64. color: #A6A6A6;
  65. font-weight: 400;
  66. font-size: 12px;
  67. margin-right: 17px;
  68. }
  69. }
  70. }
  71. }
  72. </style>