快乐的昕的电脑
2025-11-24 fe97452f589564368a79cc290c57bb973bc26e18
components/WorkOrderStatus.vue
@@ -28,9 +28,9 @@
               <input class="input-box" v-model="suspendTime" disabled="true" placeholder="点暂停按钮时写入" />
            </view>-->
            <!-- <view class="item">
      <button @click="stateCheck(3)" class="btn-blue">反完工</button>
      <input class="input-box" v-model="reverseTime" disabled="true" placeholder="点反完工按钮写入" />
   </view> -->
               <button @click="stateCheck(3)" class="btn-blue">反完工</button>
               <input class="input-box" v-model="reverseTime" disabled="true" placeholder="点反完工按钮写入" />
            </view> -->
         </view>
         <!-- 右边工单状态 -->
@@ -224,20 +224,19 @@
   }
   /* 刷新按钮样式 */
    .refresh-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #00A2E9;
        /* 蓝色背景 */
        color: white;
        padding: 10px 20px;
        height: 60px;
        border: none;
        border-radius: 5px;
        font-size: 35px;
        cursor: pointer;
    }
   .refresh-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: #00A2E9;
      /* 蓝色背景 */
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      font-size: 35px;
      cursor: pointer;
   }
   /* 上半部分:左右布局 */
   .top-section {
@@ -288,29 +287,32 @@
      border: none;
   }
   .input-box {
      width: 70%;
      padding: 0 1vw;
      font-size: 1.5vw;
      /* Increased font size for input */
      border: 1px solid #ccc;
      box-sizing: border-box;
      /* 确保高度一致 */
   }
    .input-box {
        width: 70%;
        ght-section
    {
        padding: 0 1vw;
        font-size: 1.5vw;
        /* Increased font size for input */
        border: 1px solid #ccc;
        box-sizing: border-box;
        /* 确保高度一致 */
    }
   /* 右边工单状态部分 */
    .right-section {
        width: 30%; /* 原来是30%,调大一点 */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: center;
        padding-top: 45px;
        flex-wrap: wrap;
        align-content: flex-start;
        margin-top: -44px;
    }
   .right-section {
      width: 30%; /* 原来是30%,调大一点 */
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      text-align: center;
      padding-top: 45px;
      flex-wrap: wrap;
      align-content: flex-start;
      margin-top: -44px;
   }
   .status-title {
      margin-bottom: 2vh;
@@ -363,34 +365,11 @@
      height: 100%;
   }
    /* 让右侧工单号输入框变长 */
    .status-title input.status-title {
        width: 110%; /* 或 100%,根据实际需求调整 */
        min-width: 320px; /* 可选,保证最小宽度 */
        font-size: 2vw;
        box-sizing: border-box;
    }
    .button,
    .input-box {
        font-size: 2.2vw !important; /* 字体更大 */
        height: 6vh !important; /* 高度略增 */
    }
    .input-box {
        border: 2.5px solid #999 !important; /* 边框更粗更明显 */
        border-radius: 6px !important; /* 圆角略大 */
        padding: 0 1.5vw !important;
    }
    button {
        border: 2.5px solid #999 !important; /* 按钮边框加粗 */
        border-radius: 6px !important;
    }
    .left-section .item button {
        font-size: 2.6vw !important; /* 字体更大更明显 */
        font-weight: bold; /* 可选:加粗更醒目 */
    }
   /* 让右侧工单号输入框变长 */
   .status-title input.status-title {
      width: 100%; /* 或 100%,根据实际需求调整 */
      min-width: 320px; /* 可选,保证最小宽度 */
      font-size: 2vw;
      box-sizing: border-box;
   }
</style>