Skip to content

Instantly share code, notes, and snippets.

@ben7th
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save ben7th/4769e1a3fbca963cfb79 to your computer and use it in GitHub Desktop.

Select an option

Save ben7th/4769e1a3fbca963cfb79 to your computer and use it in GitHub Desktop.
{
"steps": [
{
"id": "step-1"
"title": "页面1标题",
"data": [
{
"kind": "text",
"content": "..........."
},
{
"kind": "img",
"url": "http://..."
},
{
"kind": "video",
"url": "http://...."
}
]
},
{
"id": "step-2"
"title": "页面1标题",
"data": [
{
"kind": "text",
"content": "..........."
},
{
"kind": "img",
"url": "http://..."
},
{
"kind": "video",
"url": "http://...."
}
]
},
{
"id": "step-3"
"title": "页面1标题",
"data": [
{
"kind": "text",
"content": "..........."
},
{
"kind": "img",
"url": "http://..."
},
{
"kind": "video",
"url": "http://...."
}
]
}
]
}
1. 需要 @pimgeek 在脱离 web 教程编辑器的情况下先准备**一个**带有图文视频以及分支的教程(内容不必过于精致,时间预期是**中午吃饭前准备好**。)
1. 关于教程结构:教程由多页组成,每页包括文字段落,图片,视频。(每页的图片,视频都可以有多个)
2. 目前支持一种分支:选项分支。在一个页面末尾可以附带一句话加若干选项,每个选项对应到另一个页面。
3. 每个页面需要指定三种后续之一:结束/继续到一个指定页面/若干个选项,每个选项对应一个指定页面。
4. @pimgeek 可以现根据 https://gist.github.com/ben7th/4769e1a3fbca963cfb79 的格式准备每个页面的数据。然后用其他人能看得懂得**自然语言**来描述页面之间的承接和选项分支关系。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment