Authored by 梁志锋

Merge remote-tracking branch 'origin/master' into beta

  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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
  28 + <meta charset="utf-8">
  29 + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
  30 + <meta name="apple-mobile-web-app-title" content="SUMMER SALE">
  31 + <meta name="format-detection" content="telephone=no">
  32 + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)">
  33 + <meta name="apple-mobile-web-app-capable" content="yes">
  34 + <meta name="apple-mobile-web-app-status-bar-style" content="grey">
  35 + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/final/sale.css">
  36 + <script>
  37 + (function(doc, win) {
  38 + var docEl = doc.documentElement;
  39 + (function() {
  40 + var clientWidth = docEl.clientWidth;
  41 + if (!clientWidth) {
  42 + return;
  43 + }
  44 + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
  45 + }());
  46 + })(document, window);
  47 + </script>
  48 +</head>
  49 +<body class="keBody">
  50 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="http://img11.static.yhbimg.com/couponImg/2016/01/07/07/016f63f5bb1f12cdb19402371323d26798.png"/></div>
  51 +' : '').'
  52 +<div class="coupon-christmas" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'">
  53 + <div class="coupon-top">
  54 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/top-bg.png" alt="">
  55 + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a>
  56 + <a class="share-btn" href="javascript:;"></a>
  57 + </div>
  58 + <div class="coupon-bottom">
  59 + <div class="coupon-banner">
  60 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a>
  61 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a>
  62 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a>
  63 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a>
  64 + </div>
  65 + <div class="bottom-btn">
  66 + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
  67 + <a class="download-yoho" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('downAppUrl')), ENT_QUOTES, 'UTF-8').'"></a>
  68 + </div>
  69 + </div>
  70 + <div class="coupon-ft">
  71 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/14.png">
  72 + </div>
  73 +</div>
  74 +<div class="modal"></div>
  75 +<div class="dialog-box geted">
  76 + <div class="dialog-inner">
  77 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/geted-2.png" alt=""/>
  78 + <span class="dialog-close"></span>
  79 + </div>
  80 +</div>
  81 +
  82 +<div class="dialog-box fail">
  83 + <div class="dialog-inner">
  84 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/fail-2.png" alt=""/>
  85 + <span class="refresh-btn"></span>
  86 + </div>
  87 +</div>
  88 +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
  89 +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
  90 +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
  91 +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
  92 +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
  93 +<script>
  94 + //提示分享
  95 + $(\'.share-btn\').click(function () {
  96 + $(\'.modal\').fadeIn();
  97 + });
  98 + //关闭提示分享
  99 + $(\'.modal\').click(function () {
  100 + $(this).fadeOut();
  101 + });
  102 +
  103 + //提示已领过券
  104 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') {
  105 + $(\'.dialog-box.geted\').show();
  106 + }
  107 + //提示领券失败
  108 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') {
  109 + $(\'.dialog-box.fail\').show();
  110 + }
  111 +
  112 + //关闭提示
  113 + $(\'.dialog-close\').click(function(){
  114 + $(this).parents(\'.dialog-box\').fadeOut();
  115 + });
  116 + //刷新页面
  117 + $(\'.refresh-btn\').click(function() {
  118 + location.reload();
  119 + });
  120 +</script>
  121 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  122 +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script>
  123 +' : '').''.'<!-- Google Tag Manager -->
  124 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  125 +<script>
  126 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  127 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  128 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  129 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  130 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  131 +</script>
  132 +<!-- End Google Tag Manager -->
  133 +<script type="text/javascript">
  134 + var _hmt = _hmt || [];
  135 + (function() {
  136 + var hm = document.createElement("script");
  137 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  138 + var s = document.getElementsByTagName("script")[0];
  139 + s.parentNode.insertBefore(hm, s);
  140 + })();
  141 +</script>
  142 +<script>
  143 + var _hmt = _hmt || [];
  144 + (function() {
  145 + var hm = document.createElement("script");
  146 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  147 + var s = document.getElementsByTagName("script")[0];
  148 + s.parentNode.insertBefore(hm, s);
  149 + })();
  150 +</script>
  151 +'.'</body>
  152 +</html>';
  153 +}
  154 +?>
  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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
  28 + <meta charset="utf-8">
  29 + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
  30 + <meta name="apple-mobile-web-app-title" content="SUMMER SALE">
  31 + <meta name="format-detection" content="telephone=no">
  32 + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)">
  33 + <meta name="apple-mobile-web-app-capable" content="yes">
  34 + <meta name="apple-mobile-web-app-status-bar-style" content="grey">
  35 + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/final/sale.css">
  36 + <script>
  37 + (function(doc, win) {
  38 + var docEl = doc.documentElement;
  39 + (function() {
  40 + var clientWidth = docEl.clientWidth;
  41 + if (!clientWidth) {
  42 + return;
  43 + }
  44 + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
  45 + }());
  46 + })(document, window);
  47 + </script>
  48 +</head>
  49 +<body class="keBody">
  50 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="http://img11.static.yhbimg.com/couponImg/2016/01/07/07/016f63f5bb1f12cdb19402371323d26798.png"/></div>
  51 +' : '').'
  52 +<div class="coupon-christmas" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'">
  53 + <div class="coupon-top">
  54 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/top-bg.png" alt="">
  55 + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a>
  56 + <a class="share-btn" href="javascript:;"></a>
  57 + </div>
  58 + <div class="coupon-bottom">
  59 + <div class="coupon-banner">
  60 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a>
  61 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a>
  62 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a>
  63 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a>
  64 + </div>
  65 + <div class="bottom-btn">
  66 + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
  67 + <a class="download-yoho" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('downAppUrl')), ENT_QUOTES, 'UTF-8').'"></a>
  68 + </div>
  69 + </div>
  70 + <div class="coupon-ft">
  71 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/14.png">
  72 + </div>
  73 +</div>
  74 +<div class="modal"></div>
  75 +<div class="dialog-box geted">
  76 + <div class="dialog-inner">
  77 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/geted.png" alt=""/>
  78 + <span class="dialog-close"></span>
  79 + </div>
  80 +</div>
  81 +
  82 +<div class="dialog-box fail">
  83 + <div class="dialog-inner">
  84 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/fail.png" alt=""/>
  85 + <span class="refresh-btn"></span>
  86 + </div>
  87 +</div>
  88 +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
  89 +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
  90 +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
  91 +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
  92 +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
  93 +<script>
  94 + //提示分享
  95 + $(\'.share-btn\').click(function () {
  96 + $(\'.modal\').fadeIn();
  97 + });
  98 + //关闭提示分享
  99 + $(\'.modal\').click(function () {
  100 + $(this).fadeOut();
  101 + });
  102 +
  103 + //提示已领过券
  104 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') {
  105 + $(\'.dialog-box.geted\').show();
  106 + }
  107 + //提示领券失败
  108 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') {
  109 + $(\'.dialog-box.fail\').show();
  110 + }
  111 +
  112 + //关闭提示
  113 + $(\'.dialog-close\').click(function(){
  114 + $(this).parents(\'.dialog-box\').fadeOut();
  115 + });
  116 + //刷新页面
  117 + $(\'.refresh-btn\').click(function() {
  118 + location.reload();
  119 + });
  120 +</script>
  121 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  122 +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script>
  123 +' : '').''.'<!-- Google Tag Manager -->
  124 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  125 +<script>
  126 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  127 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  128 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  129 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  130 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  131 +</script>
  132 +<!-- End Google Tag Manager -->
  133 +<script type="text/javascript">
  134 + var _hmt = _hmt || [];
  135 + (function() {
  136 + var hm = document.createElement("script");
  137 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  138 + var s = document.getElementsByTagName("script")[0];
  139 + s.parentNode.insertBefore(hm, s);
  140 + })();
  141 +</script>
  142 +<script>
  143 + var _hmt = _hmt || [];
  144 + (function() {
  145 + var hm = document.createElement("script");
  146 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  147 + var s = document.getElementsByTagName("script")[0];
  148 + s.parentNode.insertBefore(hm, s);
  149 + })();
  150 +</script>
  151 +'.'</body>
  152 +</html>';
  153 +}
  154 +?>
  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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
  28 + <meta charset="utf-8">
  29 + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
  30 + <meta name="apple-mobile-web-app-title" content="SUMMER SALE">
  31 + <meta name="format-detection" content="telephone=no">
  32 + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)">
  33 + <meta name="apple-mobile-web-app-capable" content="yes">
  34 + <meta name="apple-mobile-web-app-status-bar-style" content="grey">
  35 + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/final/sale.css">
  36 + <script>
  37 + (function(doc, win) {
  38 + var docEl = doc.documentElement;
  39 + (function() {
  40 + var clientWidth = docEl.clientWidth;
  41 + if (!clientWidth) {
  42 + return;
  43 + }
  44 + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
  45 + }());
  46 + })(document, window);
  47 + </script>
  48 +</head>
  49 +<body class="keBody">
  50 +<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="http://img11.static.yhbimg.com/couponImg/2016/01/07/07/016f63f5bb1f12cdb19402371323d26798.png"/></div>
  51 +<div class="coupon-christmas" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'">
  52 + <div class="coupon-top">
  53 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/top-bg.png" alt="">
  54 + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a>
  55 + <a class="share-btn" href="javascript:;"></a>
  56 + </div>
  57 + <div class="coupon-bottom">
  58 + <div class="coupon-banner">
  59 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a>
  60 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a>
  61 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a>
  62 + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a>
  63 + </div>
  64 + <div class="bottom-btn">
  65 + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
  66 + <a class="download-yoho" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('downAppUrl')), ENT_QUOTES, 'UTF-8').'"></a>
  67 + </div>
  68 + </div>
  69 + <div class="coupon-ft">
  70 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/14.png">
  71 + </div>
  72 +</div>
  73 +<div class="modal"></div>
  74 +<div class="dialog-box geted">
  75 + <div class="dialog-inner">
  76 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/geted.png" alt=""/>
  77 + <span class="dialog-close"></span>
  78 + </div>
  79 +</div>
  80 +
  81 +<div class="dialog-box fail">
  82 + <div class="dialog-inner">
  83 + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/final/fail.png" alt=""/>
  84 + <span class="refresh-btn"></span>
  85 + </div>
  86 +</div>
  87 +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
  88 +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
  89 +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
  90 +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
  91 +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
  92 +<script>
  93 + //提示分享
  94 + $(\'.share-btn\').click(function () {
  95 + $(\'.modal\').fadeIn();
  96 + });
  97 + //关闭提示分享
  98 + $(\'.modal\').click(function () {
  99 + $(this).fadeOut();
  100 + });
  101 +
  102 + //提示已领过券
  103 + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') {
  104 + $(\'.dialog-box.geted\').show();
  105 + }
  106 + //提示领券失败
  107 + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') {
  108 + $(\'.dialog-box.fail\').show();
  109 + }
  110 +
  111 + //关闭提示
  112 + $(\'.dialog-close\').click(function(){
  113 + $(this).parents(\'.dialog-box\').fadeOut();
  114 + });
  115 + //刷新页面
  116 + $(\'.refresh-btn\').click(function() {
  117 + location.reload();
  118 + });
  119 +</script>
  120 +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  121 +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script>
  122 +' : '').''.'<!-- Google Tag Manager -->
  123 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  124 +<script>
  125 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  126 + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  127 + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  128 + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  129 + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
  130 +</script>
  131 +<!-- End Google Tag Manager -->
  132 +<script type="text/javascript">
  133 + var _hmt = _hmt || [];
  134 + (function() {
  135 + var hm = document.createElement("script");
  136 + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
  137 + var s = document.getElementsByTagName("script")[0];
  138 + s.parentNode.insertBefore(hm, s);
  139 + })();
  140 +</script>
  141 +<script>
  142 + var _hmt = _hmt || [];
  143 + (function() {
  144 + var hm = document.createElement("script");
  145 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  146 + var s = document.getElementsByTagName("script")[0];
  147 + s.parentNode.insertBefore(hm, s);
  148 + })();
  149 +</script>
  150 +'.'</body>
  151 +</html>';
  152 +}
  153 +?>
