Authored by 郭成尧

提示信息优化

@@ -52,6 +52,9 @@ @@ -52,6 +52,9 @@
52 <input id="shareImg" type="hidden" value="{{shareImg}}"> 52 <input id="shareImg" type="hidden" value="{{shareImg}}">
53 <input id="shareTitle" type="hidden" value="{{shareTitle}}"> 53 <input id="shareTitle" type="hidden" value="{{shareTitle}}">
54 {{/ share}} 54 {{/ share}}
  55 + {{#if noData}}
  56 +
  57 + {{/if}}
55 {{/ content}} 58 {{/ content}}
56 </div> 59 </div>
57 <div class="floor-mask"></div> 60 <div class="floor-mask"></div>
@@ -39,7 +39,12 @@ class CouponController extends AbstractAction @@ -39,7 +39,12 @@ class CouponController extends AbstractAction
39 if (isset($resource['code']) && $resource['code'] === 200) { 39 if (isset($resource['code']) && $resource['code'] === 200) {
40 $result = CouponFloorProcess::getContent($resource['data']); 40 $result = CouponFloorProcess::getContent($resource['data']);
41 }else{ 41 }else{
42 - echo '没有返回数据!';exit; 42 + $this->_view->display('index', array(
  43 + 'content' => array(
  44 + 'noData' => true,
  45 + ),
  46 + 'floorPage' => true
  47 + ));
43 } 48 }
44 // 分享 49 // 分享
45 $shareData = CouponFloorProcess::getShare($receiveData['code'], '领券中心'); 50 $shareData = CouponFloorProcess::getShare($receiveData['code'], '领券中心');