...
|
...
|
@@ -6,6 +6,10 @@ |
|
|
<title>十方台公众号</title>
|
|
|
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
|
|
|
<script src="__TMPL__/public/assets/js/fontsize.js"></script>
|
|
|
<script src="__TMPL__/public/assets/js/weui.js"></script>
|
|
|
<script src="__TMPL__/public/assets/js/myweui.js"></script>
|
|
|
<link href="__TMPL__/public/assets/css/weui.css" rel="stylesheet">
|
|
|
<link href="__TMPL__/public/assets/css/myweui.css" rel="stylesheet">
|
|
|
<link href="__TMPL__/public/assets/css/personal-info.css" rel="stylesheet">
|
|
|
</head>
|
|
|
<body>
|
...
|
...
|
@@ -24,6 +28,12 @@ |
|
|
id="age" value="" bindinput="inputName"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="age-box">
|
|
|
<div class="input-box">
|
|
|
<text>生日</text>
|
|
|
<input type="text" id='showDatePicker'/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="sex-box">
|
|
|
<div class="input-box">
|
|
|
<text>性别</text>
|
...
|
...
|
@@ -46,6 +56,18 @@ |
|
|
</div>
|
|
|
</body>
|
|
|
<script>
|
|
|
$('#showDatePicker').on('click', function () {
|
|
|
weui.datePicker({
|
|
|
start: 1990,
|
|
|
end: new Date().getFullYear(),
|
|
|
onChange: function (result) {
|
|
|
// console.log(result);
|
|
|
},
|
|
|
onConfirm: function (result) {
|
|
|
$('#showDatePicker').val(result[0].label + '' + result[1].label + '' + result[2].label)
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
$(".man").click(function () {
|
|
|
$(".man").addClass('active');
|
|
|
$(".women").removeClass('active');
|
...
|
...
|
|