statistical_analysis_table.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <template>
  2. <view class="content">
  3. <view class="item_box" style="background-color: #638BD5;" @click="go_meitan_cxl()">
  4. <view class="img">
  5. <image src="./icon/icon_1.png" mode=""></image>
  6. </view>
  7. <view class="text">
  8. <view class="name">煤炭产销量</view>
  9. <!-- <view class="tip"></view> -->
  10. </view>
  11. </view>
  12. <view class="item_box" style="background-color: #A3A2E4;">
  13. <view class="img">
  14. <image src="./icon/icon_2.png" mode=""></image>
  15. </view>
  16. <view class="text">
  17. <view class="name">车辆使用统计</view>
  18. </view>
  19. </view>
  20. <view class="item_box" style="background-color: #8BC8DA;">
  21. <view class="img">
  22. <image src="./icon/icon_3.png" mode=""></image>
  23. </view>
  24. <view class="text">
  25. <view class="name">入井统计</view>
  26. </view>
  27. </view>
  28. <view class="item_box" style="background-color: #FBB47B;">
  29. <view class="img">
  30. <image src="./icon/icon_4.png" mode=""></image>
  31. </view>
  32. <view class="text">
  33. <view class="name">天然气及矿井水</view>
  34. </view>
  35. </view>
  36. <view class="item_box" style="background-color:#C883BF;">
  37. <view class="img">
  38. <image src="./icon/icon_5.png" mode=""></image>
  39. </view>
  40. <view class="text">
  41. <view class="name">设备管理</view>
  42. </view>
  43. </view>
  44. <view class="item_box" style="background-color: #31B3F7;">
  45. <view class="img">
  46. <image src="./icon/icon_6.png" mode=""></image>
  47. </view>
  48. <view class="text">
  49. <view class="name">车辆运行</view>
  50. </view>
  51. </view>
  52. <view class="item_box" style="background-color: #54CC65">
  53. <view class="img">
  54. <image src="./icon/icon_7.png" mode=""></image>
  55. </view>
  56. <view class="text">
  57. <view class="name">产销运平衡比对月度分析报告</view>
  58. </view>
  59. </view>
  60. <view class="item_box" style="background-color: #638BD5;">
  61. <view class="img">
  62. <image src="./icon/icon_8.png" mode=""></image>
  63. </view>
  64. <view class="text">
  65. <view class="name">天然气及矿井水月度分析报告</view>
  66. </view>
  67. </view>
  68. </view>
  69. </template>
  70. <script>
  71. export default {
  72. data() {
  73. return {
  74. };
  75. },
  76. methods:{
  77. go_meitan_cxl(){
  78. uni.navigateTo({
  79. url:"./meitan_cxl/meitan_cxl"
  80. })
  81. }
  82. }
  83. }
  84. </script>
  85. <style lang="scss">
  86. .content {
  87. box-sizing: border-box;
  88. padding: 20rpx 25rpx 0;
  89. margin-bottom: 100rpx;
  90. overflow: hidden;
  91. .item_box {
  92. float: left;
  93. width: 220rpx;
  94. height: 280rpx;
  95. margin-right: 20rpx;
  96. margin-bottom: 20rpx;
  97. border-radius: 16rpx;
  98. .img {
  99. box-sizing: border-box;
  100. padding-top: 60rpx;
  101. text-align: center;
  102. image {
  103. width: 90rpx;
  104. height: 90rpx;
  105. }
  106. }
  107. .text {
  108. margin-top: 30rpx;
  109. text-align: center;
  110. color: #FFFFFF;
  111. line-height: 40rpx;
  112. .name {
  113. font-size: 28rpx;
  114. }
  115. .tip {
  116. font-size: 24rpx;
  117. white-space: nowrap;
  118. overflow: hidden;
  119. text-overflow: ellipsis;
  120. }
  121. }
  122. }
  123. .item_box:nth-child(3n) {
  124. margin-right: 0;
  125. }
  126. }
  127. </style>