From 4ec20722756ba84c36b9690f6a24bec50c760fd9 Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期日, 24 四月 2022 23:56:14 +0800 Subject: [PATCH] # --- pages/basics/checkout.vue | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/pages/basics/checkout.vue b/pages/basics/checkout.vue index 289f168..7c591fd 100644 --- a/pages/basics/checkout.vue +++ b/pages/basics/checkout.vue @@ -72,10 +72,7 @@ <checkbox-group @change="checkbox"> <view v-for="(item,index) in matList" :key="index" class="data-list bg-false" :class="'bg-'+item.checked" > <view class="data-list-left"> - <view class="matnr"><text style="width: 400rpx;">缂栫爜锛歿{item.matnr}}</text></view> - <view><text style="width: 400rpx;">鍝佸悕锛歿{item.maktx}}</text></view> - <view><text style="width: 400rpx;">鎵瑰彿锛歿{item.batch}}</text></view> - <view><text style="width: 400rpx;">鏁伴噺锛歿{item.anfme}}</text></view> + <view class="matnr">{{item.barcode}}</view> </view> <view class="data-list-right"> <uni-icons type="trash" size="25" color="#a5a5a5" @click="remove(item,index)"></uni-icons> @@ -104,7 +101,7 @@ searchBox: 'hide', pick:'hide', matnr:'', - matList:[], + matList:[{barcode:'92992929292'}], result: '', staNoList:[], staNo:'', @@ -402,7 +399,7 @@ } .data-list { border-bottom: 1px solid #d8d8d8; - height: 180rpx; + height: 130rpx; margin: 15rpx; border-radius: 20rpx; } @@ -421,20 +418,28 @@ line-height: 180rpx; } */ .data-list-left { + width: 550rpx; + /* background-color: #007AFF; */ display: inline-block; float: left; - margin-left: 6%; - height: 180rpx; + margin-left: 4%; + height: 130rpx; color: #676767; } .matnr { - padding-top: 10rpx; + display: inline-block; + width: 100%; + font-size: 16px; + font-weight: 700; + height: 130rpx; + line-height: 130rpx; } .data-list-right { + /* background-color: #6739B6; */ display: inline-block; float: right; - height: 180rpx; - line-height: 180rpx; - margin-right: 10%; + width: 100rpx; + height: 130rpx; + line-height: 130rpx; } </style> \ No newline at end of file -- Gitblit v1.9.1