Skip to content

Commit

Permalink
feat: 增加组件 半屏弹窗half-screen-dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Jul 15, 2019
1 parent c141999 commit a5e994b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"description": "wechat mobile ui",
"main": "dist/style/weui.css",
"version": "2.0.0",
"version": "2.0.1",
"authors": [
"wechat ui team"
],
Expand Down
9 changes: 6 additions & 3 deletions dist/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,8 @@ <h1 class="page__title">Picker</h1>
},
onConfirm: function (result) {
console.log(result);
}
},
title: '单列选择器'
});
});
$('#showDatePicker').on('click', function () {
Expand All @@ -1592,10 +1593,12 @@ <h1 class="page__title">Picker</h1>
},
onConfirm: function (result) {
console.log(result);
}
},
title: '多列选择器'
});
});
</script>

</script>
<script type="text/html" id="tpl_footer">
<div class="page">
Expand Down Expand Up @@ -2125,7 +2128,7 @@ <h1 class="page__title">Slider</h1>
</script>
<script src="./zepto.min.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.2.1/weui.min.js"></script>
<script src="./example.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion dist/style/weui.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/style/weui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weui",
"version": "2.0.0",
"version": "2.0.1",
"description": "A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.",
"keywords": [
"weui",
Expand Down
8 changes: 5 additions & 3 deletions src/example/fragment/picker.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ <h1 class="page__title">Picker</h1>
},
onConfirm: function (result) {
console.log(result);
}
},
title: '单列选择器'
});
});
$('#showDatePicker').on('click', function () {
Expand All @@ -44,7 +45,8 @@ <h1 class="page__title">Picker</h1>
},
onConfirm: function (result) {
console.log(result);
}
},
title: '多列选择器'
});
});
</script>
</script>
2 changes: 1 addition & 1 deletion src/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<link rel="import" href="./fragment/slider.html">
<script src="./zepto.min.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.2.1/weui.min.js"></script>
<script src="./example.js"></script>
</body>
</html>

0 comments on commit a5e994b

Please sign in to comment.