Authored by hf

code review by hf: do modify newuser coupon huodong test coupon

  1 +<?php return function ($in, $debugopt = 1) {
  2 + $cx = array(
  3 + 'flags' => array(
  4 + 'jstrue' => false,
  5 + 'jsobj' => false,
  6 + 'spvar' => true,
  7 + 'prop' => false,
  8 + 'method' => false,
  9 + 'mustlok' => true,
  10 + 'echo' => false,
  11 + 'debug' => $debugopt,
  12 + ),
  13 + 'constants' => array(),
  14 + 'helpers' => array(),
  15 + 'blockhelpers' => array(),
  16 + 'hbhelpers' => array(),
  17 + 'partials' => array(),
  18 + 'scopes' => array(),
  19 + 'sp_vars' => array('root' => $in),
  20 + 'lcrun' => 'Plugin\LCRun3',
  21 +
  22 + );
  23 +
  24 + return '<!DOCTYPE html>
  25 +<html>
  26 +<head>
  27 + <meta charset="UTF-8">
  28 + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
  29 + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  30 + <style>
  31 + *{margin: 0;padding: 0;}
  32 + #coupon-container {width: 100%;}
  33 + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;}
  34 + .img-box {width: 100%;position: relative;}
  35 + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;}
  36 + .img-box .href-left {left: 0}
  37 + .img-box .href-right {right: 0}
  38 + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;}
  39 + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;}
  40 + .yoho-tip {position: fixed;display: none;text-align: center;width: 70%;padding: 34px 0;top: 50%;left: 50%;margin-left: -35%;margin-top: -45px;background-color: #000;opacity: 0.9;color: #fff;font-size: 18px;border: none;border-radius: 10px;}
  41 + </style>
  42 + <link rel="dns-prefetch" href="//cdn.yoho.cn">
  43 + <link rel="dns-prefetch" href="//static.yohobuy.com">
  44 +</head>
  45 +<body>
  46 + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'">
  47 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg">
  48 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg">
  49 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03.jpg">
  50 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg">
  51 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04.jpg">
  52 + <div class="img-box">
  53 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05.jpg">
  54 + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a>
  55 + </div>
  56 + <div class="img-box">
  57 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg">
  58 + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a>
  59 + </div>
  60 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg">
  61 +
  62 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg">
  63 + <div class="img-box">
  64 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg">
  65 + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a>
  66 + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a>
  67 + </div>
  68 + <div class="img-box">
  69 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg">
  70 + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12130"></span>
  71 + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12131"></span>
  72 + </div>
  73 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg">
  74 + <div class="img-box">
  75 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg">
  76 + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a>
  77 + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1')), ENT_QUOTES, 'UTF-8').'"></a>
  78 + </div>
  79 + <div class="img-box">
  80 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg">
  81 + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12132"></span>
  82 + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12134"></span>
  83 + </div>
  84 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg">
  85 + <div class="img-box">
  86 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg">
  87 + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_2')), ENT_QUOTES, 'UTF-8').'"></a>
  88 + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_3')), ENT_QUOTES, 'UTF-8').'"></a>
  89 + </div>
  90 + <div class="img-box">
  91 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg">
  92 + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12138"></span>
  93 + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12137"></span>
  94 + </div>
  95 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg">
  96 + <div class="img-box">
  97 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg">
  98 + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a>
  99 + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_5')), ENT_QUOTES, 'UTF-8').'"></a>
  100 + </div>
  101 + <div class="img-box">
  102 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg">
  103 + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12135"></span>
  104 + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12136"></span>
  105 + </div>
  106 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg">
  107 + <div class="img-box">
  108 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg">
  109 + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_6')), ENT_QUOTES, 'UTF-8').'"></a>
  110 + </div>
  111 + <div class="img-box">
  112 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg">
  113 + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="12133"></span>
  114 + </div>
  115 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg">
  116 +
  117 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg">
  118 + <div class="img-box">
  119 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg">
  120 + <a class="show-more" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_help')), ENT_QUOTES, 'UTF-8').'"></a>
  121 + </div>
  122 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg">
  123 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg">
  124 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1.jpg">
  125 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2.jpg">
  126 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3.jpg">
  127 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26.jpg">
  128 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27.jpg">
  129 + </div>
  130 + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
  131 + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script>
  132 +</body>
  133 +</html>';
  134 +}
  135 +?>
@@ -44,8 +44,8 @@ @@ -44,8 +44,8 @@
44 </div> 44 </div>
45 <div class="img-box"> 45 <div class="img-box">
46 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/09.jpg"> 46 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/09.jpg">
47 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12129"></span>  
48 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12130"></span> 47 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12130"></span>
  48 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12131"></span>
49 </div> 49 </div>
50 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> 50 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
51 <div class="img-box"> 51 <div class="img-box">
@@ -55,8 +55,8 @@ @@ -55,8 +55,8 @@
55 </div> 55 </div>
56 <div class="img-box"> 56 <div class="img-box">
57 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/11.jpg"> 57 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/11.jpg">
58 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12131"></span>  
59 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12132"></span> 58 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12132"></span>
  59 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12134"></span>
60 </div> 60 </div>
61 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> 61 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
62 <div class="img-box"> 62 <div class="img-box">
@@ -66,8 +66,8 @@ @@ -66,8 +66,8 @@
66 </div> 66 </div>
67 <div class="img-box"> 67 <div class="img-box">
68 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg"> 68 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg">
69 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12133"></span>  
70 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12134"></span> 69 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12138"></span>
  70 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12137"></span>
71 </div> 71 </div>
72 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> 72 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
73 <div class="img-box"> 73 <div class="img-box">
@@ -87,7 +87,7 @@ @@ -87,7 +87,7 @@
87 </div> 87 </div>
88 <div class="img-box"> 88 <div class="img-box">
89 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg"> 89 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg">
90 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12137"></span> 90 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12133"></span>
91 </div> 91 </div>
92 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg"> 92 <img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
93 93