134 lines
3.0 KiB
JavaScript
134 lines
3.0 KiB
JavaScript
import {useAmis} from "../../components/constants.js";
|
|
|
|
useAmis((information) => {
|
|
return {
|
|
"type": "wrapper",
|
|
"body": [
|
|
{
|
|
"type": "property",
|
|
"items": [
|
|
{
|
|
"content": "API资源",
|
|
"label": "名称"
|
|
},
|
|
{
|
|
"label": "标签",
|
|
"span": 2,
|
|
"content": [
|
|
{
|
|
"type": "tag",
|
|
"label": "API"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "简介",
|
|
"span": 3,
|
|
"content": "API 资源"
|
|
},
|
|
{
|
|
"span": 3,
|
|
"content": "<p>这是API<strong>资源</strong></p>",
|
|
"label": "内容"
|
|
},
|
|
],
|
|
"title": "商品信息"
|
|
},
|
|
{
|
|
"type": "divider"
|
|
},
|
|
{
|
|
"type": "wrapper",
|
|
"body": [
|
|
{
|
|
"type": "property",
|
|
"items": [
|
|
{
|
|
"label": "资源名称",
|
|
"span": 3,
|
|
"content": "API资源"
|
|
},
|
|
{
|
|
"span": 3,
|
|
"label": "资源描述",
|
|
"content": "这是API资源"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "divider"
|
|
},
|
|
{
|
|
"items": [
|
|
{
|
|
"span": 3,
|
|
"content": "API",
|
|
"label": "资源类型"
|
|
},
|
|
{
|
|
"span": 1,
|
|
"content": "administrator@eshore.com",
|
|
"label": "用户名"
|
|
},
|
|
{
|
|
"label": "密码",
|
|
"content": "bLiN+,qAss,uo'nxoH_:d@HEdD*WdZWAudq$J'a$5Z#aS>K-*dWN5L-i<m:w/U,R",
|
|
"span": 2
|
|
},
|
|
{
|
|
"span": 3,
|
|
"content": "http://baidu.com",
|
|
"label": "地址"
|
|
}
|
|
],
|
|
"title": "资源类型定义",
|
|
"type": "property"
|
|
},
|
|
{
|
|
"type": "divider"
|
|
},
|
|
{
|
|
"items": [
|
|
{
|
|
"label": "格式类型",
|
|
"span": 3,
|
|
"content": "文件"
|
|
}
|
|
],
|
|
"type": "property",
|
|
"title": "资源格式定义"
|
|
}
|
|
],
|
|
"size": "none"
|
|
},
|
|
{
|
|
"type": "divider"
|
|
},
|
|
{
|
|
"type": "property",
|
|
"items": [
|
|
{
|
|
"label": "创建人",
|
|
"span": 2,
|
|
"content": "administrator@eshore.com"
|
|
},
|
|
{
|
|
"label": "创建时间",
|
|
"content": "2025-01-23 14:24:15"
|
|
},
|
|
{
|
|
"span": 2,
|
|
"content": "administrator@eshore.com",
|
|
"label": "修改人"
|
|
},
|
|
{
|
|
"label": "修改时间",
|
|
"content": "2025-01-23 14:24:15"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": "none"
|
|
}
|
|
})
|