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
Rock Zhang
2016-02-25 09:56:25 +0800
Commit
8688db02738391fd55cca9ddb0905b7ed1173603
2 parents
7f56a3f6
580eca50
Merge branch 'develop/wap' into feature/wap/girlsday
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
112 additions
and
0 deletions
template/huodong.m.yohobuy.com/actions/cuxiao/xinshili/index.phtml
template/huodong.m.yohobuy.com/partials/cuxiao/xinshili/footer.phtml
template/huodong.m.yohobuy.com/partials/cuxiao/xinshili/header.phtml
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Xinshili.php
template/huodong.m.yohobuy.com/actions/cuxiao/xinshili/index.phtml
0 → 100644
View file @
8688db0
{
{>
cuxiao/xinshili/header
}
}
<div
class=
"main-wrap home"
>
<div
class=
"header"
></div>
<a
class=
"coupon"
href=
"{{couponUrl}}"
></a>
<div
class=
"share"
>
快去分享给小伙伴吧
<span
class=
"arrow"
></span>
</div>
<a
class=
"banner"
href=
"{{banner.url}}"
>
<img
src=
"{{banner.img}}"
>
</a>
<div
class=
"download"
>
<a
class=
"weixin"
href=
"{{weixinUrl}}"
>
关注有货微信
<span
class=
"arrow"
></span>
</a>
<a
class=
"app"
href=
"{{appUrl}}"
>
下载YOHO!BUY有货APP
<span
class=
"arrow"
></span>
</a>
</div>
<div
class=
"footer"
>
</div>
</div>
<div
class=
"tip hide fail"
>
<div
class=
"title"
>
领取失败<br>
请刷新重新领取
</div>
<div
class=
"desc"
>
如多次领取失败,请联系客服人员<br>
带来不便敬请谅解
</div>
<a
class=
"button"
href=
""
>
刷新
</a>
</div>
<div
class=
"tip hide geted"
>
<div
class=
"title"
>
你已领取过优惠券
</div>
<div
class=
"sub-title"
>
快去分享给更多<br>
喜爱<span
class=
"title"
>潮流</span>的小伙伴吧!
</div>
<a
class=
"button close"
href=
""
>
返回
</a>
</div>
{
{>
cuxiao/xinshili/footer
}
}
...
...
template/huodong.m.yohobuy.com/partials/cuxiao/xinshili/footer.phtml
0 → 100644
View file @
8688db0
<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="{{shareLink}}">
<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>
{{/staticJS}}
</body>
...
...
template/huodong.m.yohobuy.com/partials/cuxiao/xinshili/header.phtml
0 → 100644
View file @
8688db0
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
charset=
"utf-8"
>
<title>
{{staticTitle}}
</title>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"grey"
>
<script
type=
"text/javascript"
>
(
function
(
d
,
c
){
var
e
=
d
.
documentElement
,
a
=
"orientationchange"
in
window
?
"orientationchange"
:
"resize"
,
b
=
function
(){
var
f
=
e
.
clientWidth
;
if
(
!
f
){
return
}
if
(
f
>=
640
){
e
.
style
.
fontSize
=
"40px"
}
else
{
e
.
style
.
fontSize
=
40
*
(
f
/
640
)
+
"px"
}};
if
(
!
d
.
addEventListener
){
return
}
b
();
c
.
addEventListener
(
a
,
b
,
false
);
d
.
addEventListener
(
"DOMContentLoaded"
,
b
,
false
)})(
document
,
window
);
</script>
<link
rel=
"stylesheet"
href=
"{{staticFile}}/css/style.css"
>
</head>
<body>
...
...
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Xinshili.php
0 → 100644
View file @
8688db0
<?php
use
Action\HuodongAction
;
use
Plugin\Helpers
;
/**
* 元宵抽签活动
*/
class
XinshiliController
extends
HuodongAction
{
// const STATIC_FILE = 'http://localhost:2222/1.0.0';
const
STATIC_FILE
=
'http://cdn.yoho.cn/huodong/2016xinshili/1.0.0'
;
/**
* 元宵抽签
*/
public
function
indexAction
()
{
$this
->
_view
->
display
(
'index'
,
array
(
'staticTitle'
=>
'新势力'
,
'staticFile'
=>
self
::
STATIC_FILE
,
'staticJS'
=>
array
(
'home.js'
),
'couponUrl'
=>
''
,
// 个人中心优惠券地址
'banner'
=>
array
(
'img'
=>
''
,
'url'
=>
''
),
'weixinUrl'
=>
''
,
// 微信关注地址
'appUrl'
=>
''
,
// APP 下载地址
'shareTitle'
=>
'新势力'
,
'shareDesc'
=>
'新势力领券'
,
'shareImg'
=>
'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png'
,
'shareLink'
=>
Helpers
::
url
(
'/cuxiao/yuanxiao/index'
)
));
}
}
...
...
Please
register
or
login
to post a comment