美文网首页
微信导航界面接口文档

微信导航界面接口文档

作者: LucasLight | 来源:发表于2018-12-05 09:27 被阅读0次

微信接口

1. 导航首页接口

加载图示数据
  • 接口说明: 微信导航界面首页多个菜单的数据加载
  • 相对地址:/wechatRouterList
  • 请求方式:POST
  • 参数:无
  • 响应数据类型:JSON
  • 响应数据说明:JSON数据为数组格式,其中每一个数组对象中存 在三个字段,
    text字段代表当前节点显示名称
    id字段代表当前节点的id属性
    iconUrl字段代表当前节点的icon图标的url地址
  • 数据demo(JS对象格式):
[
  {
    // 字体最多有十个
    "text": "我要过户",
    "iconUrl": "people",
    "id": "我要过户",
  },
  {
    "text": "我要抵押(注销)",
    "iconUrl": "people",
    "id": "我要抵押(注销)",
  }, {
  "text": "我要变更",
  "iconUrl": "people",
  "id": "我要变更",
},
  {
    "text": "拆迁补偿登记",
    "iconUrl": "people",
    "id": "拆迁补偿登记",
  }, {
  "text": "遗失补办",
  "iconUrl": "people",
  "id": "遗失补办",
},
  {
    "text": "其他登记业务",
    "iconUrl": "people",
    "id": "其他登记业务",
  },
]

2. 微信导航节点数据接口

  • 接口说明: 微信导航界面每一个菜单加载
  • 相对地址:/wechatRouterListById
  • 请求方式:POST
  • 参数:itemId 当前节点id属性值
  • 响应数据类型:JSON
  • 响应数据说明:JSON数据为数组格式,其中每一个数组对象中存 在三个字段,
    id字段代表当前节点的id属性
    text字段代表当前节点的文本内容
    iconUrl字段代表当前节点的图标的url区域
    children字段代表当前节点的子节点,可以为空数组,但不能为空对象或者null/undefined/""
  • 数据demo(JS对象):
[
  {
    text: "交易转移",
    iconUrl: "balabala",
    id: "001",
    children: [
      {
        "text": "住宅",
        "iconUrl": "people",
        "id": "011",
        children: [
          {
            "text": "一手住宅",
            "iconUrl": "people",
            "id": "021",
            children: [
              {
                "text": "已办预告登记",
                "iconUrl": "people",
                "id": "031",
                children: [
                  {
                    "text": "申请材料",
                    "iconUrl": "people",
                    "id": "041",
                    data:{
                      type:"html",
                      text:"<div><button>测试按钮</button></div>"
                    },
                    children: null
                  },
                  {
                    "text": "办理机构",
                    "iconUrl": "people",
                    "id": "042",
                    children: null
                  },
                  {
                    "text": "办理时限",
                    "iconUrl": "people",
                    "id": "043",
                  },
                  {
                    "text": "收费标准",
                    "iconUrl": "people",
                    "id": "044",
                    children: null
                  },
                  {
                    "text": "领证方式",
                    "iconUrl": "people",
                    "id": "045",
                    children: null
                  },
                  {
                    "text": "办理流程",
                    "iconUrl": "people",
                    "id": "046",
                    children: null,
                  },
                  {
                    "text": "注意事项",
                    "iconUrl": "people",
                    "id": "047",
                    children: null,
                  },
                ],
              },
              {
                "text": "未办预告登记",
                "iconUrl": "people",
                "id": "032",
                children: [
                  {
                    "text": "申请材料",
                    "iconUrl": "people",
                    "id": "032x",
                    children: null
                  },
                  {
                    "text": "办理机构",
                    "iconUrl": "people",
                    "id": "042x",
                    children: null
                  },
                  {
                    "text": "办理时限",
                    "iconUrl": "people",
                    "id": "043x",
                  },
                  {
                    "text": "收费标准",
                    "iconUrl": "people",
                    "id": "044x",
                    children: null
                  },
                  {
                    "text": "领证方式",
                    "iconUrl": "people",
                    "id": "045x",
                    children: null
                  },
                  {
                    "text": "办理流程",
                    "iconUrl": "people",
                    "id": "046x",
                    children: null,
                  },
                  {
                    "text": "注意事项",
                    "iconUrl": "people",
                    "id": "047x",
                    children: null,
                  },
                ],
              },
            ],
          },
          {
            "text": "二手住宅",
            "iconUrl": "people",
            "id": "022",

            children: [
              {
                "text": "房改屋",
                "iconUrl": "people",
                "id": "032a",
                children: [
                  {
                    "text": "买家自然人",
                    "iconUrl": "people",
                    "id": "042a",
                    children: [
                      {
                        "text": "申请材料",
                        "iconUrl": "people",
                        "id": "051a",
                      },
                      {
                        "text": "办理机构",
                        "iconUrl": "people",
                        "id": "052a",
                      },
                      {
                        "text": "办理时限",
                        "iconUrl": "people",
                        "id": "053a",
                      },
                      {
                        "text": "收费标准",
                        "iconUrl": "people",
                        "id": "054a",
                      },
                      {
                        "text": "领证方式",
                        "iconUrl": "people",
                        "id": "055a",
                      },
                      {
                        "text": "办理流程",
                        "iconUrl": "people",
                        "id": "056a",
                      },
                      {
                        "text": "注意事项",
                        "iconUrl": "people",
                        "id": "057a",
                      },
                    ],
                  },
                  {
                    "text": "买家非自然人",
                    "iconUrl": "people",
                    "id": "ididid",
                    children: [
                      {
                        "text": "申请材料",
                        "iconUrl": "people",
                        "id": "ididid",
                      },
                      {
                        "text": "办理机构",
                        "iconUrl": "people",
                        "id": "ididid",
                      },
                      {
                        "text": "办理时限",
                        "iconUrl": "people",
                        "id": "ididid",
                      },
                      {
                        "text": "收费标准",
                        "iconUrl": "people",
                        "id": "ididid",
                      },
                      {
                        "text": "领证方式",
                        "iconUrl": "people",
                        "id": "ididid",
                      },
                      {
                        "text": "办理流程",
                        "iconUrl": "people",
                        "id": "ididid",
                      },
                      {
                        "text": "注意事项",
                        "iconUrl": "people",
                        "id": "ididid",
                      },
                    ],
                  },]
              },
              {
                "text": "其它房屋",
                "iconUrl": "people",
                "id": "ididid",
              },
            ],
          },
        ],
      },{
        "text": "车位",
        "iconUrl": "people",
        "id": "ididid",
        children: [
          {
            "text": "申请材料",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "办理机构",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "办理时限",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "收费标准",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "领证方式",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "办理流程",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "注意事项",
            "iconUrl": "people",
            "id": "ididid",
          },
        ],
      },{
        "text": "商服用房",
        "iconUrl": "people",
        "id": "ididid",
        children: [
          {
            "text": "申请材料",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "办理机构",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "办理时限",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "收费标准",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "领证方式",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "办理流程",
            "iconUrl": "people",
            "id": "ididid",
          },
          {
            "text": "注意事项",
            "iconUrl": "people",
            "id": "ididid",
          },
        ],
      },
    ],
  },
  {
    text: "赠与",
    iconUrl: "balabala",
    id: "002",
    children: [
      {
        "text": "申请材料",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "办理机构",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "收费标准",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "领证方式",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "办理流程",
        "iconUrl": "people",
        "id": "ididid",
      },
    ],
  },
  {
    text: "集成",
    iconUrl: "balabala",
    id: "003",
    children: [
      {
        "text": "申请材料",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "办理机构",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "收费标准",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "办理期限",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "领证方式",
        "iconUrl": "people",
        "id": "ididid",
      }, {
        "text": "办理流程",
        "iconUrl": "people",
        "id": "ididid",
      },
    ],
  },
  {
    text: "析产(夫妻或共有人划分产权)",
    iconUrl: "balabala",
    id: "004",
    children: [
      {
        "text": "不动产办事指南",
        "iconUrl": "people",
        "id": "ididid",
      }
    ],
  },
  {
    text: "裁(判)决转移",
    iconUrl: "balabala",
    id: "005",
    children: [
      {
        "text": "不动产办事指南",
        "iconUrl": "people",
        "id": "ididid",
      }
    ],
  },
]

