From a030368330d5a6bf1d0ed42b6121b53d13b587d0 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 31 十月 2024 11:35:13 +0800 Subject: [PATCH] ll --- pda/pages/index/center.vue | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/pda/pages/index/center.vue b/pda/pages/index/center.vue index 1e91669..0bd09a4 100644 --- a/pda/pages/index/center.vue +++ b/pda/pages/index/center.vue @@ -48,7 +48,7 @@ </view> <view class="line"> <text class="label">鎬昏繍杈撻噺</text> - <text class="value">{{ item.totalNum }}涓囨敮</text> + <text class="value">{{ item.totalNum || item.ioQty}}涓囨敮</text> </view> <view class="line" v-if="item.carrierName"> <text class="label">杩愯緭鍏徃</text> @@ -113,7 +113,7 @@ </view> <view class="line"> <text class="label">鎬昏繍杈撻噺</text> - <text class="value">{{ item.totalNum }}涓囨敮</text> + <text class="value">{{ item.totalNum || item.ioQty }}涓囨敮</text> </view> <view class="line" v-if="item.carrierName"> <text class="label">杩愯緭鍏徃</text> @@ -525,19 +525,20 @@ flex-wrap: wrap; .item { - width: 210rpx; - height: 80rpx; - display: flex; - justify-content: center; - align-items: center; + width: 220rpx; + height: 80rpx; + line-height: 80rpx; + text-align: center; background: #ffffff; border-radius: 8rpx; border: 1rpx solid #999999; font-size: 30rpx; color: #222222; - margin-bottom: 20rpx; - margin-right: 30rpx; - + margin-bottom: 15rpx; + margin-right: 15rpx; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; &:nth-of-type(3n) { margin-right: 0; } -- Gitblit v1.9.3