Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
9f8ba5525c1d5d355eee25e2f41f901c7a7fb234
2 parents
a2279e2a
112a53eb
Merge branch 'beta/wap' of
http://git.dev.yoho.cn/web/yohobuy
into beta/wap
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/result.phtml
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/wait.phtml
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Yuanxiao.php
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/result.phtml
View file @
9f8ba55
...
...
@@ -34,7 +34,7 @@
<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.
0
.0.js"
></script>
<script
type=
"text/javascript"
src=
"http://res.wx.qq.com/open/js/jweixin-1.
1
.0.js"
></script>
{
{>
cuxiao/yuanxiao/type
}
}
{
{>
cuxiao/yuanxiao/footer
}
}
...
...
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/wait.phtml
View file @
9f8ba55
...
...
@@ -17,7 +17,9 @@
</div>
<script
type=
"text/javascript"
>
setTimeout(function
()
{
location.href
=
'{{activityUrl
}
}?openby:yohobuy=
{
"action"
:
"go.h5"
,
"params"
:{
"title"
:
"元宵抽签"
,
"url"
:
"{{activityUrl}}"
,
"share"
:
"\/operations\/api\/v5\/webshare\/getShare"
,
"shareparam"
:{
"share_id"
:
"1"
},
"param"
:{
"share_id"
:
"1"
}}}
';
location.href
=
'{{activityUrl
}
}';
//
location.href
=
'
{
{activityUrl
}
}?openby:yohobuy=
{
"action"
:
"go.h5"
,
"params"
:{
"title"
:
"元宵抽签"
,
"url"
:
"{{activityUrl}}"
,
"share"
:
"\/operations\/api\/v5\/webshare\/getShare"
,
"shareparam"
:{
"share_id"
:
"1"
},
"param"
:{
"share_id"
:
"1"
}}}
';
},
2000
);
</script>
{
{>
cuxiao/yuanxiao/footer
}
}
...
...
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Yuanxiao.php
View file @
9f8ba55
...
...
@@ -9,8 +9,8 @@ use Plugin\Helpers;
*/
class
YuanxiaoController
extends
HuodongAction
{
// const STATIC_FILE = 'http://localhost:2222/assets/1.0.9';
const
STATIC_FILE
=
'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.9'
;
// const STATIC_FILE = 'http://localhost:2222/assets/1.1.0';
const
STATIC_FILE
=
'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.0'
;
const
ENCRYPT_KEY
=
'iamgtskkwhoareyou'
;
/**
...
...
Please
register
or
login
to post a comment