3. 微信导航详情页面接口

  • 接口说明: 微信导航详情页面展示接口,根据对应节点的id获取当前节点在配置界面中保存的富文本编辑器保存的HTML页面内容
  • 相对地址:/getDetailHtmlById
  • 请求方式:POST
  • 参数:id 当前节点id属性值
  • 响应数据类型:JSON
  • 响应数据说明:JSON数据为对象格式,
    detailHTML字段代表富文本编辑器保存的内容(富文本编辑器使用默认为wangEditor)
  • 数据demo(JS对象):
detailHTML:`<div style="background-color:#f1f1f1; border:1px solid #ccc;" class="w-e-toolbar" id="toolbar-elem9493782649012232"><div class="w-e-menu" style="z-index:10001;"><i class="w-e-icon-header"></i></div><div class="w-e-menu" style="z-index:10001;">
            <i class="w-e-icon-bold"></i>
        </div><div class="w-e-menu" style="z-index:10001;">`

相关文章

  • 微信导航界面接口文档

    微信接口 1. 导航首页接口 接口说明: 微信导航界面首页多个菜单的数据加载 相对地址:/wechatRoute...

  • 微信导航界面配置模块

    请求界面地址:/pubWeb/public/navigation 微信导航界面配置接口定义 1. 树形控件列表接...

  • 微信拆分接口文档

    微信接口文档

  • 个人微信开发api

    个人微信开发api,微信开发api文档,微信api接口文档 case "HeartBeatReq": {// 客户...

  • 微信开发者api

    微信api接口接入,微信群api接口,微信api接口文档,微信开发者api微信消息api case DeviceA...

  • navigator 模块

    调用文档中的 push 接口,会进入新的界面,但不会显示原生导航栏。 显示原生导航栏方法(以ios为例) 1 组件...

  • 微信解析版

    前言:开发文档 1,微信开发文档(使用) 2,微信开放平台(集成) 微信公众平台支付接口调试工具 URL sche...

  • 微信小程序开发笔记(一)

    微信小程序官方文档 微信小程序示例,仅做练习微信小程序使用数据来自:免费开放接口API开放接口API peakch...

  • 微信公众平台

    开发文档 微信公众平台测试号申请 微信公众平台接口调试工具

  • 微信商铺接口文档

    一,默认界面 1 获取首页默认界面 二,标签 1 获取标签列表 三,商品 1 获取商品详情 2 获取商品列表

网友评论

      本文标题:微信导航界面接口文档

      本文链接:https://www.haomeiwen.com/subject/necvcqtx.html