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;