visits-cell.vue 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <template>
  2. <view class="visits-cell" @click="$emit('handlerVisits', visitsInfo.id)">
  3. <view class="visits-club">
  4. <image src="/static/icon-user-active@3x.png" mode="" class="visits-author"></image>
  5. <view>广州市渼洋阳医疗美容诊所有限公司</view>
  6. </view>
  7. <view class="visits-content">
  8. <view class="container">
  9. <view class="visits-name">
  10. 李淑霞
  11. </view>
  12. <view class="visits-phone">
  13. 13922400399
  14. </view>
  15. </view>
  16. <view class="container">
  17. <view class="visits-name concern">
  18. 关注点:
  19. </view>
  20. <view class="visits-concern">
  21. 黄金微针,水光针,微针,小气泡,热玛吉
  22. 激光,光子嫩肤
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. export default {
  30. props: {
  31. visitsInfo: {
  32. type: Object,
  33. default: () => {}
  34. }
  35. }
  36. }
  37. </script>
  38. <style scoped lang="scss">
  39. .visits-cell {
  40. margin: 0 auto 24rpx auto;
  41. width: 702rpx;
  42. border-radius: 16rpx;
  43. padding: 35rpx 32rpx;
  44. background-color: #fff;
  45. box-sizing: border-box;
  46. .visits-club {
  47. height: 70rpx;
  48. font-size: 32rpx;
  49. font-weight: bold;
  50. color:#333333;
  51. overflow: hidden;
  52. text-overflow: ellipsis;
  53. white-space: nowrap;
  54. display: flex;
  55. align-items: center;
  56. border-bottom: 1rpx solid #E1E1E1;
  57. padding-bottom: 18rpx;
  58. .visits-author {
  59. width: 56rpx;
  60. height: 56rpx;
  61. border-radius: 50%;
  62. object-fit: contain;
  63. margin-right: 16rpx;
  64. background-color: #FFF0E2;
  65. }
  66. }
  67. .visits-content {
  68. padding: 40rpx 0 0 0;
  69. .container {
  70. display: flex;
  71. font-size: 28rpx;
  72. .visits-name {
  73. white-space: nowrap;
  74. color: #333333;
  75. }
  76. .concern {
  77. font-weight: bold;
  78. }
  79. .visits-phone {
  80. margin-left: 28rpx;
  81. margin-bottom: 24rpx;
  82. }
  83. .visits-concern {
  84. line-height: 48rpx;
  85. }
  86. }
  87. }
  88. }
  89. </style>