Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
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
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
076812d8f5bfce6ef9274df6f2d8348cf78c8d62
1 parent
5899630c
添加新势力 领券框架
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 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 @
076812d
{
{>
cuxiao/xinshili/header
}
}
<div
class=
"main-wrap home"
>
<div
class=
"header"
>新势力
优惠券
第二波</div>
</div>
{
{>
cuxiao/xinshili/footer
}
}
...
...
template/huodong.m.yohobuy.com/partials/cuxiao/xinshili/footer.phtml
0 → 100644
View file @
076812d
<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 @
076812d
<!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 @
076812d
<?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'
),
'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