Update App.jsx via upload script - 2026-10-19 15:12:54
This commit is contained in:
parent
49ba6ce11b
commit
a092b67e9a
4
App.jsx
4
App.jsx
|
|
@ -5694,10 +5694,10 @@ function WebImageList({ draft, set, onNotify, field, max, label, cover, tall })
|
|||
}
|
||||
|
||||
/* ---------------------- 网站详情模板(公共图片组) ---------------------- */
|
||||
// 模板 = 一组最多10张的公共图片(公司介绍、工厂、认证、包装物流……),图片存在 uploads/<模板id>/。
|
||||
// 模板 = 一组最多20张的公共图片(公司介绍、工厂、认证、包装物流……),图片存在 uploads/<模板id>/。
|
||||
// 产品里只记模板id(webDetailTemplateIds),网站上显示在该产品详情图的下方;
|
||||
// 改了模板,所有引用它的产品下次"更新到网站"时一起变,不用逐个产品重新上传。
|
||||
const WEB_MAX_TEMPLATE_IMAGES = 10;
|
||||
const WEB_MAX_TEMPLATE_IMAGES = 20;
|
||||
const newTemplateId = () => 'tpl_' + Date.now().toString(36) + Math.random().toString(36).slice(2, 7);
|
||||
|
||||
/* ------------------------------ 网站管理 ------------------------------ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue