图片模块代码
"image": {
"type": "TaobaowpSingleImage",
"dataName": "image",
"label": {
"description": "",
"title": "上传图片"
},
"wrapperStyle": {
"margin": "0"
},
"style": {},
"extension": {
"appType": "qietu",
"designer": "requ",
"dele": true,
"dialogType": "dialog",
"intelligentPageUrl": "https://luban.taobao.com/wangpu-layer.html",
"intelligentRelateData": "basic_image_widget_id",
"moduleType": "designer",
"relateData": "requ",
"sendDataType": "url",
"structure": true,
"text": "添加图片",
"url": "//sucai.wangpu.taobao.com/select.htm",
"config": {
"type": "pic",
"mime": "jpg,png"
}
},
"validateProps": {
"dataType": "Image",
"validate": false
}
},
热区模块代码
"requ": {
"type": "TaobaowpWpDesigner",
"dataName": "requ",
"label": {
"description": {
"desc": ""
},
"title": "热区"
},
"wrapperStyle": {},
"style": {
"width": "265px",
"height": "80px"
},
"invisible": false,
"extension": {
"relateData": "image",
"dialogType": "dialog",
"url": "//wangpu.taobao.com/shopdecorate/tools/designMaker.htm"
},
"validateProps": {
"dataType": "Array",
"required": false,
"validate": true
}
},
跳转链接模块代码
"link1": {
"type": "OfficialLink",
"dataName": "mylink",
"label": {
"title": "链接",
"description": {}
},
"wrapperStyle": {},
"style": {
"width": "auto",
"height": "auto"
},
"extension": {
"compatibleType": "wangpu",
"dialogType": "dialog",
"sendDataType": "url",
"url": "//wangpu.taobao.com/shopdecorate/tools/linkSelector.htm",
"placeholder": "请输入链接",
"clear": true,
"config": {}
},
"validateProps": {
"required": true,
"dataType": "Link",
"validate": true
}
}
淘宝常见模块
最新推荐文章于 2022-05-11 10:36:42 发布