tm-check-map-list.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <view class="content-wrap">
  3. <view class="title-wrap">
  4. <text>{{item.name}}</text>
  5. <view>
  6. <image src="../../static/icon-map.png"></image>
  7. <text>{{item.deptClassName}}</text>
  8. </view>
  9. </view>
  10. <view class="content">
  11. <text>包含{{item.pointCount || 0}}个查核要点,{{item.itemCount || 0}}个查核项目</text>
  12. <text>
  13. 要点概览:
  14. <text v-for="(point, c) in item.pointList" :key="c">
  15. {{point.name}};
  16. </text>
  17. </text>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. props: ['item']
  24. }
  25. </script>
  26. <style lang="less">
  27. .content-wrap {
  28. .title-wrap {
  29. display: flex;
  30. flex-direction: row;
  31. align-items: center;
  32. padding: 0 25rpx;
  33. >text {
  34. font-size: 35rpx;
  35. line-height: 52.5rpx;
  36. color: #292C33;
  37. }
  38. >view {
  39. display: flex;
  40. flex-direction: row;
  41. align-items: center;
  42. margin-left: 20rpx;
  43. border-radius: 17.5rpx;
  44. height: 35rpx;
  45. font-size: 17.5rpx;
  46. line-height: 35rpx;
  47. color: #8F9BB3;
  48. background-color: #EDF2FA;
  49. image {
  50. width: 35rpx;
  51. height: 35rpx;
  52. }
  53. text {
  54. padding-left: 10rpx;
  55. padding-right: 20rpx;
  56. }
  57. }
  58. }
  59. .content {
  60. display: flex;
  61. flex-direction: column;
  62. padding: 11.25rpx 25rpx 20rpx;
  63. >text {
  64. overflow: hidden;
  65. white-space: nowrap;
  66. text-overflow: ellipsis;
  67. font-size: 20rpx;
  68. line-height: 30rpx;
  69. color: #666F80;
  70. &:first-child {
  71. margin-bottom: 5rpx;
  72. font-weight: bold;
  73. color: #292C33;
  74. }
  75. }
  76. }
  77. }
  78. </style>