淘宝常见模块

图片模块代码
"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
      }
    }
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值