Authored by 毕凯

完善微信分享

@@ -7,6 +7,11 @@ @@ -7,6 +7,11 @@
7 <div class="sub-title">&nbsp;开运测试</div> 7 <div class="sub-title">&nbsp;开运测试</div>
8 </div> 8 </div>
9 9
  10 + {{#if message}}
  11 + <div class="err-tip">
  12 + 活动太火爆,请稍后再试
  13 + </div>
  14 + {{else}}
10 <form class="user" method="POST"> 15 <form class="user" method="POST">
11 <div class="user-info nick"> 16 <div class="user-info nick">
12 <div class="title"> 17 <div class="title">
@@ -40,6 +45,8 @@ @@ -40,6 +45,8 @@
40 </div> 45 </div>
41 </div> 46 </div>
42 47
  48 + {{/if}}
  49 +
43 <div class="mask hide"> 50 <div class="mask hide">
44 <div class="modal"> 51 <div class="modal">
45 <div class="icon close"></div> 52 <div class="icon close"></div>
@@ -30,11 +30,6 @@ @@ -30,11 +30,6 @@
30 </div> 30 </div>
31 </div> 31 </div>
32 </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}}">  
37 -<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>  
38 33
39 {{> cuxiao/yuanxiao/type}} 34 {{> cuxiao/yuanxiao/type}}
40 {{> cuxiao/yuanxiao/footer}} 35 {{> cuxiao/yuanxiao/footer}}
  1 +<input type="hidden" id="shareTitle" value="{{shareTitle}}">
  2 +<input type="hidden" id="shareDesc" value="{{shareDesc}}">
  3 +<input type="hidden" id="shareImg" value="{{shareImg}}">
  4 +<input type="hidden" id="shareLink" value="{{shareUrl}}">
  5 +<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
1 <script type="text/javascript" src="{{staticFile}}/js/libs.js"></script> 6 <script type="text/javascript" src="{{staticFile}}/js/libs.js"></script>
2 {{#staticJS}} 7 {{#staticJS}}
3 <script type="text/javascript" src="{{../staticFile}}/js/{{.}}"></script> 8 <script type="text/javascript" src="{{../staticFile}}/js/{{.}}"></script>
@@ -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.1.0';  
13 - const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.0'; 12 + // const STATIC_FILE = 'http://localhost:2222/assets/1.1.1';
  13 + const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.1';
14 const ENCRYPT_KEY = 'iamgtskkwhoareyou'; 14 const ENCRYPT_KEY = 'iamgtskkwhoareyou';
15 15
16 /** 16 /**