visitHistory.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <template>
  2. <!-- 拜访历史 -->
  3. <div class="visitHistory">
  4. <div class="headers">
  5. <van-nav-bar class="navBar" :title="$route.meta.title" left-arrow @click-left="onClickLeft" />
  6. </div>
  7. <div class="container">
  8. <div class="card" v-if="data">
  9. <div class="title f-blue">
  10. {{ data.storeName }}(<span style="color: #0057ba">{{ data.storeCode }}</span
  11. >)
  12. </div>
  13. <div class="info">客户分类:{{ data.storeCategory }}</div>
  14. <div class="info">实际经营者:{{ data.storeCategory }}</div>
  15. <div class="info">开户日期:{{ data.storeCategory }}</div>
  16. <div class="info">是否冻结:{{ data.storeCategory }}</div>
  17. <div class="info">是否关户:{{ data.storeCategory }}</div>
  18. </div>
  19. <div style="color: #999; font-size: 12px; padding: 10px; background-color: #f5f5f5">
  20. <van-icon name="info-o" />&nbsp;历史拜访。
  21. </div>
  22. <div class="card">
  23. <div
  24. class="info"
  25. v-for="(item, index) in list"
  26. :key="index"
  27. @click="examineHistory(item, index)"></div>
  28. </div>
  29. </div>
  30. </div>
  31. </template>
  32. <script>
  33. export default {
  34. name: 'visitPage',
  35. data() {
  36. return {
  37. data: null,
  38. storeId: '',
  39. };
  40. },
  41. created() {
  42. this.storeId = this.$route.query.storeId;
  43. },
  44. mounted() {},
  45. methods: {
  46. // 查看拜访历史详情
  47. examineHistory(item) {},
  48. onClickLeft() {
  49. this.$router.go(-1);
  50. },
  51. },
  52. };
  53. </script>
  54. <style lang="scss" scoped>
  55. .visitHistory {
  56. width: 100%;
  57. height: 100%;
  58. overflow: hidden;
  59. display: flex;
  60. flex-direction: column;
  61. .container {
  62. overflow-y: auto;
  63. flex: 1;
  64. margin-bottom: 10px;
  65. background-color: white;
  66. }
  67. }
  68. .card {
  69. background: #fff;
  70. box-sizing: border-box;
  71. padding: 10px 16px;
  72. .title {
  73. line-height: 32px;
  74. font-size: 16px;
  75. font-weight: bold;
  76. color: #333;
  77. }
  78. .subtitle {
  79. line-height: 24px;
  80. font-size: 14px;
  81. color: #7b7b7b;
  82. .status {
  83. float: right;
  84. }
  85. }
  86. .info {
  87. font-size: 14px;
  88. color: #484848;
  89. padding: 14px;
  90. border-bottom: 1px solid #f1f1f1;
  91. position: relative;
  92. .arrow {
  93. float: right;
  94. display: inline-block;
  95. height: 20px;
  96. width: 20px;
  97. line-height: 20px;
  98. text-align: center;
  99. border-radius: 50%;
  100. background: #0057ba;
  101. color: #fff;
  102. font-weight: bold;
  103. font-size: 14px;
  104. position: absolute;
  105. margin-top: -10px;
  106. right: 0;
  107. top: 50%;
  108. }
  109. }
  110. .info1 {
  111. font-size: 14px;
  112. color: #666;
  113. line-height: 18px;
  114. padding: 4px 0;
  115. position: relative;
  116. .arrow {
  117. float: right;
  118. display: inline-block;
  119. height: 20px;
  120. width: 20px;
  121. line-height: 20px;
  122. text-align: center;
  123. border-radius: 50%;
  124. background: #0057ba;
  125. color: #fff;
  126. font-weight: bold;
  127. font-size: 14px;
  128. margin-top: 9px;
  129. position: absolute;
  130. right: 0;
  131. top: 50%;
  132. margin-top: -10px;
  133. }
  134. }
  135. }
  136. .card .f-blue {
  137. color: #0057ba;
  138. }
  139. </style>