homePage.vue 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <template>
  2. <view>
  3. <!-- 头部 -->
  4. <view class="header">
  5. <view class="main">
  6. <view class="title">
  7. <view class="name">
  8. <view class="text">
  9. 你好,孙斌!
  10. </view>
  11. <view class="icon">
  12. <u-icon name='arrow-down' color="#fff" size="28"></u-icon>
  13. </view>
  14. </view>
  15. <view class="qr-code">
  16. <img src="../../../assets/img/riLine-qr-scan-line@1x.png" alt="">
  17. </view>
  18. </view>
  19. <!-- 公告 -->
  20. <view class="notice">
  21. <u-icon name="volume-up-fill" size="40" color="#fff"></u-icon>
  22. <text>库存PDA设备将于2023年4月1日升级维护</text>
  23. </view>
  24. </view>
  25. </view>
  26. <!-- 宫格 -->
  27. <view class="gird">
  28. <view class="item">
  29. <view class="title">
  30. 设备出库
  31. </view>
  32. <view class="hint">
  33. 申请物品登记核准出库
  34. </view>
  35. <view class="img">
  36. <img src="../../../assets/img/girdH1.png" alt="">
  37. </view>
  38. </view>
  39. <view class="item">
  40. <view class="title">
  41. 设备入库
  42. </view>
  43. <view class="hint">
  44. 申购采购收货入库登记
  45. </view>
  46. <view class="img">
  47. <img src="../../../assets/img/girdH2.png" alt="">
  48. </view>
  49. </view>
  50. <view class="item">
  51. <view class="title">
  52. 设备巡检
  53. </view>
  54. <view class="hint">
  55. 当前物品计量库存盘点
  56. </view>
  57. <view class="img">
  58. <img src="../../../assets/img/girdH3.png" alt="">
  59. </view>
  60. </view>
  61. <view class="item">
  62. <view class="title">
  63. 设备检索
  64. </view>
  65. <view class="hint">
  66. 库存物品信息检索
  67. </view>
  68. <view class="img">
  69. <img src="../../../assets/img/girdH4.png" alt="">
  70. </view>
  71. </view>
  72. </view>
  73. <!-- 其他功能 -->
  74. <view class="other-functions">
  75. <view class="title">
  76. 其他功能
  77. </view>
  78. <view class="function-gird">
  79. <view class="item">
  80. <img src="../../../assets/img/riLine-file-add-line@1x.png" alt="">
  81. <text>新增巡检</text>
  82. </view>
  83. <view class="item">
  84. <img src="../../../assets/img/riLine-printer-line@1x.png" alt="">
  85. <text>打印标签</text>
  86. </view>
  87. <view class="item">
  88. <img src="../../../assets/img/riLine-spam-line@1x.png" alt="">
  89. <text>故障申报</text>
  90. </view>
  91. <view class="item">
  92. <img src="../../../assets/img/riLine-arrow-left-right-line@1x.png" alt="">
  93. <text>设备移交</text>
  94. </view>
  95. </view>
  96. </view>
  97. </view>
  98. </template>
  99. <script>
  100. export default {
  101. data() {
  102. return {
  103. }
  104. },
  105. methods: {
  106. }
  107. }
  108. </script>
  109. <style lang="scss" scoped>
  110. page{
  111. background-color: rgba(1,122,255,1);
  112. padding-bottom: 100rpx;
  113. }
  114. // 头部
  115. .header{
  116. width: 100%;
  117. height: 339px;
  118. background:linear-gradient(180deg, rgba(0,45,194,1) 0%,rgba(0,59,254,1) 49%,rgba(1,122,255,1) 100%);
  119. padding: 0 40rpx;
  120. .main{
  121. width: 100%;
  122. height: 100%;
  123. background: url(../../../assets/img/background.png) no-repeat;
  124. background-position: top -70rpx right -50rpx;
  125. position: relative;
  126. }
  127. .title{
  128. display: flex;
  129. justify-content: space-between;
  130. align-items: center;
  131. color: rgba(255, 255, 255, 1);
  132. line-height: 88rpx;
  133. .name{
  134. display: flex;
  135. font-size: 40rpx;
  136. }
  137. .qr-code{
  138. display: flex;
  139. }
  140. }
  141. // 公告
  142. .notice{
  143. display: flex;
  144. align-items: center;
  145. background-color: rgba(255, 255, 255, 0.35);
  146. color: rgba(255, 255, 255, 1);
  147. font-weight: bold;
  148. border-radius: 8px;
  149. height: 80rpx;
  150. line-height: 80rpx;
  151. padding: 0 24rpx;
  152. position: absolute;
  153. bottom: 260rpx;
  154. left: 0;
  155. right: 0;
  156. text{
  157. font-size: 28rpx;
  158. width: 542px;
  159. margin-left: 16rpx;
  160. white-space: nowrap;
  161. overflow: hidden;
  162. text-overflow: ellipsis;
  163. }
  164. }
  165. }
  166. // 宫格
  167. .gird{
  168. padding: 0 40rpx;
  169. display: flex;
  170. justify-content: space-between;
  171. flex-wrap: wrap;
  172. margin-top: -216rpx;
  173. .item{
  174. width: 320rpx;
  175. height: 320rpx;
  176. background-color: rgba(255, 255, 255, 1);
  177. border-radius: 8px;
  178. padding: 32rpx 24rpx;
  179. position: relative;
  180. margin-bottom: 30rpx;
  181. .title{
  182. color: rgba(16, 16, 16, 1);
  183. font-size: 36rpx;
  184. margin-bottom: 8rpx;
  185. font-family: 'Alibaba-PuHuiTi-Regular';
  186. }
  187. .hint{
  188. color: rgba(106, 121, 142, 1);
  189. font-size: 24rpx;
  190. margin-bottom: 44rpx;
  191. }
  192. .img{
  193. width: 128rpx;
  194. height: 128rpx;
  195. position: absolute;
  196. right: 24rpx;
  197. bottom: 24rpx;
  198. img{
  199. width: 100%;
  200. height: 100%;
  201. }
  202. }
  203. }
  204. }
  205. // 其他功能
  206. .other-functions{
  207. padding: 0 40rpx;
  208. .title{
  209. color: rgba(255, 255, 255, 1);
  210. font-size: 36rpx;
  211. margin-bottom: 16rpx;
  212. }
  213. .function-gird{
  214. display: flex;
  215. flex-wrap: wrap;
  216. justify-content: space-between;
  217. .item{
  218. display: flex;
  219. align-items: center;
  220. justify-content: center;
  221. width: 320rpx;
  222. height: 80rpx;
  223. line-height: 80rpx;
  224. margin-bottom: 24rpx;
  225. color: rgba(255, 255, 255, 1);
  226. border-radius: 8px;
  227. background-color: rgba(255, 255, 255, 0.25);
  228. text-align: center;
  229. border: 1px solid rgba(255, 255, 255, 0.35);
  230. img{
  231. width: 32rpx;
  232. height: 32rpx;
  233. margin-right: 8rpx;
  234. }
  235. }
  236. }
  237. }
  238. </style>