jiluxiang.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <template>
  2. <div class="stepsViewScroll">
  3. <div class="recordBox">
  4. <div class="leftMsg">
  5. <div class="msgHeader">
  6. <div class="titleText">外围尺寸</div>
  7. <div class="describeText">单位:cm</div>
  8. </div>
  9. <div class="msgFooter">
  10. <div class="describeText">单位:cm</div>
  11. <div class="describeText">单位:cm</div>
  12. <div class="describeText">单位:cm</div>
  13. </div>
  14. </div>
  15. <div class="rightOperate">
  16. <div></div>
  17. <div class="operate">
  18. <div class="describeText operateText">实际值</div>
  19. <NumberInput v-model="input" />
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </template>
  25. <script lang="ts" setup>
  26. defineOptions({
  27. name: "Jiluxiang",
  28. });
  29. const input = ref<number>(18);
  30. const jianDisabled = ref(true);
  31. const jiaDisabled = ref(false);
  32. </script>
  33. <style lang="scss" scoped>
  34. .titleText {
  35. font-size: $f24;
  36. font-weight: $Medium;
  37. }
  38. .describeText {
  39. font-size: $f20;
  40. color: $font-default-60;
  41. line-height: 25px;
  42. }
  43. .recordBox {
  44. width: 600px;
  45. height: 210px;
  46. background-color: white;
  47. border-radius: 16px;
  48. display: flex;
  49. padding: $p20;
  50. justify-content: space-between;
  51. align-items: center;
  52. position: relative;
  53. .leftMsg {
  54. display: flex;
  55. flex-direction: column;
  56. justify-content: space-between;
  57. height: 170px;
  58. }
  59. .rightOperate {
  60. height: 100%;
  61. display: flex;
  62. flex-direction: column;
  63. justify-content: space-between;
  64. .operate {
  65. .operateText {
  66. margin-bottom: $p5;
  67. }
  68. .operateBox {
  69. width: 290px;
  70. height: 70px;
  71. border: 2px solid black;
  72. border-radius: 16px;
  73. display: flex;
  74. justify-content: space-between;
  75. .leftBox {
  76. width: 70px;
  77. height: 70px;
  78. @include flex;
  79. }
  80. .showSum {
  81. flex: 1;
  82. @include flex;
  83. border: 2px solid black;
  84. border-top: 0px;
  85. border-bottom: 0px;
  86. font-weight: bold;
  87. font-size: $f38;
  88. }
  89. .rightBox {
  90. width: 70px;
  91. height: 70px;
  92. @include flex;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. </style>