Authored by 毕凯

日期插件优化

AnyPicker @ 6206acd1
  1 +Subproject commit 6206acd137894609015041be1d59d9684690f8fe
@@ -18,10 +18,11 @@ @@ -18,10 +18,11 @@
18 <div class="title"> 18 <div class="title">
19 生日 19 生日
20 </div> 20 </div>
21 - <div class="birthday-div"> 21 + <input class="birthday-picker" type="text" name="birthday" value="{{birthday}}" min="1900-01-01" max="2016-02-29" readonly>
  22 + <!-- <div class="birthday-div">
22 <span>{{birthday}}</span> 23 <span>{{birthday}}</span>
23 <input class="birthday-input" type="date" name="birthday" value="{{birthday}}" min="1900-01-01" max="2016-02-29"> 24 <input class="birthday-input" type="date" name="birthday" value="{{birthday}}" min="1900-01-01" max="2016-02-29">
24 - </div> 25 + </div> -->
25 </div> 26 </div>
26 <div class="gender"> 27 <div class="gender">
27 <div class="title"> 28 <div class="title">
@@ -57,4 +58,5 @@ @@ -57,4 +58,5 @@
57 </div> 58 </div>
58 </div> 59 </div>
59 </div> 60 </div>
  61 +<link rel="stylesheet" type="text/css" href="http://cdn.yoho.cn/huodong/2016yuanxiao/AnyPicker/dist/anypicker-all.min.css" />
60 {{> cuxiao/yuanxiao/footer}} 62 {{> cuxiao/yuanxiao/footer}}
@@ -9,8 +9,8 @@ use Plugin\Helpers; @@ -9,8 +9,8 @@ use Plugin\Helpers;
9 */ 9 */
10 class YuanxiaoController extends HuodongAction 10 class YuanxiaoController extends HuodongAction
11 { 11 {
12 - // const STATIC_FILE = 'http://localhost:2222/assets/1.0.5';  
13 - const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.5'; 12 + const STATIC_FILE = 'http://localhost:2222/assets/1.0.5';
  13 + // const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.5';
14 const ENCRYPT_KEY = 'iamgtskkwhoareyou'; 14 const ENCRYPT_KEY = 'iamgtskkwhoareyou';
15 15
16 /** 16 /**