Appearance
海报数据新结构定义
因为可编辑的海报数据结构涉及到,APP、APP-API端、管理后台、管理前端,因此数据定义如下
json
{
"kind": "",
"header": "新剧来袭",
"figure": "https://",
"bonus": "https://",
"information": [
"...."
]
}- Type: 表示海报类型
- Title: 表示海报上面显示的标题
- Icon: 表示标题最前面的Icon
- More: 表示搜索
- 其他部分由不同的海报内容组成
home_carousel

json
{
"kind": "home_carousel",
"figure": "https://xxx.jpg",
"information": [
{
"image": "https://",
//封面
"header": "Name of skit",
// 标题
"code": 1,
//剧集id
"attribute": "Free",
// 特征名
"keywords": [
"Comeback",
"Revenge"
]
//标签
}
]
}home_3_2

json
{
"kind": "home_3_2",
// 类型
"header": "Popular Now",
// 标题
"figure": "https://xxx.png",
// 图标链接
"bonus": "https://xxx",
// 更多链接
"information": [
// 内容
{
"image": "https://",
// 封面
"header": "",
// 标题
"attribute": "HOT",
// 特征名
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1
// 剧集id
}
]
}home_3_3

json
{
"kind": "home_3_3",
// 类型
"header": "Popular Now",
// 标题
"figure": "https://xxx.png",
// 图标链接
"bonus": "https://xxx",
// 更多链接
"information": [
// 内容
{
"image": "https://",
// 封面
"header": "",
// 标题
"attribute": "HOT",
// 特征名
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1
// 剧集id
}
]
}home_1_3

json
{
"kind": "home_1_3",
// 类型
"header": "Popular Now",
// 标题
"figure": "https://xxx.png",
// 图标链接
"bonus": "https://xxx",
// 更多链接
"information": [
// 内容
{
"image": "https://",
// 封面
"header": "",
// 标题
"attribute": "HOT",
// 特征名
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1
// 剧集id
}
]
}home_2_2

json
{
"kind": "home_2_2",
// 类型
"header": "Handsome Man",
// 标题
"figure": "https://xxx.png",
// 图标链接
"bonus": "https://xxx",
// 更多链接
"information": [
// 内容
{
"image": "https://",
// 封面
"header": "Name of sName of...",
// 标题
"attribute": "Free",
// 特征名
"code": 1
// 剧集id
}
]
}home_2_1

json
{
"kind": "home_2_1",
// 类型
"header": "New Release",
// 标题
"figure": "https://xxx.png",
// 图标
"bonus": "https://",
// 更多链接
"information": [
// 内容
{
"image": "https://",
// 封面
"code": 1,
// 剧集id
"header": "prime video"
// 标题
},
{
"header": "Ranking",
// 标题
"information": [
{
"image": "https://",
// 封面
"code": 1,
// 剧集id
"header": "Name of skit Name of.."
// 标题
}
]
}
]
}daily

json
{
"kind": "daily",
// 类型
"header": "Daily Recommended",
// 标题
"information": [
// 内容
{
"image": "https://",
// 封面
"slot": "Mon",
//星期几,Mon Tue Wed Thu Fri Sat Sun
"header": "Culpa Mia",
// 标题
"attribute": "Free",
// 特征名
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1,
// 剧集id
"keywords": [
"tag1",
"tag2"
]
// 标签
}
]
}home_1_2

json
{
"kind": "home_1_2",
// 类型
"header": "Audience Favorites",
// 标题
"figure": "https://xxx.png",
// 图标链接
"bonus": "https://xxx",
// 更多链接
"information": [
// 内容
{
"image": "https://",
// 封面
"header": "After Her Long Slumber, Brothers Regret",
// 标题
"overview": "Name of skit Name of skit Name of skit Name of skit",
// 简介
"attribute": "HOT",
// 特征名,HOT或者NEW
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1,
// 剧集id
"keywords": [
"Comeback"
]
}
]
}ad
json
{
"kind": "ad"
}完整输出结构
json
[
{
"kind": "home_carousel",
"figure": "https://xxx.jpg",
"information": [
{
"image": "https://",
"header": "Name of skit",
"code": 1,
"attribute": "Free",
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"keywords": [
"Comeback",
"Revenge"
]
}
]
},
{
"kind": "home_3_2",
"header": "Popular Now",
"figure": "https://xxx.png",
"bonus": "https://xxx",
"information": [
{
"image": "https://",
"header": "",
"attribute": "Free",
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1
}
]
},
{
"kind": "home_2_2",
"header": "Popular Now",
"figure": "https://xxx.png",
"bonus": "https://xxx",
"information": [
{
"image": "https://",
"header": "Name of sName of...",
"attribute": "Free",
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1
}
]
},
{
"kind": "home_2_1",
"header": "New Release",
"figure": "https://xxx.png",
"bonus": "https://",
"information": [
{
"image": "https://",
"code": 1,
"header": "prime video"
},
{
"header": "Ranking",
"information": [
{
"image": "https://",
"code": 1,
"header": "Name of skit Name of.."
}
]
}
]
},
{
"kind": "daily",
"header": "Daily Recommended",
"information": [
{
"image": "https://",
"slot": "Mon",
"header": "Culpa Mia",
"code": 1,
"keywords": [
"tag1",
"tag2"
]
}
]
},
{
"kind": "home_1_2",
"header": "Audience Favorites",
"figure": "https://xxx.png",
"bonus": "https://xxx",
"information": [
{
"image": "https://",
"header": "After Her Long Slumber, Brothers Regret",
"overview": "Name of skit Name of skit Name of skit Name of skit",
"attribute": "HOT",
"colour": "#FF0000",
// 16进制颜色代码,例如红色为,#FF0000
"code": 1,
"keywords": [
"Comeback"
]
}
]
},
{
"kind": "ad"
}
]