@@ -24,6 +24,10 @@ @@ -24,6 +24,10 @@
24 </script> 24 </script>
25 </head> 25 </head>
26 <body class="keBody"> 26 <body class="keBody">
  27 +{{#if weixinShare}}
  28 +<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="http://img11.static.yhbimg.com/couponImg/2016/01/07/07/016f63f5bb1f12cdb19402371323d26798.png"/></div>
  29 +{{/if}}
  30 +
27 <div class="coupon-christmas" show="{{showPopupFlag}}"> 31 <div class="coupon-christmas" show="{{showPopupFlag}}">
28 <div class="coupon-top"> 32 <div class="coupon-top">
29 <img src="{{imgUrl}}/cuxiao/img/final/top-bg.png" alt=""> 33 <img src="{{imgUrl}}/cuxiao/img/final/top-bg.png" alt="">
@@ -49,14 +53,14 @@ @@ -49,14 +53,14 @@
49 <div class="modal"></div> 53 <div class="modal"></div>
50 <div class="dialog-box geted"> 54 <div class="dialog-box geted">
51 <div class="dialog-inner"> 55 <div class="dialog-inner">
52 - <img src="{{imgUrl}}/cuxiao/img/final/geted.png" alt=""/> 56 + <img src="{{imgUrl}}/cuxiao/img/final/geted-2.png" alt=""/>
53 <span class="dialog-close"></span> 57 <span class="dialog-close"></span>
54 </div> 58 </div>
55 </div> 59 </div>
56 60
57 <div class="dialog-box fail"> 61 <div class="dialog-box fail">
58 <div class="dialog-inner"> 62 <div class="dialog-inner">
59 - <img src="{{imgUrl}}/cuxiao/img/final/fail.png" alt=""/> 63 + <img src="{{imgUrl}}/cuxiao/img/final/fail-2.png" alt=""/>
60 <span class="refresh-btn"></span> 64 <span class="refresh-btn"></span>
61 </div> 65 </div>
62 </div> 66 </div>
@@ -665,7 +665,7 @@ class CouponController extends HuodongAction @@ -665,7 +665,7 @@ class CouponController extends HuodongAction
665 'shareImg' => 'http://img11.static.yhbimg.com/couponImg/2016/01/07/07/016f63f5bb1f12cdb19402371323d26798.png', 665 'shareImg' => 'http://img11.static.yhbimg.com/couponImg/2016/01/07/07/016f63f5bb1f12cdb19402371323d26798.png',
666 'showPopupFlag' => $showPopupFlag, 666 'showPopupFlag' => $showPopupFlag,
667 'myCouponUrl' => $myCouponUrl, 667 'myCouponUrl' => $myCouponUrl,
668 - 'bannerUrl_1' => 'http://feature.yoho.cn/0112/0112APPHOMEBOY/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMEBOY/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"536"},"param":{"share_id":"536"}}', 668 + 'bannerUrl_1' => 'http://feature.yoho.cn/0112/0112APPHOMEBOY/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMEBOY/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"536"},"param":{"share_id":"536"}}}',
669 'bannerUrl_2' => 'http://feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"534"},"param":{"share_id":"534"}}}', 669 'bannerUrl_2' => 'http://feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMEGIRL/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"534"},"param":{"share_id":"534"}}}',
670 'bannerUrl_3' => 'http://feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"532"},"param":{"share_id":"532"}}}', 670 'bannerUrl_3' => 'http://feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMEKIDS/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"532"},"param":{"share_id":"532"}}}',
671 'bannerUrl_4' => 'http://feature.yoho.cn/0112/0112APPHOMELIFE/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMELIFE/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"530"},"param":{"share_id":"530"}}}', 671 'bannerUrl_4' => 'http://feature.yoho.cn/0112/0112APPHOMELIFE/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"FINAL SALE重磅升级","url":"http://feature.yoho.cn/0112/0112APPHOMELIFE/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"530"},"param":{"share_id":"530"}}}',