infoPage.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <!-- 登记称重详情 -->
  2. <template>
  3. <view class="weighingRegistrationInfoPage">
  4. <view class="title-p" style="margin-top:20rpx;">基础信息</view>
  5. <view class="title-weight-p">称重登记单编号:{{newData.listNewData1}}</view>
  6. <view class="text-p">实验室:{{newData.listNewData2}}</view>
  7. <view class="text-p">上门回收日期:{{newData.listNewData3}}</view>
  8. <view class="text-p">报备人:{{newData.listNewData4}}</view>
  9. <view class="text-p">报备时间:{{newData.listNewData5}}</view>
  10. <view class="text-p">称重登记人:{{newData.listNewData6}}</view>
  11. <view class="text-p">称重登记时间:{{newData.listNewData7}}</view>
  12. <view class="text-p">回收人员确认时间:{{newData.listNewData8}}</view>
  13. <view class="signature-box">
  14. <view>回收人员签名:</view>
  15. <img :src="newData.listNewData9">
  16. </view>
  17. <view class="title-p">称重登记内容</view>
  18. <view class="text-weight-box">
  19. <view>危险废物种类</view>
  20. <view>共{{dataList.length}}种</view>
  21. </view>
  22. <view class="text-box" v-for="(item,index) in dataList" :key="index">
  23. <view>{{item.name}}</view>
  24. <view>{{item.value}}{{item.unit}}</view>
  25. </view>
  26. <view class="img-box">
  27. <view>图片</view>
  28. <view>
  29. <img :src="img" v-for="(img,imgIndex) in imgList" :key="imgIndex">
  30. </view>
  31. </view>
  32. <view class="flex-null-p"></view>
  33. </view>
  34. </template>
  35. <script>
  36. import {
  37. demo1,
  38. demo2
  39. } from '@/pages_hazardousWasteRecycling/api/index.js'
  40. export default {
  41. data() {
  42. return {
  43. newData:{
  44. listNewData0:'1',
  45. listNewData1:'HW202510400001',
  46. listNewData2:'植物营养实验室(A201)',
  47. listNewData3:'2025-11-05(星期四)',
  48. listNewData4:'王二小(2020110010)',
  49. listNewData5:'2025-11-04 10:10:09',
  50. listNewData6:'2025-11-04 10:10:09',
  51. listNewData7:'2025-11-04 10:10:09',
  52. listNewData8:'2025-11-04 10:10:09',
  53. listNewData9:'https://img0.baidu.com/it/u=966104283,4150027431&fm=253&fmt=auto&app=120&f=JPEG?w=667&h=500',
  54. },
  55. dataList:[
  56. {name:'实验室废液',value:'1',unit:'桶'},
  57. {name:'实验室废固',value:'2',unit:'袋'},
  58. {name:'动物解剖废弃物',value:'3',unit:'袋'},
  59. {name:'废旧试剂',value:'4',unit:'支'},
  60. {name:'剧毒废弃化学品',value:'5',unit:'瓶'},
  61. {name:'电池',value:'6',unit:'枚'},
  62. ],
  63. imgList:[
  64. 'https://img0.baidu.com/it/u=966104283,4150027431&fm=253&fmt=auto&app=120&f=JPEG?w=667&h=500',
  65. 'https://img0.baidu.com/it/u=966104283,4150027431&fm=253&fmt=auto&app=120&f=JPEG?w=667&h=500',
  66. 'https://img0.baidu.com/it/u=966104283,4150027431&fm=253&fmt=auto&app=120&f=JPEG?w=667&h=500',
  67. ],
  68. }
  69. },
  70. onLoad(option) {
  71. },
  72. onShow() {
  73. },
  74. mounted() {
  75. },
  76. methods: {
  77. },
  78. }
  79. </script>
  80. <style lang="stylus" scoped>
  81. .weighingRegistrationInfoPage{
  82. height: 100%;
  83. display flex;
  84. flex-direction column;
  85. background-color: #fff;
  86. position: relative;
  87. overflow-x: hidden;
  88. overflow-y: scroll;
  89. .title-p{
  90. line-height:80rpx;
  91. font-size:34rpx;
  92. padding:0 30rpx;
  93. color:#0183FA;
  94. }
  95. .title-weight-p{
  96. line-height:60rpx;
  97. font-size:32rpx;
  98. padding:0 50rpx;
  99. color:#333;
  100. font-weight:700;
  101. }
  102. .text-p{
  103. line-height:60rpx;
  104. font-size:32rpx;
  105. padding:0 50rpx;
  106. color:#333;
  107. }
  108. .signature-box{
  109. display: flex;
  110. line-height:60rpx;
  111. font-size:32rpx;
  112. padding:0 50rpx;
  113. view{
  114. flex:1;
  115. }
  116. img{
  117. width:400rpx;
  118. height:160rpx;
  119. margin-top:15rpx;
  120. }
  121. }
  122. .img-box{
  123. line-height:60rpx;
  124. font-size:32rpx;
  125. padding:0 50rpx;
  126. margin-bottom:80rpx;
  127. view:nth-child(1){
  128. line-height:60rpx;
  129. font-size:32rpx;
  130. color:#333;
  131. font-weight:700;
  132. }
  133. view:nth-child(2){
  134. img{
  135. display: inline-block;
  136. width:210rpx;
  137. height:210rpx;
  138. }
  139. img:nth-child(2){
  140. margin:0 10rpx;
  141. }
  142. }
  143. }
  144. .positon-p{
  145. position: absolute;
  146. top:20rpx;
  147. right:30rpx;
  148. }
  149. .text-weight-box{
  150. display: flex;
  151. line-height:60rpx;
  152. font-size:32rpx;
  153. padding:0 50rpx;
  154. color:#333;
  155. font-weight:700;
  156. view:nth-child(1){
  157. flex:1;
  158. }
  159. view:nth-child(2){
  160. }
  161. }
  162. .text-box{
  163. display: flex;
  164. line-height:60rpx;
  165. font-size:32rpx;
  166. padding:0 50rpx;
  167. color:#333;
  168. view:nth-child(1){
  169. flex:1;
  170. }
  171. view:nth-child(2){
  172. }
  173. }
  174. .remark-box{
  175. line-height:60rpx;
  176. font-size:32rpx;
  177. padding:0 30rpx;
  178. color:#333;
  179. view:nth-child(1){
  180. line-height:80rpx;
  181. font-size:32rpx;
  182. color:#333;
  183. font-weight:700;
  184. }
  185. view:nth-child(2){
  186. padding:0 20rpx;
  187. line-height:50rpx;
  188. font-size:32rpx;
  189. color:#333;
  190. }
  191. }
  192. .flex-null-p{
  193. width:2rpx;
  194. height:20rpx;
  195. }
  196. .bottom-button-p{
  197. width:700rpx;
  198. height:80rpx;
  199. line-height:80rpx;
  200. font-size:34rpx;
  201. color:#fff;
  202. background-color: #0183FA;
  203. margin:40rpx 25rpx;
  204. border-radius:10rpx;
  205. text-align: center;
  206. }
  207. .colorA{
  208. color:#0183FA;
  209. }
  210. .colorB{
  211. color:#00CD66;
  212. }
  213. .colorC{
  214. color:#FF6A6A;
  215. }
  216. }
  217. </style>