index.vue 1.9 KB

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