1 Star 0 Fork 0

染青 / icedog.javascript.test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
染青 提交于 2017-12-06 01:13 . 完成对面包屑导航的大部分处理
<div class="module">
<div>
<p>debug 信息:</p>
<pre data-bind="text:ko.toJSON($root,null,2)"></pre>
</div>
<hr />
<div class="content">
<h1>导航页</h1>
<hr />
<p>route:route-demo1</p>
<p>规则:可以适配route-demo1</p>
<button class="btn btn-danger" data-bind="click:navToDemo1">nav to router-demo1</button>
<hr />
<p>route:route-demo2/:type(/:id)</p>
<p>规则:可以适配route-demo2/type和route-demo2/type/id</p>
<fieldset id="">
<legend>参数</legend>
<label for="">type:<input type="text" data-bind="textInput:type"/></label>
<label for="">id:<input type="text" data-bind="textInput:id"/></label>
</fieldset>
<button class="btn btn-success" data-bind="click:navToDemo2">nav to route-demo2</button>
<hr />
<p>route:route-demo3*details</p>
<p>规则:可以适配route-demo3(/anythings)</p>
<fieldset id="">
<legend>参数</legend>
<label for="">splat:<input type="text" data-bind="textInput:splat" style="width: 400px;"/></label>
</fieldset>
<button class="btn btn-default" data-bind="click:navToDemo3">nav to route-demo3</button>
</div>
</div>
JavaScript
1
https://gitee.com/dhclly/icedog.javascript.test.git
git@gitee.com:dhclly/icedog.javascript.test.git
dhclly
icedog.javascript.test
icedog.javascript.test
master

搜索帮助