index.vue 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <template>
  2. <view class="content">
  3. <view class="content-header">
  4. <view>智慧停车运营系统</view>
  5. </view>
  6. <view class="content-main">
  7. <view class="content-main-item" @click="jumpPage('pages/orderRecords/orderRecords')">
  8. <view class="t1">
  9. <u-icon name="file-text-fill" color="#fff" size="33"></u-icon>
  10. </view>
  11. <view class="name">订单记录</view>
  12. </view>
  13. <view class="content-main-item" @click="jumpPage('pages/operationOverview/operationOverview')">
  14. <view class="t2">
  15. <u-icon name="file-text-fill" color="#fff" size="33"></u-icon>
  16. </view>
  17. <view class="name">运营概况</view>
  18. </view>
  19. <view class="content-main-item" @click="jumpPage('pages/patrolManagement/patrolManagement')">
  20. <view class="t3">
  21. <u-icon name="file-text-fill" color="#fff" size="33"></u-icon>
  22. </view>
  23. <view class="name">巡检管理</view>
  24. </view>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. export default {
  30. data() {
  31. return {}
  32. },
  33. onLoad() {
  34. },
  35. methods: {
  36. jumpPage(url) {
  37. uni.$u.route({
  38. url
  39. })
  40. }
  41. }
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .content {
  46. &-header {
  47. height: 400rpx;
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. color: #fff;
  52. font-size: 64rpx;
  53. background: url('../../static/images/parking-info-bg.png') no-repeat center center;
  54. background-repeat: no-repeat;
  55. background-position: center center;
  56. background-size: cover;
  57. }
  58. &-main {
  59. padding: 0 54rpx;
  60. margin-top: -60rpx;
  61. &-item {
  62. padding: 50rpx 40rpx;
  63. border-radius: 20rpx;
  64. box-shadow: 0px 1px 30rpx 0px rgba(0, 0, 0, 0.1);
  65. background-color: #fff;
  66. margin-bottom: 30rpx;
  67. display: flex;
  68. align-items: center;
  69. view {
  70. &:first-child {
  71. width: 130rpx;
  72. height: 130rpx;
  73. border-radius: 50%;
  74. text-align: center;
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. }
  79. }
  80. .name {
  81. margin-left: 30rpx;
  82. }
  83. .t1 {
  84. background-color: #436EFD;
  85. }
  86. .t2 {
  87. background-color: #62D4A6;
  88. }
  89. .t3 {
  90. background-color: #9376F5;
  91. }
  92. }
  93. }
  94. }
  95. </style>