index.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <template>
  2. <!-- 扫码出库确认页面 -->
  3. <view class="">
  4. <view class="header">
  5. </view>
  6. <view class="content">
  7. <view class="content-one">
  8. <view>胎号</view>
  9. <view>物料</view>
  10. <view>预计奖励</view>
  11. </view>
  12. <view v-for="(item,index) in datalist" :key="index">
  13. <view class="content-two">
  14. <view>{{item.title}}</view>
  15. <view>{{item.type}}</view>
  16. <view>{{item.money}}元</view>
  17. </view>
  18. </view>
  19. <view class="content-three">
  20. <view>
  21. 合计:21元
  22. </view>
  23. </view>
  24. <view class="content-four">
  25. 注:请完善请完善请完善请完善请完善请完善请完善
  26. </view>
  27. </view>
  28. <view class="tail">
  29. 扫码确认
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. export default {
  35. data() {
  36. return {
  37. datalist: [
  38. {
  39. title: '202134103765',
  40. type: '165/60r1475hb h15bgbl',
  41. money: '3'
  42. },
  43. {
  44. title: '202134103765',
  45. type: '165/60r1475hb h15bgbl',
  46. money: '3'
  47. },
  48. {
  49. title: '202134103765',
  50. type: '165/60r1475hb h15bgbl',
  51. money: '3'
  52. },
  53. {
  54. title: '202134103765',
  55. type: '165/60r1475hb h15bgbl',
  56. money: '3'
  57. },
  58. {
  59. title: '202134103765',
  60. type: '165/60r1475hb h15bgbl',
  61. money: '3'
  62. },
  63. {
  64. title: '202134103765',
  65. type: '165/60r1475hb h15bgbl',
  66. money: '3'
  67. },
  68. ]
  69. }
  70. },
  71. onLoad() {
  72. },
  73. methods: {
  74. },
  75. }
  76. </script>
  77. <style lang="scss" scoped>
  78. .header {
  79. width: 100%;
  80. height: 280rpx;
  81. background-color: #0094FE;
  82. }
  83. .content {
  84. width: 711rpx;
  85. // height: 852rpx;
  86. position: absolute;
  87. top: 40rpx;
  88. left: 20rpx;
  89. background: #FFFFFF;
  90. box-shadow: 0px 0px 24px 0px rgba(101, 176, 249, 0.41);
  91. border-radius: 20px;
  92. }
  93. .content-one {
  94. display: flex;
  95. justify-content: space-between;
  96. }
  97. .content-one:nth-child(1) {
  98. margin-left: 90rpx;
  99. margin-right: 50rpx;
  100. font-weight: bold;
  101. margin-top: 30rpx;
  102. }
  103. .content-two {
  104. display: flex;
  105. justify-content: space-between;
  106. margin-top: 30rpx;
  107. line-height: 115rpx;
  108. width: 666rpx;
  109. margin: 0 auto;
  110. color: #9c9c9c;
  111. font-size: 28rpx;
  112. border-bottom: 1rpx solid #E8E8E8;
  113. }
  114. .content-two>view:nth-child(2) {
  115. width: 240rpx;
  116. line-height: 53rpx;
  117. text-align: center;
  118. margin-right: 100rpx;
  119. }
  120. .content-two>view:nth-child(3) {
  121. color: #149EE2;
  122. margin-right: 50rpx;
  123. }
  124. .tail {
  125. width: 678rpx;
  126. line-height: 83rpx;
  127. background: #0095FF;
  128. border-radius: 10rpx;
  129. position: fixed;
  130. top: 1100rpx;
  131. left: 36rpx;
  132. color: #fff;
  133. text-align: center;
  134. }
  135. .content-three>view:nth-child(1) {
  136. margin-left: 500rpx;
  137. line-height: 80rpx;
  138. font-weight: bolder;
  139. }
  140. .content-four {
  141. color: #acacac;
  142. font-size: 24rpx;
  143. margin-top: 30rpx;
  144. margin-left: 20rpx;
  145. margin-bottom: 50rpx;
  146. }
  147. </style>