Skip to content

Commit

Permalink
添加城市联动 Demo 到 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghongyuneurotoxin committed Jan 3, 2017
1 parent 998d16c commit 8001bfa
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 128 deletions.
34 changes: 0 additions & 34 deletions demo/index.html

This file was deleted.

91 changes: 0 additions & 91 deletions demo/reset.css

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion demo/index.js → docs/city/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var nameEl = document.getElementById('chose');
var nameEl = document.getElementById('picker5');

var first = []; /* 省,直辖市 */
var second = []; /* 市 */
Expand Down
6 changes: 6 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ <h3>变化选择器</h3>

<div id="picker4">每次点击数据源变化</div>

<h3>城市联动选择器</h3>

<div id="picker5">每次点击数据联动</div>

<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/ustbhuangyi/picker">Picker</a> is maintained by <a
href="https://github.com/ustbhuangyi">ustbhuangyi</a>.</span>
Expand All @@ -51,6 +55,8 @@ <h3>变化选择器</h3>
</body>
<script src="http://img6.didistatic.com/static/tms/cdn/z/zepto/zepto/1.1.4/zepto.min.js"></script>
<script src="scripts/picker.min.js"></script>
<script src="city/city.js"></script>
<script src="city/index.js"></script>
<script>
var data1 = [
{
Expand Down
4 changes: 2 additions & 2 deletions docs/scripts/picker.min.js

Large diffs are not rendered by default.

0 comments on commit 8001bfa

Please sign in to comment.