mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 11:33:01 +08:00
update collection/opendb-mall-goods/collection.json.
商品描述大概格式: - 富文本混排; - 纯文字; - 纯图片; - 文字段+图片段; goods_desc本身是能满足这几种要求,基于不同的使用需求,我们配置不同的goods_desc(自己知道如何提取出对应的数据)。 我们建议再傻瓜一点,通过增加goods_imgs来适配更多的使用情况。比如商品的描述全是图片的,可以直接使用使用goods_imgs,文字描述+图片的,可以使用goods_desc+goods_imgs。
This commit is contained in:
parent
67a8238463
commit
f6512301ac
@ -41,6 +41,10 @@
|
|||||||
"title": "详细描述",
|
"title": "详细描述",
|
||||||
"trim":"both"
|
"trim":"both"
|
||||||
},
|
},
|
||||||
|
"goods_imgs": {
|
||||||
|
"bsonType": "array",
|
||||||
|
"description": "商品详情页的图片描述地址"
|
||||||
|
},
|
||||||
"goods_thumb": {
|
"goods_thumb": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "商品缩略图,用于在列表或搜索结果中预览显示",
|
"description": "商品缩略图,用于在列表或搜索结果中预览显示",
|
||||||
|
Loading…
Reference in New Issue
Block a user