index.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <template>
  2. <view class="container">
  3. <view class="header">
  4. </view>
  5. </view>
  6. </template>
  7. <script setup>
  8. import { ref } from 'vue'
  9. </script>
  10. <style>
  11. .container {
  12. font-family:Arial, Helvetica, sans-serif;
  13. font-size: 12px;
  14. }
  15. .header {
  16. font-size: 30rpx;
  17. font-weight: bold;
  18. height: 30px;
  19. background-color: #1296db;
  20. color: #ffffff;
  21. text-align: center;
  22. padding-top: 20px;
  23. }
  24. .service-back{
  25. display: flex;
  26. flex-wrap: wrap;
  27. background-color: white;
  28. border-radius: 0px 0px 10px 10px ;
  29. width: 100%;
  30. margin-bottom: 20rpx;
  31. padding-bottom: 10px;
  32. background-color: #1296db;
  33. }
  34. .services {
  35. display: flex;
  36. flex-wrap: wrap;
  37. background-color: white;
  38. border-radius: 10px;
  39. padding: 5px;
  40. margin: 20rpx;
  41. }
  42. .service-item {
  43. width: 25%;
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. margin-top: 10px;
  48. margin-bottom: 10px;
  49. }
  50. .service-item image {
  51. width: 80rpx;
  52. height: 80rpx;
  53. }
  54. .service-item text {
  55. font-size: 24rpx;
  56. margin-top: 20rpx;
  57. }
  58. .sections {
  59. display: flex;
  60. justify-content: space-between;
  61. margin: 20rpx;
  62. }
  63. .section-item {
  64. width: 30%;
  65. position: relative;
  66. height:130px;
  67. }
  68. .section-item image {
  69. width: 100%;
  70. height: 150px;
  71. border-radius: 6px;
  72. }
  73. .section-item text {
  74. position: absolute;
  75. bottom: 30%;
  76. left: 30%;
  77. color: #ffffff;
  78. font-size: 24rpx;
  79. }
  80. .company{
  81. display: flex;
  82. justify-content: space-between;
  83. height: 170px;
  84. border-radius: 10px;
  85. margin: 10px ;
  86. margin-top: 30px;
  87. overflow: hidden;
  88. }
  89. .company-image {
  90. width: 100%;
  91. display: flex;
  92. height: 170px;
  93. }
  94. .tab-bar {
  95. position: fixed;
  96. bottom: 0;
  97. left: 0;
  98. right: 0;
  99. height: 100rpx;
  100. display: flex;
  101. background-color: #ffffff;
  102. border-top: 1rpx solid #e0e0e0;
  103. }
  104. .tab-item {
  105. flex: 1;
  106. display: flex;
  107. flex-direction: column;
  108. align-items: center;
  109. justify-content: center;
  110. }
  111. .tab-item image {
  112. width: 40rpx;
  113. height: 40rpx;
  114. }
  115. .tab-item text {
  116. font-size: 24rpx;
  117. margin-top: 5rpx;
  118. }
  119. .tab-item.active {
  120. color: #1296db;
  121. }
  122. </style>