| | |
| | | }"> |
| | | |
| | | <view style="display: flex;"> |
| | | <view style="width:60rpx;text-align: center;margin-right: 20rpx;">{{item.code}} |
| | | <view style="text-align: center;margin-right: 20rpx;">{{item.code}} |
| | | </view> |
| | | <view style="">{{item.name}}</view> |
| | | <view style="margin-left: 20rpx;">{{item.spec}}</view> |
| | |
| | | }) |
| | | }, 1000); |
| | | }, |
| | | |
| | | // 监听下拉刷新动作(UniApp 原生生命周期) |
| | | onPullDownRefresh() { |
| | | let that = this |
| | | uni.startPullDownRefresh({ |
| | | success() { |
| | | that.getScanMouldQrCodeMessageData() |
| | | uni.showToast({ |
| | | title: "下拉刷新", |
| | | icon: 'none' |
| | | }) |
| | | }, |
| | | complete() { |
| | | uni.stopPullDownRefresh() |
| | | } |
| | | }) |
| | | }, |
| | | data() { |
| | | return { |
| | | |
| | |
| | | } |
| | | |
| | | .item { |
| | | /* 按照实际需求写css */ |
| | | width: 100%; |
| | | height: 200rpx; |
| | | line-height: 90rpx; |
| | | /* 要对应上itemHeight */ |
| | | border: 1px solid #c8c8c8; |
| | | } |
| | | |