Authored by 毕凯

元宵抽签 增加结果页框架

@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <div class="title"> 12 <div class="title">
13 昵称 13 昵称
14 </div> 14 </div>
15 - <input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="4"> 15 + <input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="5">
16 </div> 16 </div>
17 <div class="user-info birthday"> 17 <div class="user-info birthday">
18 <div class="title"> 18 <div class="title">
  1 +{{> cuxiao/yuanxiao/header}}
  2 + <div class="main-wrap result">
  3 + <div class="flower flower-l"></div>
  4 + <div class="flower flower-r"></div>
  5 +
  6 + <div class="title">
  7 + <p>
  8 + {{result.name}}
  9 + </p>
  10 + 2016年潮流运势是
  11 + </div>
  12 +
  13 + <div class="hr">
  14 + </div>
  15 +
  16 + <div class="type {{result.type}}" data-type="{{result.type}}">
  17 +
  18 + </div>
  19 +
  20 + <div class="footer">
  21 + <div class="share">
  22 + 分享2016年潮流运势
  23 + </div>
  24 + </div>
  25 + </div>
  26 +{{> cuxiao/yuanxiao/footer}}
@@ -54,4 +54,23 @@ class YuanxiaoController extends HuodongAction @@ -54,4 +54,23 @@ class YuanxiaoController extends HuodongAction
54 ) 54 )
55 )); 55 ));
56 } 56 }
  57 +
  58 + /**
  59 + * 元宵抽签 结果
  60 + */
  61 + public function resultAction()
  62 + {
  63 + $this->_view->display('result', array(
  64 + 'staticTitle' => '元宵抽签',
  65 + 'result' => array(
  66 + 'name' => '张大龙',
  67 + 'type' => 'P1'
  68 + ),
  69 + 'staticCSS' => 'http://localhost:2222/assets/1.0.0/css/style.css',
  70 + 'staticJS' => array(
  71 + 'http://localhost:2222/assets/1.0.0/js/main.js',
  72 + 'http://localhost:2222/assets/1.0.0/js/result.js'
  73 + )
  74 + ));
  75 + }
57 } 76 }