From 55e597404ff290d760f7df47d110498fa84ec8ae Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 05 五月 2023 13:10:59 +0800 Subject: [PATCH] # --- pages/basics/stockCheck.vue | 29 ++++++++++++++--------------- 1 files changed, 14 insertions(+), 15 deletions(-) diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue index 3266940..6bd63b4 100644 --- a/pages/basics/stockCheck.vue +++ b/pages/basics/stockCheck.vue @@ -116,7 +116,7 @@ data() { return { commonUrl:null, - matList:[], + matList:[{matnr:'3CPPJ.B.GMB.SG.QBY3-50/65QSG'},{matnr:'3CPPJ.B.GMB.SG.QBY3-50/65QSG'},{matnr:'3CPPJ.B.GMB.SG.QBY3-50/65QSG'}], staNoList:[], barcode: '', staNo:'', @@ -427,10 +427,10 @@ background-color: #ebebeb; } .data-list { - border-bottom: 1px solid #d8d8d8; - height: 240rpx; + min-height: 250rpx; margin: 15rpx; border-radius: 20rpx; + display: flex; } .data-list:first-child { margin-top: 20rpx; @@ -438,27 +438,26 @@ .data-list:last-child { margin-bottom: 180rpx; } - .data-list-left { + /* .data-list-left { display: inline-block; float: left; - margin-left: 6%; + text-align: center; + width: 100rpx; height: 180rpx; + line-height: 180rpx; + } */ + .data-list-left { + margin-left: 6%; color: #676767; + max-width: 450rpx; } .matnr { padding-top: 10rpx; } .data-list-right { - display: inline-block; - float: right; width: 200rpx; - height: 230rpx; - line-height: 230rpx; - } - .data-list-right label { - display: inline-block; - float: left; - width: 100rpx; - height: 180rpx; + display: flex; + justify-content: space-around; + align-items: center; } </style> \ No newline at end of file -- Gitblit v1.9.1