html在线下单源码,index.html

Loading...

{{#each nav}}

{{#if title}}

{{#if isHeader}}

{{#if isFixed}}

{{underscoreToSpace title}}

{{else}}

{{underscoreToSpace title}}

{{/if}}

{{else}}

{{title}}

{{/if}}

{{/if}}

{{/each}}

{{name}}

{{#if description}}

{{{nl2br description}}}

{{/if}}

{{#if template.withCompare}}

{{/if}}

{{#if content}}

{{{content}}}

{{/if}}

{{#if content}}

{{/if}}

{{#if template.withGenerator}}

{{#if generator}}

{{__ "Generated with"}} {{{generator.name}}} {{{generator.version}}} - {{{generator.time}}}

{{/if}}

{{/if}}

{{underscoreToSpace title}}

{{#if description}}

{{{nl2br description}}}

{{/if}}

{{#each articles}}

{{{article}}}

{{/each}}

{{article.groupTitle}}{{#if article.title}} - {{article.title}}{{/if}}

{{#if template.withCompare}}

{{article.version}} 

{{#each versions}}

{{this}}

{{/each}}

{{/if}}

{{#if article.deprecated}}

{{__ "DEPRECATED"}}

{{{markdown article.deprecated.content}}}

{{/if}}

{{#if article.description}}

{{{nl2br article.description}}}

{{/if}}

{{toLowerCase article.type}}

{{article.url}}

{{#if article.permission}}

{{__ "Permission:"}}

{{#each article.permission}}

{{name}}

{{#if title}}

{{/if}}

{{/each}}

{{/if}}

{{#if_gt article.examples.length compare=0}}

{{#each article.examples}}

{{title}}

{{/each}}

{{#each article.examples}}

{{content}}

{{/each}}

{{/if_gt}}

{{subTemplate "article-param-block" params=article.header _hasType=_hasTypeInHeaderFields section="header"}}

{{subTemplate "article-param-block" params=article.parameter _hasType=_hasTypeInParameterFields section="parameter"}}

{{subTemplate "article-param-block" params=article.success _hasType=_hasTypeInSuccessFields section="success"}}

{{subTemplate "article-param-block" params=article.error _col1="Name" _hasType=_hasTypeInErrorFields section="error"}}

{{subTemplate "article-sample-request" article=article id=id}}

{{#if params}}

{{#each params.fields}}

{{__ @key}}

{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}

{{#if ../_hasType}}

{{__ "Type"}}{{/if}}{{__ "Description"}}

{{#each this}}

{{{splitFill field "." "  "}}}{{#if optional}} {{__ "optional"}}{{/if}}

{{#if ../../_hasType}}

{{{type}}}

{{/if}}

{{{nl2br description}}}

{{#if defaultValue}}

{{__ "Default value:"}} {{{defaultValue}}}

{{/if}}

{{#if size}}

{{__ "Size range:"}} {{{size}}}

{{/if}}

{{#if allowedValues}}

{{__ "Allowed values:"}}

{{#each allowedValues}}

{{{this}}}{{#unless @last}}, {{/unless}}

{{/each}}

{{/if}}

{{/each}}

{{/each}}

{{#if_gt params.examples.length compare=0}}

{{#each params.examples}}

{{title}}

{{/each}}

{{#each params.examples}}

{{reformat content type}}

{{/each}}

{{/if_gt}}

{{/if}}

{{#if article.sampleRequest}}

{{__ "Send a Sample Request"}}

{{__ "url"}}

{{#if article.header}}

{{#if article.header.fields}}

{{__ "Headers"}}

{{#each article.header.fields}}

{{@key}}

{{#each this}}

{{field}}

{{{type}}}

{{/each}}

{{/each}}

{{/if}}

{{/if}}

{{#if article.parameter}}

{{#if article.parameter.fields}}

{{__ "Parameters"}}

{{#each article.parameter.fields}}

{{@key}}

{{#each this}}

{{field}}

{{{type}}}

{{/each}}

{{/each}}

{{/if}}

{{/if}}

{{__ "Send"}}

{{__ "Response"}}

X

{{/if}}

{{underscoreToSpace article.group}} - {{{showDiff article.title compare.title}}}

{{article.version}} {{__ "compared to"}}

{{compare.version}} 

{{/each}}

{{#if article.description}}

{{{showDiff article.description compare.description "nl2br"}}}

{{else}}

{{#if compare.description}}

{{{showDiff "" compare.description "nl2br"}}}

{{/if}}

{{/if}}

{{{showDiff article.url compare.url}}}

{{subTemplate "article-compare-permission" article=article compare=compare}}

{{#each_compare_title article.examples compare.examples}}

{{#if typeSame}}

{{{showDiff source.title compare.title}}}

{{/if}}

{{#if typeIns}}

{{{source.title}}}

{{/if}}

{{#if typeDel}}

{{{compare.title}}}

{{/if}}

{{/each_compare_title}}

{{#each_compare_title article.examples compare.examples}}

{{#if typeSame}}

{{{showDiff source.content compare.content}}}

{{/if}}

{{#if typeIns}}

{{{source.content}}}

{{/if}}

{{#if typeDel}}

{{{compare.content}}}

{{/if}}

{{/each_compare_title}}

{{subTemplate "article-compare-param-block" source=article.parameter compare=compare.parameter _hasType=_hasTypeInParameterFields section="parameter"}}

{{subTemplate "article-compare-param-block" source=article.success compare=compare.success _hasType=_hasTypeInSuccessFields section="success"}}

{{subTemplate "article-compare-param-block" source=article.error compare=compare.error _col1="Name" _hasType=_hasTypeInErrorFields section="error"}}

{{subTemplate "article-sample-request" article=article id=id}}

{{__ "Permission:"}}

{{#each_compare_list_field article.permission compare.permission field="name"}}

{{#if source}}

{{#if typeSame}}

{{source.name}}

{{#if source.title}}

{{#unless _last}}, {{/unless}}

{{/if}}

{{/if}}

{{#if typeIns}}

{{source.name}}

{{#if source.title}}

{{#unless _last}}, {{/unless}}

{{/if}}

{{/if}}

{{#if typeDel}}

{{source.name}}

{{#if source.title}}

{{#unless _last}}, {{/unless}}

{{/if}}

{{/if}}

{{else}}

{{#if typeSame}}

{{compare.name}}

{{#if compare.title}}

{{#unless _last}}, {{/unless}}

{{/if}}

{{/if}}

{{#if typeIns}}

{{compare.name}}

{{#if compare.title}}

{{#unless _last}}, {{/unless}}

{{/if}}

{{/if}}

{{#if typeDel}}

{{compare.name}}

{{#if compare.title}}

{{#unless _last}}, {{/unless}}

{{/if}}

{{/if}}

{{/if}}

{{/each_compare_list_field}}

{{#if source}}

{{#each_compare_keys source.fields compare.fields}}

{{#if typeSame}}

{{__ source.key}}

{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}

{{#if ../_hasType}}

{{__ "Type"}}{{/if}}{{__ "Description"}}

{{subTemplate "article-compare-param-block-body" source=source.value compare=compare.value _hasType=../_hasType}}

{{/if}}

{{#if typeIns}}

{{__ source.key}}

{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}

{{#if ../_hasType}}

{{__ "Type"}}{{/if}}{{__ "Description"}}

{{subTemplate "article-compare-param-block-body" source=source.value compare=source.value _hasType=../_hasType}}

{{/if}}

{{#if typeDel}}

{{__ compare.key}}

{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}

{{#if ../_hasType}}

{{__ "Type"}}{{/if}}{{__ "Description"}}

{{subTemplate "article-compare-param-block-body" source=compare.value compare=compare.value _hasType=../_hasType}}

{{/if}}

{{/each_compare_keys}}

{{#if source.examples}}

{{#each_compare_title source.examples compare.examples}}

{{#if typeSame}}

{{{showDiff source.title compare.title}}}

{{/if}}

{{#if typeIns}}

{{{source.title}}}

{{/if}}

{{#if typeDel}}

{{{compare.title}}}

{{/if}}

{{/each_compare_title}}

{{#each_compare_title source.examples compare.examples}}

{{#if typeSame}}

{{{showDiff source.content compare.content}}}

{{/if}}

{{#if typeIns}}

{{{source.content}}}

{{/if}}

{{#if typeDel}}

{{{compare.content}}}

{{/if}}

{{/each_compare_title}}

{{/if}}

{{/if}}

{{#each_compare_field source compare}}

{{#if typeSame}}

{{{splitFill source.field "." "  "}}}

{{#if source.optional}}

{{#if compare.optional}} {{__ "optional"}}

{{else}} {{__ "optional"}}

{{/if}}

{{else}}

{{#if compare.optional}} {{__ "optional"}}{{/if}}

{{/if}}

{{#if source.type}}

{{#if compare.type}}

{{{showDiff source.type compare.type}}}

{{else}}

{{{source.type}}}

{{/if}}

{{else}}

{{#if compare.type}}

{{{compare.type}}}

{{else}}

{{#if ../../../../_hasType}}

{{/if}}

{{/if}}

{{/if}}

{{{showDiff source.description compare.description "nl2br"}}}

{{#if source.defaultValue}}

{{__ "Default value:"}} {{{showDiff source.defaultValue compare.defaultValue}}}

{{/if}}

{{/if}}

{{#if typeIns}}

{{{splitFill source.field "." "  "}}}

{{#if source.optional}} {{__ "optional"}}{{/if}}

{{#if source.type}}

{{{source.type}}}

{{else}}

{{{typRowTd}}}

{{/if}}

{{{nl2br source.description}}}

{{#if source.defaultValue}}

{{__ "Default value:"}} {{{source.defaultValue}}}

{{/if}}

{{/if}}

{{#if typeDel}}

{{{splitFill compare.field "." "  "}}}

{{#if compare.optional}} {{__ "optional"}}{{/if}}

{{#if compare.type}}

{{{compare.type}}}

{{else}}

{{{typRowTd}}}

{{/if}}

{{{nl2br compare.description}}}

{{#if compare.defaultValue}}

{{__ "Default value:"}} {{{compare.defaultValue}}}

{{/if}}

{{/if}}

{{/each_compare_field}}

Loading...

一键复制

编辑

Web IDE

原始数据

按行查看

历史

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值