Quellcode durchsuchen

移库任务-列表高度调节

zhaohuanhuan vor 8 Monaten
Ursprung
Commit
7abfe7e5a1
2 geänderte Dateien mit 18 neuen und 6 gelöschten Zeilen
  1. 4 3
      src/views/transfer/move/down/index.vue
  2. 14 3
      src/views/transfer/move/putaway/index.vue

+ 4 - 3
src/views/transfer/move/down/index.vue

@@ -100,7 +100,6 @@
             </div>
             <div class="take-button">
               <div class="button-text"  @click="onConfirm">下架</div>
-<!--              <van-button type="primary" size="large"  style="height: 36px"  @click.once="onConfirm"  >下架</van-button>-->
             </div>
           </div>
           <van-divider :style="{ color: '#333', borderColor: '#1989fa', padding: '0 16px',margin:'5px 0' }">待移出列表
@@ -448,13 +447,13 @@ window.onRefresh = loadData
             height: 36px
             width: 100%
             border-radius: 5px
-            font-size: 16px
+            font-size: 15px
             font-weight: bold
             line-height: 36px
         .move-stock-list
           width: 100%
           overflow-y: auto
-          max-height: 60vh
+          max-height: 47vh
           min-height: 100px
 
           .move-button
@@ -482,6 +481,8 @@ window.onRefresh = loadData
             background-color: #3f8dff
             position: sticky
             top: 0
+            z-index: 10
+            -webkit-sticky: top
             color: white
             font-size: 15px
 

+ 14 - 3
src/views/transfer/move/putaway/index.vue

@@ -107,7 +107,8 @@
               </div>
             </div>
             <div class="take-button">
-              <van-button type="primary" size="large"  style="height: 36px"  @click="onConfirm"  >上架</van-button>
+              <div class="button-text"  @click="onConfirm">上架</div>
+<!--              <van-button type="primary" size="large"  style="height: 36px"  @click="onConfirm"  >上架</van-button>-->
             </div>
           </div>
           <van-divider :style="{ color: '#333', borderColor: '#1989fa', padding: '0 16px',margin:'5px 0' }">推荐库位
@@ -469,7 +470,15 @@ window.onRefresh = loadData
 
         .take-button
           padding: 10px 20px 0 20px
-
+          .button-text
+            background: #1989fa
+            color: #ffffff
+            height: 36px
+            width: 100%
+            border-radius: 5px
+            font-size: 15px
+            font-weight: bold
+            line-height: 36px
         .move-stock-list
           width: 100%
           overflow-y: auto
@@ -501,8 +510,10 @@ window.onRefresh = loadData
             background-color: #3f8dff
             position: sticky
             top: 0
-            color: white
+            z-index: 10
+            -webkit-sticky: top
             font-size: 15px
+            color: white
 
           .task-table-bin thead
             background-color: #3f8dff