快乐的昕的电脑
2025-11-22 11939aa712c013aad41c08dece5c979fd821ffcb
pages/index.vue
@@ -192,7 +192,7 @@
                  <view class="section card">
                     <uni-table ref="table" type="selection" border stripe emptyText="暂无更多数据"
                              @selection-change="selectionChange">
                              class="large-selection-table" @selection-change="selectionChange">
                        <uni-tr>
                           <uni-th align="center" class="th" style="color: #FFFFFF; width: 100px;">工序</uni-th>
                           <uni-th align="center" class="th" style="color: #FFFFFF; width: 120px;">工单号</uni-th>
@@ -752,6 +752,14 @@
<style lang="scss">
    :deep(.checkbox),
    :deep(.checkbox__inner) {
        padding: 10px !important;
        width: 44px !important;
        min-width: 44px !important;
        box-sizing: border-box;
    }
    .row-selected {
        background-color: #e0f3ff !important;
    }
@@ -1051,13 +1059,13 @@
      }
   }
/*    //.uni-td, .uni-th, td, th {
    //    word-break: break-all;
    //    white-space: normal;
    //    /* 可选:设置最大宽度,防止撑破表格 */
    //    max-width: 180px;
    //    overflow-wrap: break-word;
    //}*/
    .uni-td, .uni-th, td, th {
        word-break: break-all;
        white-space: normal;
        /* 可选:设置最大宽度,防止撑破表格 */
        max-width: 180px;
        overflow-wrap: break-word;
    }
   /* 针对1280x800的平板使用媒体查询进行适配 */
   @media screen and (min-width: 1280px) and (max-width: 1920px) {