快乐的昕的电脑
2025-11-24 6fa86a03230c06b2bc5cfbf4023f5232cd89a1ca
components/WorkOrderStatus.vue
@@ -216,12 +216,12 @@
</script>
<style scoped>
   .page {
      padding: 2vh;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
   }
    .page {
        padding: 1vh; /* 原2vh,缩小整体上下间距 */
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }
   /* 刷新按钮样式 */
   .refresh-btn {
@@ -239,12 +239,12 @@
   }
   /* 上半部分:左右布局 */
   .top-section {
      display: flex;
      justify-content: space-between;
      flex-grow: 1;
      margin-bottom: 4vh;
   }
    .top-section {
        display: flex;
        justify-content: space-between;
        flex-grow: 1;
        margin-bottom: 1.5vh; /* 原4vh,缩小上下间隔 */
    }
   /* 左边按钮和输入框部分(左右布局) */
   .left-section {
@@ -256,10 +256,8 @@
    .item {
        display: flex;
        align-items: center;
        margin-bottom: 2.2vh;
        height: 7vh;
        width: 100%; /* 保证一行占满父容器 */
        box-sizing: border-box;
        margin-bottom: 1vh; /* 原2.2vh,缩小每行间隔 */
        height: 6vh; /* 可适当缩小高度 */
    }
   /* 统一按钮和输入框的高度 */
@@ -269,8 +267,11 @@
    }
    button {
        width: 32%;
        width: 32%; /* 按钮略宽 */
        padding: 0;
        font-size: 2.2vw; /* 字体更大 */
        margin-right: 1vw;
        line-height: 6vh;
    }
   .btn-disabled {
@@ -286,7 +287,11 @@
   }
    .input-box {
        width: calc(68% - 1vw); /* 减去按钮的margin-right */
        width: 68%; /* 输入框略缩小,配合按钮变宽 */
        padding: 0 1vw;
        font-size: 1.8vw; /* 字体更大 */
        border: 1px solid #ccc;
        box-sizing: border-box;
    }
   /* 右边工单状态部分 */
@@ -303,11 +308,10 @@
      margin-top: -44px;
   }
   .status-title {
      margin-bottom: 2vh;
      font-size: 2vw;
      /* Larger font size for titles */
   }
    .status-title {
        margin-bottom: 1vh; /* 原2vh,缩小标题间隔 */
        font-size: 2vw;
    }
   .status-circle {
      width: 11vw;
@@ -334,12 +338,12 @@
   }
   /* 下半部分:保存和取消按钮 */
   .bottom-section {
      display: flex;
      justify-content: space-between;
      margin-top: 1vh;
      height: 100%;
   }
    .bottom-section {
        display: flex;
        justify-content: space-between;
        margin-top: 0.5vh; /* 原1vh,缩小与上方间隔 */
        height: 100%;
    }
   .save-btn,
   .cancel-btn {