Authored by 毕凯

元宵促销 4种普通

... ... @@ -23,4 +23,27 @@
</div>
</div>
</div>
<script type="text/tmpl" id="P1">
<div class="bg-guang"></div>
<div class="bg-yuan"></div>
<p class="title">成为一个大写加粗的</p>
<div class="chaoren animated infinite pulse"></div>
</script>
<script type="text/tmpl" id="P2">
<div class="bg-bige animated zoomIn"></div>
<div class="bg-manzai animated zoomIn"></div>
<div class="bg-ren"></div>
<p class="title animated infinite pulse"></p>
<div class="yzbb animated slideInDown"></div>
</script>
<script type="text/tmpl" id="P3">
<div class="bg-yunqi animated zoomIn"></div>
<p class="shoes animated infinite swing"></p>
<div class="yeezy animated slideInDown"></div>
</script>
<script type="text/tmpl" id="P4">
<div class="bg-car"></div>
<p class="hands animated infinite swing"></p>
<div class="wanghong animated slideInRight"></div>
</script>
{{> cuxiao/yuanxiao/footer}}
... ...
{{#staticJS}}
<script type="text/javascript" src="{{.}}"></script>
{{/staticJS}}
</body>
... ...
... ... @@ -13,8 +13,5 @@
(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>
... ...
... ... @@ -64,7 +64,7 @@ class YuanxiaoController extends HuodongAction
'staticTitle' => '元宵抽签',
'result' => array(
'name' => '张大龙',
'type' => 'P1'
'type' => 'P4'
),
'staticCSS' => 'http://localhost:2222/assets/1.0.0/css/style.css',
'staticJS' => array(
... ...