Authored by Rock Zhang

Merge branch 'feature/wap/yuanxiao' of git.dev.yoho.cn:web/yohobuy into feature/wap/yuanxiao

@@ -12,13 +12,16 @@ @@ -12,13 +12,16 @@
12 <div class="title"> 12 <div class="title">
13 昵称 13 昵称
14 </div> 14 </div>
15 - <input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="5"> 15 + <input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="20">
16 </div> 16 </div>
17 <div class="user-info birthday"> 17 <div class="user-info birthday">
18 <div class="title"> 18 <div class="title">
19 生日 19 生日
20 </div> 20 </div>
21 - <input type="date" name="birthday" value="{{birthday}}" min="1900-01-01" max="2016-01-01"> 21 + <div class="birthday-div">
  22 + <span>{{birthday}}</span>
  23 + <input class="birthday-input" type="date" name="birthday" value="{{birthday}}" min="1900-01-01" max="2016-02-29">
  24 + </div>
22 </div> 25 </div>
23 <div class="gender"> 26 <div class="gender">
24 <div class="title"> 27 <div class="title">
@@ -44,7 +47,9 @@ @@ -44,7 +47,9 @@
44 <div class="modal"> 47 <div class="modal">
45 <div class="icon close"></div> 48 <div class="icon close"></div>
46 <div class="text"> 49 <div class="text">
47 - 你还没有<br>完善信息哦 50 + 请输入您
  51 + <br>
  52 + 帅气的名字!
48 </div> 53 </div>
49 <div class="btn close"> 54 <div class="btn close">
50 现在就完善 55 现在就完善
@@ -18,10 +18,21 @@ @@ -18,10 +18,21 @@
18 </div> 18 </div>
19 19
20 <div class="footer"> 20 <div class="footer">
  21 + {{#if needShare}}
21 <div class="share"> 22 <div class="share">
22 分享2016年潮流运势 23 分享2016年潮流运势
23 </div> 24 </div>
  25 + {{/if}}
  26 + </div>
  27 +
  28 + <div class="mask hide">
  29 + <div class="share-icon">
  30 + </div>
24 </div> 31 </div>
25 </div> 32 </div>
  33 +<input type="hidden" id="shareTitle" value="{{shareTitle}}">
  34 +<input type="hidden" id="shareDesc" value="{{shareDesc}}">
  35 +<input type="hidden" id="shareImg" value="{{shareImg}}">
  36 +<input type="hidden" id="shareLink" value="{{shareUrl}}">
26 {{> cuxiao/yuanxiao/type}} 37 {{> cuxiao/yuanxiao/type}}
27 {{> cuxiao/yuanxiao/footer}} 38 {{> cuxiao/yuanxiao/footer}}
@@ -2,4 +2,5 @@ @@ -2,4 +2,5 @@
2 {{#staticJS}} 2 {{#staticJS}}
3 <script type="text/javascript" src="{{../staticFile}}/js/{{.}}"></script> 3 <script type="text/javascript" src="{{../staticFile}}/js/{{.}}"></script>
4 {{/staticJS}} 4 {{/staticJS}}
  5 +<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
5 </body> 6 </body>
@@ -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.2';  
13 - const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.2'; 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 /**