| | |
| | | @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> |
| | | |
| | |
| | | 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} |
| | | ], |
| | | } |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | .sticky { |
| | | height: 50rpx; |
| | | margin-top: -1px; |
| | | text-align: center; |
| | | background-color: #fff; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | </style> |