Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
ec102eb923572f78b271bcb348c33aa59a8483b1
1 parent
c8908aaf
元宵活动增加信息收集页面
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
1 deletions
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/index.phtml
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/info.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/index.phtml
View file @
ec102eb
...
...
@@ -24,7 +24,7 @@
<div
class=
"flower flower-l"
></div>
<div
class=
"flower flower-r"
></div>
</div>
<a
class=
"start
"
href=
"
"
></a>
<a
class=
"start
animated fadeInDown"
href=
"/cuxiao/yuanxiao/info
"
></a>
<div
class=
"footer"
>
<div
class=
"arrow"
></div>
<div
class=
"yohobuy"
></div>
...
...
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/info.phtml
0 → 100644
View file @
ec102eb
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
charset=
"utf-8"
>
<title>
{{staticTitle}}
</title>
<!-- <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> -->
<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=
"{{staticCSS}}"
>
{{#staticJS}}
<script
type=
"text/javascript"
src=
"{{.}}"
></script>
{{/staticJS}}
</head>
<body>
<div
class=
"main-wrap info"
>
<div
class=
"header"
>
<span
class=
"title chao"
>
潮
</span>
<span
class=
"title liu"
>
流
</span>
<div
class=
"sub-title"
>
开运测试
</div>
</div>
<form
class=
"user"
>
<div
class=
"user-info nick"
>
<div
class=
"title"
>
昵称
</div>
<input
type=
"text"
name=
"nick"
placeholder=
"请输入您帅气的名字!"
value=
""
maxlength=
"4"
>
</div>
<div
class=
"user-info birthday"
>
<div
class=
"title"
>
生日
</div>
<input
type=
"date"
name=
"nick"
value=
"2011-12-13"
>
</div>
<div
class=
"gender"
>
<div
class=
"title"
>
性
<br>
别
</div>
<div
class=
"icon boy"
>
<span
class=
"check"
></span>
</div>
<div
class=
"icon girl"
>
<span
class=
"check checked"
></span>
</div>
</div>
</form>
<div
class=
"footer"
>
<div
class=
"submit"
>
开始测试
</div>
</div>
<div
class=
"mask"
>
<div
class=
"modal"
>
<div
class=
"icon close"
></div>
<div
class=
"text"
>
你还没有
<br>
完善信息哦
</div>
<div
class=
"btn close"
>
现在就完善
</div>
</div>
</div>
</div>
</body>
...
...
template/huodong.m.yohobuy.com/actions/cuxiao/yuanxiao/wait.phtml
0 → 100644
View file @
ec102eb
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
charset=
"utf-8"
>
<title>
{{staticTitle}}
</title>
<!-- <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> -->
<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=
"{{staticCSS}}"
>
{{#staticJS}}
<script
type=
"text/javascript"
src=
"{{.}}"
></script>
{{/staticJS}}
</head>
<body>
<div
class=
"main-wrap wait"
>
</div>
</body>
...
...
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Yuanxiao.php
View file @
ec102eb
...
...
@@ -24,4 +24,34 @@ class YuanxiaoController extends HuodongAction
)
));
}
/**
* 元宵抽签 信息
*/
public
function
infoAction
()
{
$this
->
_view
->
display
(
'info'
,
array
(
'staticTitle'
=>
'元宵抽签'
,
'staticCSS'
=>
'http://localhost:2222/assets/1.0.0/css/style.css'
,
'staticJS'
=>
array
(
'http://localhost:2222/assets/1.0.0/js/main.js'
,
'http://localhost:2222/assets/1.0.0/js/info.js'
)
));
}
/**
* 元宵抽签 等待
*/
public
function
infoAction
()
{
$this
->
_view
->
display
(
'wait'
,
array
(
'staticTitle'
=>
'元宵抽签'
,
'staticCSS'
=>
'http://localhost:2222/assets/1.0.0/css/style.css'
,
'staticJS'
=>
array
(
'http://localhost:2222/assets/1.0.0/js/main.js'
,
'http://localhost:2222/assets/1.0.0/js/wait.js'
)
));
}
}
...
...
Please
register
or
login
to post a comment