Authored by 毕凯

元宵促销 4种普通

@@ -23,4 +23,27 @@ @@ -23,4 +23,27 @@
23 </div> 23 </div>
24 </div> 24 </div>
25 </div> 25 </div>
  26 +<script type="text/tmpl" id="P1">
  27 + <div class="bg-guang"></div>
  28 + <div class="bg-yuan"></div>
  29 + <p class="title">成为一个大写加粗的</p>
  30 + <div class="chaoren animated infinite pulse"></div>
  31 +</script>
  32 +<script type="text/tmpl" id="P2">
  33 + <div class="bg-bige animated zoomIn"></div>
  34 + <div class="bg-manzai animated zoomIn"></div>
  35 + <div class="bg-ren"></div>
  36 + <p class="title animated infinite pulse"></p>
  37 + <div class="yzbb animated slideInDown"></div>
  38 +</script>
  39 +<script type="text/tmpl" id="P3">
  40 + <div class="bg-yunqi animated zoomIn"></div>
  41 + <p class="shoes animated infinite swing"></p>
  42 + <div class="yeezy animated slideInDown"></div>
  43 +</script>
  44 +<script type="text/tmpl" id="P4">
  45 + <div class="bg-car"></div>
  46 + <p class="hands animated infinite swing"></p>
  47 + <div class="wanghong animated slideInRight"></div>
  48 +</script>
26 {{> cuxiao/yuanxiao/footer}} 49 {{> cuxiao/yuanxiao/footer}}
  1 +{{#staticJS}}
  2 +<script type="text/javascript" src="{{.}}"></script>
  3 +{{/staticJS}}
1 </body> 4 </body>
@@ -13,8 +13,5 @@ @@ -13,8 +13,5 @@
13 (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); 13 (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);
14 </script> 14 </script>
15 <link rel="stylesheet" href="{{staticCSS}}"> 15 <link rel="stylesheet" href="{{staticCSS}}">
16 - {{#staticJS}}  
17 - <script type="text/javascript" src="{{.}}"></script>  
18 - {{/staticJS}}  
19 </head> 16 </head>
20 <body> 17 <body>
@@ -64,7 +64,7 @@ class YuanxiaoController extends HuodongAction @@ -64,7 +64,7 @@ class YuanxiaoController extends HuodongAction
64 'staticTitle' => '元宵抽签', 64 'staticTitle' => '元宵抽签',
65 'result' => array( 65 'result' => array(
66 'name' => '张大龙', 66 'name' => '张大龙',
67 - 'type' => 'P1' 67 + 'type' => 'P4'
68 ), 68 ),
69 'staticCSS' => 'http://localhost:2222/assets/1.0.0/css/style.css', 69 'staticCSS' => 'http://localhost:2222/assets/1.0.0/css/style.css',
70 'staticJS' => array( 70 'staticJS' => array(