visitorDetails.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <template>
  2. <Page title="访客计划详情">
  3. <template v-slot:body>
  4. <!-- 头部 -->
  5. <div class="planDetailsHead">
  6. <div class="w-full flex items-center justify-between">
  7. <div class="text-size-in font-bold text-[#474A56]">535计划</div>
  8. <div :class="`labelTag completed`">待完成</div>
  9. </div>
  10. <div class="w-full mt-4">拜访目的:建立客情</div>
  11. <div class="w-full mt-4">拜访时间:2021-08-05 14:00</div>
  12. <div class="line"></div>
  13. <div class="w-full flex items-center">
  14. <van-icon name="user-circle-o" class="text-size-in mr-2" />
  15. 客户:
  16. <div class="ml-2 themeTextColor decoration-auto underline">苹果集团</div>
  17. </div>
  18. </div>
  19. <!-- 主体 -->
  20. <van-cell-group>
  21. <van-cell title="计划名称" value="内容" />
  22. <van-cell title="客户姓名" value="内容" />
  23. <van-cell title="负责人" value="内容" />
  24. <van-cell title="拜访目的" value="内容" />
  25. <van-cell title="拜访时间" value="内容" />
  26. <van-cell title="提醒" value="内容" />
  27. <van-cell title="提醒时间" value="内容" />
  28. <van-cell title="备注" value="内容" />
  29. </van-cell-group>
  30. <div class="h-10"></div>
  31. </template>
  32. <template v-slot:footer>
  33. <div class="w-full flex justify-between layout">
  34. <div class="footerBtnLeft layouts">
  35. <div class="imgClss"></div>
  36. 联系人
  37. </div>
  38. <div class="footerBtnRight layouts">
  39. <div class="imgClss"></div>
  40. 延期
  41. </div>
  42. <div class="coverWithWhite"></div>
  43. <div class="bigCircle">
  44. <div class="imgClss"></div>
  45. 完成
  46. </div>
  47. </div>
  48. </template>
  49. </Page>
  50. </template>
  51. <script setup>
  52. import { ref } from "vue";
  53. import { useLifecycle } from "@hooks/useCommon.js";
  54. useLifecycle({
  55. load: () => {
  56. // 添加加载逻辑
  57. },
  58. });
  59. </script>
  60. <style lang="scss" scoped>
  61. .planDetailsHead {
  62. background: #ffa35919;
  63. padding: 14px 18px;
  64. margin: 10px;
  65. .toBeCompleted {
  66. background: rgba($color: #f38b3c, $alpha: 0.1);
  67. border-color: #f38b3c;
  68. color: #f38b3c;
  69. }
  70. .completed {
  71. background: rgba($color: #07c160, $alpha: 0.1);
  72. border-color: #07c160;
  73. color: #07c160;
  74. }
  75. .labelTag {
  76. font-size: 10px;
  77. padding: 3px 8px;
  78. border-radius: 4px;
  79. border: 1px solid;
  80. }
  81. .line {
  82. width: 100%;
  83. height: 1px;
  84. background-color: #E6D3C7;
  85. margin: 14px 0;
  86. }
  87. }
  88. .layout {
  89. height: 90px;
  90. position: relative;
  91. .layouts {
  92. width: 40%;
  93. height: 100%;
  94. background: #fff;
  95. box-shadow: 0px -2px 30px 0px #00000014;
  96. display: flex;
  97. flex-direction: column;
  98. align-items: center;
  99. justify-content: center;
  100. }
  101. .footerBtnLeft {
  102. border-top-right-radius: 25px;
  103. .imgClss {
  104. width: 30px;
  105. height: 30px;
  106. background-color: #000;
  107. margin-bottom: 6px;
  108. }
  109. }
  110. .footerBtnRight {
  111. border-top-left-radius: 25px;
  112. .imgClss {
  113. width: 26px;
  114. height: 24px;
  115. background-color: #000;
  116. margin-bottom: 9px;
  117. }
  118. }
  119. .coverWithWhite {
  120. width: 20%;
  121. background: #fff;
  122. position: absolute;
  123. bottom: 0;
  124. left: 50%;
  125. transform: translateX(-50%);
  126. height: 70px;
  127. z-index: 1;
  128. }
  129. .bigCircle{
  130. width: 80px;
  131. height: 80px;;
  132. border-radius: 50%;
  133. background: $themeColor;
  134. box-shadow: 0px -2px 30px 0px #00000014;
  135. position: absolute;
  136. bottom: 27px;
  137. left: 50%;
  138. transform: translateX(-50%);
  139. z-index: 2;
  140. color: #fff;
  141. display: flex;
  142. align-items: center;
  143. justify-content: center;
  144. flex-direction: column;
  145. .imgClss {
  146. width: 25.5px;
  147. height: 25.5px;
  148. margin-bottom: 4px;
  149. background: #000;
  150. }
  151. }
  152. }
  153. </style>