Commit 2b082825 by hank

bug

parent f66d5582
...@@ -68,3 +68,36 @@ npm run build ...@@ -68,3 +68,36 @@ npm run build
``` ```
commit auto fix eslint commit auto fix eslint
``` ```
## PostMessage list
| type |描述 |使用端
|----------------|-------------------------------|-----------------------------|
|getList|`获取list数据` | 客户端 |
|setList |`设置list数据` | 客户端 |
|edit |`编辑某一项`| 模板页|
|cancelEdit |`取消编辑状态`| 客户端|
|setData |`设置编辑项数据`| 客户端|
## Tempalte DataType List
| type |描述 |使用端
|----------------|-------------------------------|-----------------------------|
|text|`文字类型,出现编辑框` | 客户端 |
|image |`图片类型 一个网络链接输入框 一个上传按钮` | 客户端 |
|video |`视频类型 一个网络链接输入框 一个上传按钮`| 模板页|
|icon |`图标类型`| 客户端|
|audio |`设置编辑项数据`| 客户端|
## Code Data
```
{
type: 'text', // 字段类型
name: '楼层', // 字段名称
value: '', //字段值
description: '', // 用户填写时字段提示语
style: { // 样式
color: '' //目前只允许更改颜色
}
default: { // 默认
value: 'SOHO 3Q'
}
}
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment