123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <template>
- <view class="uni-column" style="height: 100%;">
- <scroll-view class="scroll-container" scroll-y style="padding: 24rpx 24rpx 0 24rpx ;height: 90%;">
- <view v-for="(item, index) in listData" :key="index" class="list-item">
- <view class="title-container uni-row">
- <view class="title uni-row">
- <text class="label">{{ item['door'] }}</text>
- <text class="label code">{{ item['process'] }}</text>
- <text class="label code" style="margin-left: 16rpx;">→</text>
- <text class="label code" style="margin-left: 16rpx;">{{ item['car'] }}</text>
- </view>
- <view class="right-info uni-row">
- <view class="uni-row"><text class="label right">待周转</text></view>
- </view>
- </view>
- <view class="item-info uni-row"> <text class="label ">批次</text>
- <text class="label right">{{ item['batch'] }}</text>
- </view>
- <view class="item-info uni-row"> <text class="label">箱数</text>
- <text class="label right ">{{ item['cases'] }}</text>
- </view>
- <view class="item-info uni-row">
- <text class="label">数量</text>
- <text class="label right">{{ item['amount'] }}</text>
- </view>
- <view class="item-info uni-row">
- <text class="label">箱号</text>
- <text class="label right">{{ item['caseNumber']}}</text>
- </view>
- <view class="item-info uni-row">
- <text class="label">申请时间</text>
- <text class="label right">{{ item['applyTime']}}</text>
- </view>
- <view class="item-info uni-row">
- <text class="label">申请人</text>
- <text class="label right">{{ item['applier']}}</text>
- </view>
- </view>
- </scroll-view>
- <view class="bottom uni-row">
- <button class="bottom-btn ">开始周转</button>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- listData: [
- {
- door: "A门",
- process: "粗磨",
- car: "NC车",
- batch: "MBA5444002",
- cases: 6,
- amount: 780,
- caseNumber: "X12522、X55222、X15522、J5211、J5211",
- applyTime:"2023-06-15 15:52:12",
- applier:"王伟"
- },
- {
- door: "B门",
- process: "手工校直",
- car: "粗磨Ⅱ",
- batch: "MBA5444002",
- cases: 6,
- amount: 780,
- caseNumber: "X12522、X55222、X15522、J5211、J5211",
- applyTime:"2023-06-15 15:52:12",
- applier:"王伟"
-
- }
- ],
- onLoad() {
- },
- methods: {
- },
- };
- },
- };
- </script>
- <style lang="scss">
- .list-item {
- background-color: #fff;
- position: relative;
- padding: 16rpx;
- padding-bottom: 24rpx;
- margin-bottom: 24rpx;
- border-radius: 8rpx;
- .title-container {
- justify-content: space-between;
- margin-top: 8rpx;
- margin-bottom: 16rpx;
- .title {
- height: 48rpx;
- align-items: center;
- .label {
- color: #1684fc;
- font-size: 32rpx;
- font-weight: bold;
- &.code {
- color: #000000;
- margin-left: 32rpx;
- }
- }
- }
- }
- .item-info {
- margin-bottom: 16rpx;
- .label {
- font-size: 28rpx;
- width: 220rpx;
- color: #808080;
- &.right {
- flex: 1;
- color: #000000;
- }
- }
- }
- .right-info {
- justify-content: flex-end;
- margin-top: 2rpx;
- .label {
- font-size: 28rpx;
- color: #808080;
- }
- }
- }
- .bottom {
- position: absolute;
- bottom: 0;
- width: 100%;
- height: 100rpx;
- padding: 16rpx 40rpx;
-
- background-color: #FFFFFF;
- .bottom-btn {
- padding-left: 0;
- padding-top: 4rpx;
- flex: 1;
- font-size: 28rpx;
- color: #FFFFFF;
- background-color: #1684fc;
- }
- }
- </style>
|