Authored by 毕凯

元宵活动增加信息收集页面

... ... @@ -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>
... ...
<!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">&nbsp;开运测试</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>
... ...
<!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>
... ...
... ... @@ -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'
)
));
}
}
... ...