home.vue 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. <!-- 气瓶供应商首页 -->
  2. <template>
  3. <view class="supplierCylinderManagement-home">
  4. <view class="home-page">
  5. <nav-bar :title="title" :background="background"></nav-bar>
  6. <view class="top-back-img" :style="{top:navHeight+'rpx'}">
  7. <img class="position-img" :src="rectangleLogo">
  8. </view>
  9. <view class="button-one-box">
  10. <view class="button-min" @click="goPage()" style="margin:23rpx 0 0 20rpx;">
  11. <img class="button-img" :src="imagesUrl('home/icon_sy_aqks@1x.png')">
  12. <view class="button-name">气瓶管理</view>
  13. </view>
  14. </view>
  15. <tab-bar></tab-bar>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. import {
  21. pageRestrictVerify
  22. } from '@/utils/index'
  23. import {
  24. chemicalAppletSelectStockInfo,
  25. laboratorySubPassOutIsotopeSubSign,
  26. systemUserProfile,
  27. systemUserGetPost,
  28. hwmsAppRegisterApprovalIsPermit,
  29. } from '@/pages/api/index.js'
  30. import {
  31. navBar
  32. } from '@/pages/component/navbar.vue'
  33. import {
  34. tabBar
  35. } from '@/pages/views/supplierCylinderManagement/tabBar.vue'
  36. export default {
  37. name: "supplierCylinderManagement-home",
  38. components: {
  39. navBar,
  40. tabBar,
  41. },
  42. data() {
  43. return {
  44. pageType: 2,
  45. navHeight: uni.getStorageSync('navHeight'),
  46. dataPageType: false,
  47. title: '实验室安全智慧化管控系统',
  48. background: '#0183FA',
  49. rectangleLogo: uni.getStorageSync('rectangleLogo'),
  50. identityData: uni.getStorageSync('identityData'),
  51. }
  52. },
  53. created() {
  54. },
  55. mounted() {
  56. },
  57. methods: {
  58. goPage(type) {
  59. //气瓶管理
  60. uni.navigateTo({
  61. url: "/pages_supplierCylinderManagement/views/gasCylinderManagement/index",
  62. });
  63. },
  64. }
  65. }
  66. </script>
  67. <style lang="stylus" scoped>
  68. @import '@/api/request/imagesUrl.styl';
  69. .supplierCylinderManagement-home {
  70. flex: 1;
  71. display: flex;
  72. flex-direction: column;
  73. overflow: hidden;
  74. .data-board {
  75. flex: 1;
  76. display: flex;
  77. flex-direction: column;
  78. overflow: hidden;
  79. }
  80. .home-page {
  81. flex: 1;
  82. display: flex;
  83. flex-direction: column;
  84. overflow-y: scroll;
  85. overflow-x: hidden;
  86. padding-bottom: 120rpx;
  87. .top-page-title {
  88. text-align: center;
  89. font-size: 28rpx;
  90. background-color: #0183FA;
  91. color: #fff;
  92. }
  93. .top-back-img {
  94. position: absolute;
  95. top: 0;
  96. left: 0;
  97. width: 750rpx;
  98. height: 539rpx;
  99. background: url($imagesUrl+'home/img_sy_bg@1x.png') no-repeat;
  100. background-size: 100%;
  101. background-repeat: no-repeat;
  102. .position-img {
  103. z-index: 5;
  104. position: absolute;
  105. left: 0;
  106. top: 10rpx;
  107. width: 400rpx;
  108. height: 88rpx;
  109. }
  110. .position-data-button {
  111. z-index: 5;
  112. position: fixed;
  113. right: 0;
  114. top: 180rpx;
  115. width: 130rpx;
  116. height: 109rpx;
  117. /* line-height: 50rpx;
  118. background-color: #0183fa;
  119. color: #fff;
  120. font-size: 28rpx;
  121. text-align: center;
  122. border-top-left-radius: 30rpx;
  123. border-bottom-left-radius: 30rpx; */
  124. }
  125. }
  126. .button-one-box {
  127. z-index: 5;
  128. background: #fff;
  129. width: 690rpx;
  130. border-radius: 20rpx;
  131. padding: 13px 0 20px;
  132. overflow: hidden;
  133. margin: 490rpx 30rpx 0;
  134. .button-min {
  135. display: inline-block;
  136. overflow: hidden;
  137. width: 172rpx;
  138. height: 123rpx;
  139. margin-top: 23rpx;
  140. .button-img {
  141. display: block;
  142. width: 80rpx;
  143. height: 80rpx;
  144. margin: 0 auto;
  145. }
  146. .button-name {
  147. margin-top: 15rpx;
  148. height: 28rpx;
  149. line-height: 28rpx;
  150. font-size: 28rpx;
  151. text-align: center;
  152. color: #333;
  153. }
  154. }
  155. }
  156. .button-two-box {
  157. z-index: 5;
  158. width: 690rpx;
  159. height: 120rpx;
  160. display: flex;
  161. margin: 20rpx 30rpx 0;
  162. .button-big-box {
  163. width: 335rpx;
  164. display: flex;
  165. border-radius: 20rpx;
  166. img {
  167. display: block;
  168. margin: 20rpx 25rpx 0 25rpx;
  169. height: 80rpx;
  170. width: 80rpx;
  171. }
  172. .button-min-box {
  173. view:nth-child(1) {
  174. line-height: 32rpx;
  175. height: 32rpx;
  176. font-size: 30rpx;
  177. color: #333;
  178. margin: 20rpx 0 18rpx;
  179. }
  180. view:nth-child(2) {
  181. line-height: 28rpx;
  182. height: 28rpx;
  183. font-size: 26rpx;
  184. color: #999;
  185. }
  186. }
  187. }
  188. }
  189. .button-three-box-1 {
  190. z-index: 5;
  191. width: 690rpx;
  192. height: 130rpx;
  193. margin: 20rpx 30rpx 0;
  194. .button-big-box {
  195. border-radius: 20rpx;
  196. background-color: #CDE7FF;
  197. display: flex;
  198. img {
  199. display: block;
  200. width: 134rpx;
  201. height: 104rpx;
  202. margin: 23rpx 34rpx 0 30rpx;
  203. }
  204. .button-min-box {
  205. view:nth-child(1) {
  206. line-height: 30rpx;
  207. height: 30rpx;
  208. font-size: 30rpx;
  209. color: #0183FA;
  210. margin: 27rpx 0 15rpx;
  211. }
  212. view:nth-child(2) {
  213. line-height: 26rpx;
  214. height: 26rpx;
  215. font-size: 26rpx;
  216. color: #666666;
  217. }
  218. }
  219. }
  220. }
  221. .button-three-box {
  222. z-index: 5;
  223. width: 690rpx;
  224. height: 130rpx;
  225. margin: 20rpx 30rpx 0;
  226. .button-big-box-1 {
  227. background: #CDE7FF;
  228. .button-min-box {
  229. view:nth-child(1) {
  230. color: #0183FA;
  231. }
  232. view:nth-child(2) {
  233. color: #666666;
  234. }
  235. }
  236. }
  237. .button-big-box {
  238. height: 130rpx;
  239. border-radius: 20rpx;
  240. display: flex;
  241. img {
  242. display: block;
  243. width: 134rpx;
  244. height: 104rpx;
  245. margin: 23rpx 34rpx 0 30rpx;
  246. }
  247. .button-min-box {
  248. view:nth-child(1) {
  249. line-height: 30rpx;
  250. height: 30rpx;
  251. font-size: 30rpx;
  252. margin: 30rpx 0 15rpx;
  253. }
  254. view:nth-child(2) {
  255. line-height: 26rpx;
  256. height: 26rpx;
  257. font-size: 26rpx;
  258. }
  259. }
  260. }
  261. }
  262. .scan_btn {
  263. z-index: 10;
  264. position: fixed;
  265. bottom: 210rpx;
  266. right: 0rpx;
  267. width: 140rpx;
  268. height: 140rpx;
  269. }
  270. }
  271. }
  272. </style>