Authored by 毕凯

完善微信分享

... ... @@ -7,6 +7,11 @@
<div class="sub-title">&nbsp;开运测试</div>
</div>
{{#if message}}
<div class="err-tip">
活动太火爆,请稍后再试
</div>
{{else}}
<form class="user" method="POST">
<div class="user-info nick">
<div class="title">
... ... @@ -40,6 +45,8 @@
</div>
</div>
{{/if}}
<div class="mask hide">
<div class="modal">
<div class="icon close"></div>
... ...
... ... @@ -30,11 +30,6 @@
</div>
</div>
</div>
<input type="hidden" id="shareTitle" value="{{shareTitle}}">
<input type="hidden" id="shareDesc" value="{{shareDesc}}">
<input type="hidden" id="shareImg" value="{{shareImg}}">
<input type="hidden" id="shareLink" value="{{shareUrl}}">
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
{{> cuxiao/yuanxiao/type}}
{{> cuxiao/yuanxiao/footer}}
... ...
<input type="hidden" id="shareTitle" value="{{shareTitle}}">
<input type="hidden" id="shareDesc" value="{{shareDesc}}">
<input type="hidden" id="shareImg" value="{{shareImg}}">
<input type="hidden" id="shareLink" value="{{shareUrl}}">
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
<script type="text/javascript" src="{{staticFile}}/js/libs.js"></script>
{{#staticJS}}
<script type="text/javascript" src="{{../staticFile}}/js/{{.}}"></script>
... ...
... ... @@ -9,8 +9,8 @@ use Plugin\Helpers;
*/
class YuanxiaoController extends HuodongAction
{
// const STATIC_FILE = 'http://localhost:2222/assets/1.1.0';
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.0';
// const STATIC_FILE = 'http://localhost:2222/assets/1.1.1';
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.1';
const ENCRYPT_KEY = 'iamgtskkwhoareyou';
/**
... ...