home.vue 6.0 KB

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