index.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <div>
  3. <div class="top_fixed">
  4. <el-button type="primary" size="mini" @click="save"
  5. >一键报工</el-button
  6. >
  7. </div>
  8. <div class="warehousing_box"></div>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {}
  15. }
  16. }
  17. </script>
  18. <style scoped lang="scss">
  19. .top_fixed {
  20. width: 100%;
  21. height: 40px;
  22. background: #fff;
  23. display: flex;
  24. align-items: center;
  25. justify-content: flex-end;
  26. }
  27. .title_box {
  28. .name {
  29. font-size: 14px;
  30. font-style: normal;
  31. font-weight: 400;
  32. color: #157a2c;
  33. padding-left: 5px;
  34. position: relative;
  35. &:before {
  36. position: absolute;
  37. content: '';
  38. left: 0px;
  39. top: 0px;
  40. bottom: 0px;
  41. width: 2px;
  42. height: 14px;
  43. background: #157a2c;
  44. margin: auto;
  45. }
  46. }
  47. }
  48. .warehousing_box {
  49. margin-top: 6px;
  50. width: 100%;
  51. height: calc(100vh - 70px - 50px - 80px - 60px);
  52. overflow-y: scroll;
  53. overflow-x: hidden;
  54. }
  55. .card_box {
  56. background: #fff;
  57. padding: 8px;
  58. border-radius: 2px;
  59. }
  60. </style>