diff --git a/supply.html b/supply.html index d585945..e9867b4 100644 --- a/supply.html +++ b/supply.html @@ -5000,7 +5000,7 @@ // 添加售空标识 const soldOutTag = specStatus === '1' ? '已售空' : ''; - specQuantityBoxes += `
• 规格${i + 1}: ${spec} - 件数: ${quantity}件 - 采购价: ¥${costprice}${soldOutTag}
`; + specQuantityBoxes += `
• ${spec}
${quantity}件 | ¥${costprice}${soldOutTag}
`; } return ` @@ -5011,33 +5011,34 @@
- -
- -
-
+ +
${supply.productName} ${(supply.status === 'hidden' || supply.status === 'sold_out') ? '' : `${status.text}`} ${supply.status === 'published' && supply.autoOfflineHours && supply.autoOfflineHours !== '' && supply.autoOfflineHours !== null ? `⏰ 计算中...` : ''} -
+
+ +
+ +
-
-
货源类型: ${supply.sourceType || '无'}
-
品种: ${supply.category || '无'}
-
蛋黄: ${supply.yolk || '无'}
-
包装: ${supply.producting || '无'}
-
新鲜程度: ${supply.freshness || '无'}
-
货源状态: ${supply.supplyStatus || '未设置'}
-
货源描述: ${supply.description || '无'}
-
地区: ${supply.region || '未设置'}
+
+
${supply.sourceType || '无'}
+
${supply.category || '无'}
+
${supply.yolk || '无'}
+
${supply.producting || '无'}
+
${supply.freshness || '无'}
+
${supply.supplyStatus || '未设置'}
+
${supply.description || '无'}
+
${supply.region || '未设置'}
-
创建时间: ${formatDate(supply.created_at)}
- ${supply.status === 'published' ? `
上架时间: ${formatDate(getPublishTime(supply))}
` : ''} +
创建时间:${formatDate(supply.created_at)}
+ ${supply.status === 'published' ? `
上架时间:${formatDate(getPublishTime(supply))}
` : ''}
-
+
${specQuantityBoxes}