From c484e8b53d20195e00d97d11019d567ed57dddce Mon Sep 17 00:00:00 2001 From: "97694732@qq.com" Date: Fri, 5 Jun 2026 10:26:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor:ISBN/=E6=97=A0ISBN=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E7=9A=84=E5=93=81=E7=9B=B8/=E8=B4=A7=E5=8C=BA/=E4=B9=A6?= =?UTF-8?q?=E5=90=8D/=E4=BB=B7=E6=A0=BC=E5=90=88=E5=B9=B6=E4=B8=BAinfo-blo?= =?UTF-8?q?ck,=E4=B9=A6=E5=90=8D=E4=BB=B7=E6=A0=BC=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=94=B9=E5=89=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 279 +++++++++++++++++++++++----------------- 1 file changed, 161 insertions(+), 118 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 4854e05..e50f8e0 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -30,72 +30,77 @@ - - - - 品相 - - - - {{ item }} + + + + + + 品相 - - - - - - - 货区 & ISBN - - - - - {{ isbnSelectedArea || '请选择货区' }} - + + + {{ item }} - - - - - 📷 + + + + + + + + 货区 & ISBN + + + + + {{ isbnSelectedArea || '请选择货区' }} + - - + + + + + + 📷 + + + + - - - - - 书名 - - - + - - - - 价格 & 库存 + + + 书名 + - - - - ¥ - + + + + + + 价格 & 库存 + + + + ¥ + + + + + - - - @@ -221,69 +226,76 @@ - - - - 品相 - - - - {{ item }} + + + + + + 品相 - - - - - - - 货区 - - - {{ noIsbnSelectedArea || '请选择货区' }} - - - - - - - 书名 - - - - - - - - - - - - - 📷 + + + {{ item }} - - - - 价格 + + + + + + 货区 + + + {{ noIsbnSelectedArea || '请选择货区' }} + + - - - - ¥ - + + + + + + 书名 + + + + + + + + + + + + 📷 + - - + + + + + + + 价格 & 库存 + + + + ¥ + + + + + + @@ -1939,15 +1951,8 @@ export default { uni.showModal({ title: '确认上传', content: contentLines.join('\n'), - confirmText: '确认上传', - cancelText: '取消', - success: (res) => { - if (res.confirm) { - this.doSubmit(warehouseData) - } else { - this.isSubmitting = false - } - } + showCancel: false, + confirmText: '确定' }) }, @@ -2453,6 +2458,44 @@ export default { padding: 16rpx; } +/* ========== 基本信息合并块(品相+货区+书名+价格) ========== */ +.info-block { + background-color: #ffffff; + border-radius: 12rpx; + border: 2rpx solid #ebeef5; + padding: 20rpx 24rpx; +} + +.info-block-row { + padding: 4rpx 0; +} + +.info-block-divider { + height: 2rpx; + background-color: #f2f3f5; + margin: 6rpx 0; +} + +/* 行内标签在前 */ +.info-inline-row { + display: flex; + align-items: center; + padding: 4rpx 0; +} + +.info-inline-label { + font-size: 26rpx; + color: #606266; + font-weight: 500; + flex-shrink: 0; + width: 140rpx; + margin-right: 12rpx; +} + +.info-inline-input { + flex: 1; +} + /* ========== 表单区块 ========== */ .form-section { background-color: #ffffff;