production_report.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <view class="content">
  3. <view class="section">
  4. <view class="title">
  5. <view class="text">
  6. <view>今日产量</view>
  7. <view class="right_text">单位: 吨</view>
  8. </view>
  9. </view>
  10. <view class="inner">
  11. <p-production-report-inner-1 :mine="mine" :org_num="org_num"></p-production-report-inner-1>
  12. </view>
  13. </view>
  14. <!-- 产量趋势 -->
  15. <p-production-report-inner-2 :mine="mine" :org_num="org_num"></p-production-report-inner-2>
  16. <view class="section">
  17. <view class="title">
  18. 工作面详情
  19. </view>
  20. <view class="inner">
  21. <p-production-report-inner-3 :mine="mine" :org_num="org_num"></p-production-report-inner-3>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. data() {
  29. return {
  30. mine: "",
  31. org_num: ""
  32. };
  33. },
  34. onLoad(option) {
  35. this.mine = option.mine
  36. this.org_num = option.org_num
  37. }
  38. }
  39. </script>
  40. <style lang="scss">
  41. page {
  42. background-color: #009FE8;
  43. }
  44. .content {
  45. width: 750rpx;
  46. box-sizing: border-box;
  47. padding: 0 25rpx;
  48. }
  49. .section {
  50. margin: 20rpx 0;
  51. width: 700rpx;
  52. background-color: #FFFFFF;
  53. border-radius: 16rpx;
  54. .title {
  55. font-size: 36rpx;
  56. color: #1e1e1e;
  57. font-weight: 700;
  58. box-sizing: border-box;
  59. padding: 30rpx 0;
  60. margin: 0 20rpx;
  61. .text {
  62. display: flex;
  63. justify-content: space-between;
  64. align-items: baseline;
  65. .right_text {
  66. font-size: 24rpx;
  67. color: #9a9a9a;
  68. font-weight: 400;
  69. }
  70. }
  71. }
  72. .inner {
  73. // min-height: 200px;
  74. }
  75. }
  76. </style>