#
whycq
2023-10-13 c64064285bc6df2d5b82f3995bb9e56398cacd73
pages/project/ps/pakin/pakin.vue
@@ -14,7 +14,12 @@
            @inputVal='input2'>
         </z-input>
      </view>
      <view style="text-align: center;">商品列表</view>
      <u-sticky  >
         <view class="sticky">商品列表</view>
      </u-sticky>
      <view v-for="item in 100" style="margin: 8px;height: 100rpx;background-color: blueviolet;">
         {{item}}
      </view>
   </view>
</template>
@@ -23,8 +28,7 @@
      data() {
         return {
            zInputList: [
               {id:0,name: 'orderNo',desc: '订单号',val: '',focus: true},
               {id:1,name: 'barcode',desc: '托盘码',val: '2',lenCheck: 8,focus: false},
               {id:1,name: 'barcode',desc: '托盘码',val: '2',lenCheck: 8,focus: true},
               {id:2,name: 'matnr',desc: '物料码',val: '',btn: true,btnName: '提取',placeholder: '',focus: false}
            ],
         }
@@ -46,5 +50,13 @@
</script>
<style>
   .sticky {
      height: 50rpx;
      margin-top: -1px;
      text-align: center;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
   }
</style>