From 048e76042b2b22e0775e4b174d5695790a9aae0f Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 12 五月 2023 09:04:16 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 31 +++++++++---------------------- 1 files changed, 9 insertions(+), 22 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index ba0639d..2c0e658 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -407,7 +407,7 @@ } if (add) { if(mat.batch === '' || mat.batch === null) { - mat.batch = today + // mat.batch = today } this.matList.unshift(mat) } @@ -632,16 +632,16 @@ background-color: #ebebeb; } .data-list { - border-bottom: 1px solid #d8d8d8; - height: 250rpx; + min-height: 250rpx; margin: 15rpx; border-radius: 20rpx; + display: flex; } .data-list:first-child { margin-top: 20rpx; } .data-list:last-child { - margin-bottom: 120rpx; + margin-bottom: 180rpx; } /* .data-list-left { display: inline-block; @@ -652,30 +652,17 @@ line-height: 180rpx; } */ .data-list-left { - display: inline-block; - float: left; margin-left: 6%; - height: 180rpx; color: #676767; + max-width: 450rpx; } .matnr { padding-top: 10rpx; } .data-list-right { - display: inline-block; - float: right; - height: 250rpx; - line-height: 250rpx; - } - /* display: inline-block; - float: right; - width: 200rpx; - height: 180rpx; - line-height: 180rpx; */ - .data-list-right label { - display: inline-block; - float: left; - width: 80rpx; - height: 180rpx; + width: 200rpx; + display: flex; + justify-content: space-around; + align-items: center; } </style> \ No newline at end of file -- Gitblit v1.9.1