task-item.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <template>
  2. <view class="task-item">
  3. <view class="task-head">
  4. <view class="sn-box">单据编号:CGDD00000000692</view>
  5. <view class="tips tips-red">待拣货</view>
  6. </view>
  7. <view class="task-line">
  8. <view>客户名称:</view>
  9. <view>快马阳光便利店</view>
  10. </view>
  11. <view class="task-line">
  12. <view>客户名称:</view>
  13. <view>快马阳光便利店</view>
  14. </view>
  15. <view class="task-line">
  16. <view class="task-line2">
  17. <view>货物总数:</view>
  18. <view class="task-num">55件</view>
  19. </view>
  20. <view class="task-line2">
  21. <view>货物种类:</view>
  22. <view class="task-num">55件</view>
  23. </view>
  24. </view>
  25. <view class="task-bottom">
  26. <view class="btn-1">去出库</view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default{
  32. props:{
  33. item:{
  34. type:Object,
  35. default:()=>{}
  36. }
  37. },
  38. data() {
  39. return{
  40. }
  41. }
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .task-item {
  46. width: 100%;
  47. background-color: #fff;
  48. border-radius: 16rpx;
  49. padding: 24rpx 24rpx 0;
  50. margin-bottom: 24rpx;
  51. .task-head {
  52. display: flex;
  53. align-items: center;
  54. justify-content: space-between;
  55. .sn-box {
  56. color: #333;
  57. font-family: "PingFang SC";
  58. font-size: 28rpx;
  59. font-weight: 500;
  60. }
  61. .tips {
  62. font-family: "PingFang SC";
  63. font-size: 22rpx;
  64. font-weight: 400;
  65. width: 120rpx;
  66. height: 44rpx;
  67. border-radius: 8rpx;
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. }
  72. .tips-red {
  73. color: #FF3B1D;
  74. background-color: #fff;
  75. background: rgba(255, 59, 29, 0.20);
  76. }
  77. }
  78. .task-line {
  79. display: flex;
  80. align-items: center;
  81. color: #666;
  82. font-family: "PingFang SC";
  83. font-size: 28rpx;
  84. font-weight: 400;
  85. margin-top: 16rpx;
  86. }
  87. .task-line2 {
  88. width: 50%;
  89. display: flex;
  90. align-items: center;
  91. .task-num {
  92. color: #0256FF;;
  93. }
  94. }
  95. .task-bottom {
  96. border-top: 1px solid #F0F0F0;
  97. margin-top: 32rpx;
  98. height: 104rpx;
  99. display: flex;
  100. align-items: center;
  101. justify-content: flex-end;
  102. .btn-1 {
  103. width: 144rpx;
  104. height: 56rpx;
  105. border-radius: 8rpx;
  106. background: #0256FF;
  107. color: #FFF;
  108. font-family: "PingFang SC";
  109. font-size: 28rpx;
  110. display: flex;
  111. align-items: center;
  112. justify-content: center;
  113. }
  114. }
  115. }
  116. </style>