patrolScheme.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view class="container">
  3. <view class="title">巡检计划</view>
  4. <view class="item-box">
  5. <view hover-class="navigator-hover" class="item">
  6. <view class="label">待执行计划</view>
  7. <view class="count u-line-1">4</view>
  8. </view>
  9. <view hover-class="navigator-hover" class="item">
  10. <view class="label">进行中计划</view>
  11. <view class="count u-line-1">1</view>
  12. </view>
  13. <view hover-class="navigator-hover" class="item">
  14. <view class="label">巡检派工</view>
  15. <view class="count u-line-1">3</view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. name: 'patrolScheme',
  23. data() {
  24. return {
  25. };
  26. },
  27. created() {
  28. this.getDetail()
  29. },
  30. methods: {
  31. getDetail() {
  32. console.log('巡检计划暂时无接口')
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .container {
  39. width: 355px;
  40. height: 124px;
  41. padding: 10px;
  42. box-sizing: border-box;
  43. border-radius: 4px;
  44. background: #FFFFFF;
  45. margin: 0 auto;
  46. margin-top: 10px;
  47. .title {
  48. line-height: 22px;
  49. font-size: 16px;
  50. font-family: PingFang SC-Medium, PingFang SC;
  51. font-weight: bold;
  52. color: #333333;
  53. }
  54. .item-box {
  55. display: flex;
  56. justify-content: space-between;
  57. margin-top: 10px;
  58. .item {
  59. width: 105px;
  60. height: 72px;
  61. background: #EFF4FA;
  62. border-radius: 4px;
  63. padding: 10px;
  64. box-sizing: border-box;
  65. .label {
  66. line-height: 20px;
  67. font-size: 14px;
  68. font-family: PingFang SC-Regular, PingFang SC;
  69. color: #333333;
  70. }
  71. .count {
  72. line-height: 22px;
  73. font-size: 16px;
  74. font-family: PingFang SC-Medium, PingFang SC;
  75. font-weight: bold;
  76. color: #3874F6;
  77. margin-top: 10px;
  78. }
  79. }
  80. }
  81. }
  82. </style>