safetyManagementSystem.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <template>
  2. <view>
  3. <view class="bg">
  4. <image src="./icon/index.png" mode="widthFix"></image>
  5. <view class="seacher" @click="go_search()"></view>
  6. <view class="section_btn btn_1" @click="go_record('c8b342510c4e4a79800519b22ff052f1')"></view>
  7. <view class="section_btn btn_2" @click="go_record('dd5d82455cc14c4ebc47d577660ec431')"></view>
  8. <view class="section_btn btn_3" @click="go_record('a8c7667da26e46e3a3027e0c44edcecc')"></view>
  9. <view class="section_btn btn_4" @click="go_record('9280742a1997405aadaa1023dfebcfd4')"></view>
  10. <view class="section_btn btn_5" @click="go_record('9f400dc7d919481bb4ef545d9305e183')"></view>
  11. <view class="section_btn btn_6" @click="go_record('1a4dd63d18b243079005ec908fa600f7')"></view>
  12. <view class="section_btn btn_7" @click="go_record('9023b5d3f6914714a0af17a78fbc7fd0')"></view>
  13. <!-- 数据平台 -->
  14. <view class="system_btn system_btn_1" @click="go_system('../../ningdongyunying/production_statistics/production_statistics')"></view>
  15. <view class="system_btn system_btn_2" @click="go_system('../../ningdongyunying/personnel_orientation/personnel_orientation')"></view>
  16. <view class="system_btn system_btn_3" @click="go_system('../../ningdongyunying/safety_monitoring/safety_monitoring')"></view>
  17. <view class="system_btn system_btn_4" @click="go_system('../../production/video_monitor/video_monitor?mine_code=ningmeijituan')"></view>
  18. <view class="system_btn system_btn_5" @click="go_production()"></view>
  19. <!-- 动态信息 -->
  20. <view class="news_btn" @click="go_news('../../index/news/news_list/news_list?mine_code=ningmeijituan')"></view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {
  28. };
  29. },
  30. methods: {
  31. go_record(page_id){
  32. uni.navigateTo({
  33. url:"../../index/record/record?pageId=" + page_id + "&mine_code=ningmeijituan"
  34. })
  35. },
  36. go_system(url) {
  37. uni.navigateTo({
  38. url: url
  39. })
  40. },
  41. go_production(){
  42. uni.switchTab({
  43. url: "../../tabbar/production/production"
  44. })
  45. },
  46. go_news(url){
  47. uni.navigateTo({
  48. url: url
  49. })
  50. },
  51. go_search(){
  52. uni.navigateTo({
  53. url:"../../index/search/search?mine_code=ningmeijituan"
  54. })
  55. }
  56. }
  57. }
  58. </script>
  59. <style lang="scss">
  60. .bg {
  61. position: relative;
  62. image {
  63. width: 750rpx;
  64. }
  65. .seacher{
  66. position: absolute;
  67. top: 88rpx;
  68. left: 35rpx;
  69. width: 680rpx;
  70. height: 72rpx;
  71. border-radius: 15rpx;
  72. // background-color: red;
  73. }
  74. .section_btn{
  75. width: 138rpx;
  76. height: 138rpx;
  77. border-radius: 15rpx;
  78. // background-color: red;
  79. }
  80. .btn_1 {
  81. position: absolute;
  82. top: 462rpx;
  83. left: 116rpx;
  84. }
  85. .btn_2 {
  86. position: absolute;
  87. top: 462rpx;
  88. left: 302rpx;
  89. }
  90. .btn_3 {
  91. position: absolute;
  92. top: 462rpx;
  93. left: 496rpx;
  94. }
  95. .btn_4 {
  96. position: absolute;
  97. top: 642rpx;
  98. left: 40rpx;
  99. }
  100. .btn_5 {
  101. position: absolute;
  102. top: 642rpx;
  103. left: 216rpx;
  104. }
  105. .btn_6 {
  106. position: absolute;
  107. top: 642rpx;
  108. left: 388rpx;
  109. }
  110. .btn_7 {
  111. position: absolute;
  112. top: 642rpx;
  113. left: 572rpx;
  114. }
  115. .system_btn {
  116. position: absolute;
  117. top: 1530rpx;
  118. width: 72rpx;
  119. height: 72rpx;
  120. border-radius: 15rpx;
  121. // background-color: red;
  122. }
  123. .system_btn_1{
  124. position: absolute;
  125. left: 64rpx;
  126. }
  127. .system_btn_2{
  128. position: absolute;
  129. left: 200rpx;
  130. }
  131. .system_btn_3{
  132. position: absolute;
  133. left: 340rpx;
  134. }
  135. .system_btn_4{
  136. position: absolute;
  137. left: 480rpx;
  138. }
  139. .system_btn_5{
  140. position: absolute;
  141. left: 620rpx;
  142. }
  143. .news_btn{
  144. position: absolute;
  145. top: 2168rpx;
  146. left: 536rpx;
  147. width: 200rpx;
  148. height: 60rpx;
  149. border-radius: 15rpx;
  150. // background-color: red;
  151. }
  152. }
  153. </style>