do add christmas newyear coupon the third times
Showing
9 changed files
with
1518 additions
and
0 deletions
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/christmas/index3.css"> | ||
36 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
37 | +<script> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body class="keBody"> | ||
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/christmas/02/top-bg.png" alt=""> | ||
54 | + <img class="wyf" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/02/wyf.gif" 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 | + <div class="banner-btn"> | ||
61 | + <a class="boy" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> | ||
62 | + <a class="girl" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> | ||
63 | + <a class="life" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> | ||
64 | + <a class="kid" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> | ||
65 | + </div> | ||
66 | + </div> | ||
67 | + <div class="bottom-btn"> | ||
68 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
69 | + <a class="download-yoho" href="http://www.yohoshow.com/about/index/yohobuyqr"></a> | ||
70 | + </div> | ||
71 | + </div> | ||
72 | + <div class="coupon-ft"> | ||
73 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/02/14.png"> | ||
74 | + </div> | ||
75 | +</div> | ||
76 | +<div class="modal"></div> | ||
77 | +<div class="dialog-box geted"> | ||
78 | + <div class="dialog-inner"> | ||
79 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/geted.png" alt=""/> | ||
80 | + <span class="dialog-close"></span> | ||
81 | + </div> | ||
82 | +</div> | ||
83 | +<div class="dialog-box fail"> | ||
84 | + <div class="dialog-inner"> | ||
85 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/fail.png" alt=""/> | ||
86 | + <span class="refresh-btn"></span> | ||
87 | + </div> | ||
88 | +</div> | ||
89 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
90 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
91 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
92 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
93 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
94 | +<script> | ||
95 | + //提示分享 | ||
96 | + $(\'.share-btn\').click(function () { | ||
97 | + $(\'.modal\').fadeIn(); | ||
98 | + }); | ||
99 | + //关闭提示分享 | ||
100 | + $(\'.modal\').click(function () { | ||
101 | + $(this).fadeOut(); | ||
102 | + }); | ||
103 | + | ||
104 | + //提示已领过券 | ||
105 | + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { | ||
106 | + $(\'.dialog-box.geted\').show(); | ||
107 | + } | ||
108 | + //提示领券失败 | ||
109 | + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { | ||
110 | + $(\'.dialog-box.fail\').show(); | ||
111 | + } | ||
112 | + | ||
113 | + //关闭提示 | ||
114 | + $(\'.dialog-close\').click(function(){ | ||
115 | + $(this).parents(\'.dialog-box\').fadeOut(); | ||
116 | + }); | ||
117 | + //刷新页面 | ||
118 | + $(\'.refresh-btn\').click(function() { | ||
119 | + location.reload(); | ||
120 | + }); | ||
121 | +</script> | ||
122 | +'.((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> | ||
123 | +<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> | ||
124 | +' : '').''.'<!-- Google Tag Manager --> | ||
125 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
126 | +<script> | ||
127 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
128 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
129 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
130 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
131 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
132 | +</script> | ||
133 | +<!-- End Google Tag Manager --> | ||
134 | +<script type="text/javascript"> | ||
135 | + var _hmt = _hmt || []; | ||
136 | + (function() { | ||
137 | + var hm = document.createElement("script"); | ||
138 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
139 | + var s = document.getElementsByTagName("script")[0]; | ||
140 | + s.parentNode.insertBefore(hm, s); | ||
141 | + })(); | ||
142 | +</script> | ||
143 | +<script> | ||
144 | + var _hmt = _hmt || []; | ||
145 | + (function() { | ||
146 | + var hm = document.createElement("script"); | ||
147 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
148 | + var s = document.getElementsByTagName("script")[0]; | ||
149 | + s.parentNode.insertBefore(hm, s); | ||
150 | + })(); | ||
151 | +</script> | ||
152 | +'.'</body> | ||
153 | +</html>'; | ||
154 | +} | ||
155 | +?> |
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/christmas/index3.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 class="coupon-christmas" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> | ||
51 | + <div class="coupon-top"> | ||
52 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/top-bg.png" alt=""> | ||
53 | + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> | ||
54 | + <a class="share-btn" href="javascript:;"></a> | ||
55 | + </div> | ||
56 | + <div class="coupon-bottom"> | ||
57 | + <div class="coupon-banner"> | ||
58 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"> | ||
59 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner01.png" alt=""> | ||
60 | + </a> | ||
61 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"> | ||
62 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner02.png" alt=""> | ||
63 | + </a> | ||
64 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"> | ||
65 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner03.png" alt=""> | ||
66 | + </a> | ||
67 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"> | ||
68 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner04.png" alt=""> | ||
69 | + </a> | ||
70 | + </div> | ||
71 | + <div class="bottom-btn"> | ||
72 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
73 | + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> | ||
74 | + </div> | ||
75 | + | ||
76 | + </div> | ||
77 | + <div class="coupon-ft"> | ||
78 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/14.png"> | ||
79 | + </div> | ||
80 | +</div> | ||
81 | +<div class="modal"></div> | ||
82 | +<div class="dialog-box geted"> | ||
83 | + <div class="dialog-inner"> | ||
84 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/geted.png" alt=""/> | ||
85 | + <span class="dialog-close"></span> | ||
86 | + </div> | ||
87 | +</div> | ||
88 | + | ||
89 | +<div class="dialog-box fail"> | ||
90 | + <div class="dialog-inner"> | ||
91 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/fail.png" alt=""/> | ||
92 | + <span class="refresh-btn"></span> | ||
93 | + </div> | ||
94 | +</div> | ||
95 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
96 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
97 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
98 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
99 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
100 | +<script> | ||
101 | + | ||
102 | + //提示分享 | ||
103 | + $(\'.share-btn\').click(function () { | ||
104 | + $(\'.modal\').fadeIn(); | ||
105 | + }); | ||
106 | + //关闭提示分享 | ||
107 | + $(\'.modal\').click(function () { | ||
108 | + $(this).fadeOut(); | ||
109 | + }); | ||
110 | + | ||
111 | + //提示已领过券 | ||
112 | + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { | ||
113 | + $(\'.dialog-box.geted\').show(); | ||
114 | + } | ||
115 | + //提示领券失败 | ||
116 | + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { | ||
117 | + $(\'.dialog-box.fail\').show(); | ||
118 | + } | ||
119 | + | ||
120 | + //关闭提示 | ||
121 | + $(\'.dialog-close\').click(function(){ | ||
122 | + $(this).parents(\'.dialog-box\').fadeOut(); | ||
123 | + }); | ||
124 | + //刷新页面 | ||
125 | + $(\'.refresh-btn\').click(function() { | ||
126 | + location.reload(); | ||
127 | + }); | ||
128 | +</script> | ||
129 | +</body> | ||
130 | +</html>'; | ||
131 | +} | ||
132 | +?> |
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/christmas/index.css"> | ||
36 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
37 | +<script> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body class="keBody"> | ||
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/christmas/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').'"> | ||
60 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/banner01.png" alt=""> | ||
61 | + </a> | ||
62 | + </div> | ||
63 | + <div class="coupon-banner"> | ||
64 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"> | ||
65 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/banner02.png" alt=""> | ||
66 | + </a> | ||
67 | + </div> | ||
68 | + <div class="bottom-btn"> | ||
69 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
70 | + <a class="download-yoho" href="http://www.yohoshow.com/about/index/yohobuyqr"></a> | ||
71 | + </div> | ||
72 | + | ||
73 | + </div> | ||
74 | + <div class="coupon-ft"> | ||
75 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/14.jpg"> | ||
76 | + </div> | ||
77 | +</div> | ||
78 | +<div class="modal"></div> | ||
79 | +<div class="dialog-box geted"> | ||
80 | + <div class="dialog-inner"> | ||
81 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/geted.png" alt=""/> | ||
82 | + <span class="dialog-close"></span> | ||
83 | + </div> | ||
84 | +</div> | ||
85 | +<div class="dialog-box fail"> | ||
86 | + <div class="dialog-inner"> | ||
87 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/christmas/fail.png" alt=""/> | ||
88 | + <span class="refresh-btn"></span> | ||
89 | + </div> | ||
90 | +</div> | ||
91 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
92 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
93 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
94 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
95 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
96 | +<script> | ||
97 | + //提示分享 | ||
98 | + $(\'.share-btn\').click(function () { | ||
99 | + $(\'.modal\').fadeIn(); | ||
100 | + }); | ||
101 | + //关闭提示分享 | ||
102 | + $(\'.modal\').click(function () { | ||
103 | + $(this).fadeOut(); | ||
104 | + }); | ||
105 | + | ||
106 | + //提示已领过券 | ||
107 | + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { | ||
108 | + $(\'.dialog-box.geted\').show(); | ||
109 | + } | ||
110 | + //提示领券失败 | ||
111 | + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { | ||
112 | + $(\'.dialog-box.fail\').show(); | ||
113 | + } | ||
114 | + | ||
115 | + //关闭提示 | ||
116 | + $(\'.dialog-close\').click(function(){ | ||
117 | + $(this).parents(\'.dialog-box\').fadeOut(); | ||
118 | + }); | ||
119 | + //刷新页面 | ||
120 | + $(\'.refresh-btn\').click(function() { | ||
121 | + location.reload(); | ||
122 | + }); | ||
123 | +</script> | ||
124 | +'.((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> | ||
125 | +<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> | ||
126 | +' : '').''.'<!-- Google Tag Manager --> | ||
127 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
128 | +<script> | ||
129 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
130 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
131 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
132 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
133 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
134 | +</script> | ||
135 | +<!-- End Google Tag Manager --> | ||
136 | +<script type="text/javascript"> | ||
137 | + var _hmt = _hmt || []; | ||
138 | + (function() { | ||
139 | + var hm = document.createElement("script"); | ||
140 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
141 | + var s = document.getElementsByTagName("script")[0]; | ||
142 | + s.parentNode.insertBefore(hm, s); | ||
143 | + })(); | ||
144 | +</script> | ||
145 | +<script> | ||
146 | + var _hmt = _hmt || []; | ||
147 | + (function() { | ||
148 | + var hm = document.createElement("script"); | ||
149 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
150 | + var s = document.getElementsByTagName("script")[0]; | ||
151 | + s.parentNode.insertBefore(hm, s); | ||
152 | + })(); | ||
153 | +</script> | ||
154 | +'.'</body> | ||
155 | +</html>'; | ||
156 | +} | ||
157 | +?> |
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" | ||
33 | + media="(device-height: 568px)"> | ||
34 | + <meta name="apple-mobile-web-app-capable" content="yes"> | ||
35 | + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> | ||
36 | + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/christmas/index3.css"> | ||
37 | + <script> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | + </script> | ||
49 | +</head> | ||
50 | +<body class="keBody"> | ||
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/newyear/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').'"> | ||
60 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner01.png" alt=""> | ||
61 | + </a> | ||
62 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"> | ||
63 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner02.png" alt=""> | ||
64 | + </a> | ||
65 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"> | ||
66 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner03.png" alt=""> | ||
67 | + </a> | ||
68 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"> | ||
69 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner04.png" alt=""> | ||
70 | + </a> | ||
71 | + </div> | ||
72 | + <div class="bottom-btn"> | ||
73 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
74 | + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> | ||
75 | + </div> | ||
76 | + | ||
77 | + </div> | ||
78 | + <div class="coupon-ft"> | ||
79 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/14.png"> | ||
80 | + </div> | ||
81 | +</div> | ||
82 | +<div class="modal"></div> | ||
83 | +<div class="dialog-box geted"> | ||
84 | + <div class="dialog-inner"> | ||
85 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/geted.png" alt=""/> | ||
86 | + <span class="dialog-close"></span> | ||
87 | + </div> | ||
88 | +</div> | ||
89 | + | ||
90 | +<div class="dialog-box fail"> | ||
91 | + <div class="dialog-inner"> | ||
92 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/fail.png" alt=""/> | ||
93 | + <span class="refresh-btn"></span> | ||
94 | + </div> | ||
95 | +</div> | ||
96 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
97 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
98 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
99 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
100 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
101 | +<script> | ||
102 | + | ||
103 | + //提示分享 | ||
104 | + $(\'.share-btn\').click(function () { | ||
105 | + $(\'.modal\').fadeIn(); | ||
106 | + }); | ||
107 | + //关闭提示分享 | ||
108 | + $(\'.modal\').click(function () { | ||
109 | + $(this).fadeOut(); | ||
110 | + }); | ||
111 | + | ||
112 | + //提示已领过券 | ||
113 | + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { | ||
114 | + $(\'.dialog-box.geted\').show(); | ||
115 | + } | ||
116 | + //提示领券失败 | ||
117 | + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { | ||
118 | + $(\'.dialog-box.fail\').show(); | ||
119 | + } | ||
120 | + | ||
121 | + //关闭提示 | ||
122 | + $(\'.dialog-close\').click(function(){ | ||
123 | + $(this).parents(\'.dialog-box\').fadeOut(); | ||
124 | + }); | ||
125 | + //刷新页面 | ||
126 | + $(\'.refresh-btn\').click(function() { | ||
127 | + location.reload(); | ||
128 | + }) | ||
129 | +</script> | ||
130 | +</body> | ||
131 | +</html>'; | ||
132 | +} | ||
133 | +?> |
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 lang="en"> | ||
26 | +<head> | ||
27 | +<meta charset="UTF-8"> | ||
28 | +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
29 | +<meta content="yes" name="apple-mobile-web-app-capable"> | ||
30 | +<meta content="telephone=no" name="format-detection"> | ||
31 | +<meta content="yes" name="apple-touch-fullscreen"> | ||
32 | +<meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
33 | +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> | ||
34 | +<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css"> | ||
35 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
36 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
37 | +<script type="text/javascript"> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body> | ||
51 | + <div class="coupon-container" 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').'"> | ||
52 | + <div class="coupon-hd"></div> | ||
53 | + <div class="coupon-bd"> | ||
54 | + <div class="bd-top"></div> | ||
55 | + <div class="bd-bottom"></div> | ||
56 | + <div class="coupon-rule"> | ||
57 | + <h2></h2> | ||
58 | + <ul> | ||
59 | + <li class="clearfix"> | ||
60 | + <span>如何领取</span> | ||
61 | + <em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em> | ||
62 | + </li> | ||
63 | + <li class="clearfix"> | ||
64 | + <span>使用方法</span> | ||
65 | + <em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em> | ||
66 | + </li> | ||
67 | + <li class="clearfix"> | ||
68 | + <span>温馨提示</span> | ||
69 | + <em>优惠券领取后,到账会有延迟,请耐心等待。</em> | ||
70 | + </li> | ||
71 | + <li class="clearfix"> | ||
72 | + <span>使用细则</span> | ||
73 | + <em>在个人中心查看我的优惠券,每个订单限制用一张。</em> | ||
74 | + </li> | ||
75 | + </ul> | ||
76 | + </div> | ||
77 | + <div class="floor-header best-choice"></div> | ||
78 | + <div class="img-coupon clearfix"> | ||
79 | + <ul class="img-coupon01 girl"> | ||
80 | + <li> | ||
81 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_570')), ENT_QUOTES, 'UTF-8').'"></a> | ||
82 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15755"></a> | ||
83 | + </li> | ||
84 | + <li> | ||
85 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_864')), ENT_QUOTES, 'UTF-8').'"></a> | ||
86 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15761"></a> | ||
87 | + </li> | ||
88 | + </ul> | ||
89 | + <ul class="img-coupon02 girl"> | ||
90 | + <li> | ||
91 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_824')), ENT_QUOTES, 'UTF-8').'"></a> | ||
92 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15765"></a> | ||
93 | + </li> | ||
94 | + <li> | ||
95 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_536')), ENT_QUOTES, 'UTF-8').'"></a> | ||
96 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15767"></a> | ||
97 | + </li> | ||
98 | + </ul> | ||
99 | + <ul class="img-coupon03 girl"> | ||
100 | + <li> | ||
101 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_257')), ENT_QUOTES, 'UTF-8').'"></a> | ||
102 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15773"></a> | ||
103 | + </li> | ||
104 | + <li> | ||
105 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_342')), ENT_QUOTES, 'UTF-8').'"></a> | ||
106 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15775"></a> | ||
107 | + </li> | ||
108 | + </ul> | ||
109 | + <ul class="img-coupon04 girl"> | ||
110 | + <li> | ||
111 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_354')), ENT_QUOTES, 'UTF-8').'"></a> | ||
112 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15777"></a> | ||
113 | + </li> | ||
114 | + <li> | ||
115 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_60')), ENT_QUOTES, 'UTF-8').'"></a> | ||
116 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15663"></a> | ||
117 | + </li> | ||
118 | + </ul> | ||
119 | + </div> | ||
120 | + | ||
121 | + <div class="logo-coupon"> | ||
122 | + <ul> | ||
123 | + <li class="logo-coupon01 girl"> | ||
124 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_481')), ENT_QUOTES, 'UTF-8').'"></a> | ||
125 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15757"></a> | ||
126 | + </li> | ||
127 | + <li class="logo-coupon02 girl"> | ||
128 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_450')), ENT_QUOTES, 'UTF-8').'"></a> | ||
129 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15759"></a> | ||
130 | + </li> | ||
131 | + <li class="logo-coupon03 girl"> | ||
132 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_256')), ENT_QUOTES, 'UTF-8').'"></a> | ||
133 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15763"></a> | ||
134 | + </li> | ||
135 | + <li class="logo-coupon04 girl"> | ||
136 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_701')), ENT_QUOTES, 'UTF-8').'"></a> | ||
137 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15769"></a> | ||
138 | + </li> | ||
139 | + <li class="logo-coupon05 girl"> | ||
140 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_506')), ENT_QUOTES, 'UTF-8').'"></a> | ||
141 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15695"></a> | ||
142 | + </li> | ||
143 | + <li class="logo-coupon06 girl"> | ||
144 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_569')), ENT_QUOTES, 'UTF-8').'"></a> | ||
145 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15779"></a> | ||
146 | + </li> | ||
147 | + </ul> | ||
148 | + </div> | ||
149 | + | ||
150 | + <div class="floor-header top-recommend"></div> | ||
151 | + <div class="img-coupon clearfix"> | ||
152 | + <ul class="img-coupon05 girl"> | ||
153 | + <li> | ||
154 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_324')), ENT_QUOTES, 'UTF-8').'"></a> | ||
155 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15783"></a> | ||
156 | + </li> | ||
157 | + <li> | ||
158 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_589')), ENT_QUOTES, 'UTF-8').'"></a> | ||
159 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15679"></a> | ||
160 | + </li> | ||
161 | + </ul> | ||
162 | + <ul class="img-coupon06 girl"> | ||
163 | + <li> | ||
164 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_191')), ENT_QUOTES, 'UTF-8').'"></a> | ||
165 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15751"></a> | ||
166 | + </li> | ||
167 | + <li> | ||
168 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a> | ||
169 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15715"></a> | ||
170 | + </li> | ||
171 | + </ul> | ||
172 | + <ul class="img-coupon07 girl"> | ||
173 | + <li> | ||
174 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_768')), ENT_QUOTES, 'UTF-8').'"></a> | ||
175 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15795"></a> | ||
176 | + </li> | ||
177 | + <li> | ||
178 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_649')), ENT_QUOTES, 'UTF-8').'"></a> | ||
179 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15799"></a> | ||
180 | + </li> | ||
181 | + </ul> | ||
182 | + <ul class="img-coupon08 girl"> | ||
183 | + <li> | ||
184 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1026')), ENT_QUOTES, 'UTF-8').'"></a> | ||
185 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15811"></a> | ||
186 | + </li> | ||
187 | + <li> | ||
188 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1027')), ENT_QUOTES, 'UTF-8').'"></a> | ||
189 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15813"></a> | ||
190 | + </li> | ||
191 | + </ul> | ||
192 | + </div> | ||
193 | + | ||
194 | + <div class="logo-coupon"> | ||
195 | + <ul> | ||
196 | + <li class="logo-coupon07 girl"> | ||
197 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_981')), ENT_QUOTES, 'UTF-8').'"></a> | ||
198 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15787"></a> | ||
199 | + </li> | ||
200 | + <li class="logo-coupon08 girl"> | ||
201 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_402')), ENT_QUOTES, 'UTF-8').'"></a> | ||
202 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15793"></a> | ||
203 | + </li> | ||
204 | + <li class="logo-coupon09 girl"> | ||
205 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1021')), ENT_QUOTES, 'UTF-8').'"></a> | ||
206 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15709"></a> | ||
207 | + </li> | ||
208 | + <li class="logo-coupon10 girl"> | ||
209 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_860')), ENT_QUOTES, 'UTF-8').'"></a> | ||
210 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15801"></a> | ||
211 | + </li> | ||
212 | + <li class="logo-coupon11 girl"> | ||
213 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_435')), ENT_QUOTES, 'UTF-8').'"></a> | ||
214 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15803"></a> | ||
215 | + </li> | ||
216 | + <li class="logo-coupon12 girl"> | ||
217 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_327')), ENT_QUOTES, 'UTF-8').'"></a> | ||
218 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15805"></a> | ||
219 | + </li> | ||
220 | + <li class="logo-coupon13 girl"> | ||
221 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_505')), ENT_QUOTES, 'UTF-8').'"></a> | ||
222 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15807"></a> | ||
223 | + </li> | ||
224 | + <li class="logo-coupon14 girl"> | ||
225 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_987')), ENT_QUOTES, 'UTF-8').'"></a> | ||
226 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15809"></a> | ||
227 | + </li> | ||
228 | + </ul> | ||
229 | + </div> | ||
230 | + </div> | ||
231 | + | ||
232 | + <div class="coupon-ft"> | ||
233 | + <div class="other-coupon"> | ||
234 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_boys')), ENT_QUOTES, 'UTF-8').'">男生</a> | ||
235 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a> | ||
236 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a> | ||
237 | + </div> | ||
238 | + </div> | ||
239 | + </div> | ||
240 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
241 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
242 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
243 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
244 | +<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
245 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
246 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.1201.js"></script> | ||
247 | +'.'<!-- Google Tag Manager --> | ||
248 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
249 | +<script> | ||
250 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
251 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
252 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
253 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
254 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
255 | +</script> | ||
256 | +<!-- End Google Tag Manager --> | ||
257 | +<script type="text/javascript"> | ||
258 | + var _hmt = _hmt || []; | ||
259 | + (function() { | ||
260 | + var hm = document.createElement("script"); | ||
261 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
262 | + var s = document.getElementsByTagName("script")[0]; | ||
263 | + s.parentNode.insertBefore(hm, s); | ||
264 | + })(); | ||
265 | +</script> | ||
266 | +<script> | ||
267 | + var _hmt = _hmt || []; | ||
268 | + (function() { | ||
269 | + var hm = document.createElement("script"); | ||
270 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
271 | + var s = document.getElementsByTagName("script")[0]; | ||
272 | + s.parentNode.insertBefore(hm, s); | ||
273 | + })(); | ||
274 | +</script> | ||
275 | +'.'</body> | ||
276 | +</html>'; | ||
277 | +} | ||
278 | +?> |
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 | +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
29 | +<meta content="yes" name="apple-mobile-web-app-capable"> | ||
30 | +<meta content="telephone=no" name="format-detection"> | ||
31 | +<meta content="yes" name="apple-touch-fullscreen"> | ||
32 | +<meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
33 | +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> | ||
34 | +<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css"> | ||
35 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
36 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
37 | +<script type="text/javascript"> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body> | ||
51 | + <div class="coupon-container" 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').'"> | ||
52 | + <div class="coupon-hd"></div> | ||
53 | + <div class="coupon-bd"> | ||
54 | + <div class="bd-top"></div> | ||
55 | + <div class="bd-bottom"></div> | ||
56 | + <div class="coupon-rule"> | ||
57 | + <h2></h2> | ||
58 | + <ul> | ||
59 | + <li class="clearfix"> | ||
60 | + <span>如何领取</span> | ||
61 | + <em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em> | ||
62 | + </li> | ||
63 | + <li class="clearfix"> | ||
64 | + <span>使用方法</span> | ||
65 | + <em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em> | ||
66 | + </li> | ||
67 | + <li class="clearfix"> | ||
68 | + <span>温馨提示</span> | ||
69 | + <em>优惠券领取后,到账会有延迟,请耐心等待。</em> | ||
70 | + </li> | ||
71 | + <li class="clearfix"> | ||
72 | + <span>使用细则</span> | ||
73 | + <em>在个人中心查看我的优惠券,每个订单限制用一张。</em> | ||
74 | + </li> | ||
75 | + </ul> | ||
76 | + </div> | ||
77 | + <div class="floor-header best-choice"></div> | ||
78 | + <div class="img-coupon clearfix"> | ||
79 | + <ul class="img-coupon01"> | ||
80 | + <li> | ||
81 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_350')), ENT_QUOTES, 'UTF-8').'"></a> | ||
82 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15659"></a> | ||
83 | + </li> | ||
84 | + <li> | ||
85 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_160')), ENT_QUOTES, 'UTF-8').'"></a> | ||
86 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15663"></a> | ||
87 | + </li> | ||
88 | + </ul> | ||
89 | + <ul class="img-coupon02"> | ||
90 | + <li> | ||
91 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_341')), ENT_QUOTES, 'UTF-8').'"></a> | ||
92 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15667"></a> | ||
93 | + </li> | ||
94 | + <li> | ||
95 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_710')), ENT_QUOTES, 'UTF-8').'"></a> | ||
96 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15669"></a> | ||
97 | + </li> | ||
98 | + </ul> | ||
99 | + <ul class="img-coupon03"> | ||
100 | + <li> | ||
101 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_471')), ENT_QUOTES, 'UTF-8').'"></a> | ||
102 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15671"></a> | ||
103 | + </li> | ||
104 | + <li> | ||
105 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_495')), ENT_QUOTES, 'UTF-8').'"></a> | ||
106 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15675"></a> | ||
107 | + </li> | ||
108 | + </ul> | ||
109 | + <ul class="img-coupon04"> | ||
110 | + <li> | ||
111 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_235')), ENT_QUOTES, 'UTF-8').'"></a> | ||
112 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15681"></a> | ||
113 | + </li> | ||
114 | + <li> | ||
115 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_583')), ENT_QUOTES, 'UTF-8').'"></a> | ||
116 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15683"></a> | ||
117 | + </li> | ||
118 | + </ul> | ||
119 | + </div> | ||
120 | + <div class="logo-coupon"> | ||
121 | + <ul> | ||
122 | + <li class="logo-coupon01"> | ||
123 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_417')), ENT_QUOTES, 'UTF-8').'"></a> | ||
124 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15665"></a> | ||
125 | + </li> | ||
126 | + <li class="logo-coupon02"> | ||
127 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_672')), ENT_QUOTES, 'UTF-8').'"></a> | ||
128 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15673"></a> | ||
129 | + </li> | ||
130 | + <li class="logo-coupon03"> | ||
131 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_589')), ENT_QUOTES, 'UTF-8').'"></a> | ||
132 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15679"></a> | ||
133 | + </li> | ||
134 | + <li class="logo-coupon04"> | ||
135 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_707')), ENT_QUOTES, 'UTF-8').'"></a> | ||
136 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15699"></a> | ||
137 | + </li> | ||
138 | + <li class="logo-coupon05"> | ||
139 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_550')), ENT_QUOTES, 'UTF-8').'"></a> | ||
140 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15687"></a> | ||
141 | + </li> | ||
142 | + <li class="logo-coupon06"> | ||
143 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_600')), ENT_QUOTES, 'UTF-8').'"></a> | ||
144 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15693"></a> | ||
145 | + </li> | ||
146 | + </ul> | ||
147 | + </div> | ||
148 | + <div class="floor-header top-recommend"></div> | ||
149 | + <div class="img-coupon clearfix"> | ||
150 | + <ul class="img-coupon05"> | ||
151 | + <li> | ||
152 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_402')), ENT_QUOTES, 'UTF-8').'"></a> | ||
153 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15685"></a> | ||
154 | + </li> | ||
155 | + <li> | ||
156 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_720')), ENT_QUOTES, 'UTF-8').'"></a> | ||
157 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15689"></a> | ||
158 | + </li> | ||
159 | + </ul> | ||
160 | + <ul class="img-coupon06"> | ||
161 | + <li> | ||
162 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_138')), ENT_QUOTES, 'UTF-8').'"></a> | ||
163 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15691"></a> | ||
164 | + </li> | ||
165 | + <li> | ||
166 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_506')), ENT_QUOTES, 'UTF-8').'"></a> | ||
167 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15695"></a> | ||
168 | + </li> | ||
169 | + </ul> | ||
170 | + <ul class="img-coupon07"> | ||
171 | + <li> | ||
172 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_419')), ENT_QUOTES, 'UTF-8').'"></a> | ||
173 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15697"></a> | ||
174 | + </li> | ||
175 | + <li> | ||
176 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_581')), ENT_QUOTES, 'UTF-8').'"></a> | ||
177 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15705"></a> | ||
178 | + </li> | ||
179 | + </ul> | ||
180 | + <ul class="img-coupon08"> | ||
181 | + <li> | ||
182 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_722')), ENT_QUOTES, 'UTF-8').'"></a> | ||
183 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15707"></a> | ||
184 | + </li> | ||
185 | + <li> | ||
186 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_191')), ENT_QUOTES, 'UTF-8').'"></a> | ||
187 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15751"></a> | ||
188 | + </li> | ||
189 | + </ul> | ||
190 | + </div> | ||
191 | + <div class="logo-coupon"> | ||
192 | + <ul> | ||
193 | + <li class="logo-coupon07"> | ||
194 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_152')), ENT_QUOTES, 'UTF-8').'"></a> | ||
195 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15701"></a> | ||
196 | + </li> | ||
197 | + <li class="logo-coupon08"> | ||
198 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_464')), ENT_QUOTES, 'UTF-8').'"></a> | ||
199 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15703"></a> | ||
200 | + </li> | ||
201 | + <li class="logo-coupon09"> | ||
202 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_102')), ENT_QUOTES, 'UTF-8').'"></a> | ||
203 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15709"></a> | ||
204 | + </li> | ||
205 | + <li class="logo-coupon10"> | ||
206 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_851')), ENT_QUOTES, 'UTF-8').'"></a> | ||
207 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15711"></a> | ||
208 | + </li> | ||
209 | + <li class="logo-coupon11"> | ||
210 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_699')), ENT_QUOTES, 'UTF-8').'"></a> | ||
211 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15713"></a> | ||
212 | + </li> | ||
213 | + <li class="logo-coupon12"> | ||
214 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_103')), ENT_QUOTES, 'UTF-8').'"></a> | ||
215 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15733"></a> | ||
216 | + </li> | ||
217 | + </ul> | ||
218 | + </div> | ||
219 | + </div> | ||
220 | + <div class="coupon-ft"> | ||
221 | + <div class="other-coupon"> | ||
222 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_girls')), ENT_QUOTES, 'UTF-8').'">女生</a> | ||
223 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a> | ||
224 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a> | ||
225 | + </div> | ||
226 | + </div> | ||
227 | + </div> | ||
228 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
229 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
230 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
231 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
232 | +'.((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> | ||
233 | +' : '').'<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
234 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.1201.js"></script> | ||
235 | +'.'<!-- Google Tag Manager --> | ||
236 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
237 | +<script> | ||
238 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
239 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
240 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
241 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
242 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
243 | +</script> | ||
244 | +<!-- End Google Tag Manager --> | ||
245 | +<script type="text/javascript"> | ||
246 | + var _hmt = _hmt || []; | ||
247 | + (function() { | ||
248 | + var hm = document.createElement("script"); | ||
249 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
250 | + var s = document.getElementsByTagName("script")[0]; | ||
251 | + s.parentNode.insertBefore(hm, s); | ||
252 | + })(); | ||
253 | +</script> | ||
254 | +<script> | ||
255 | + var _hmt = _hmt || []; | ||
256 | + (function() { | ||
257 | + var hm = document.createElement("script"); | ||
258 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
259 | + var s = document.getElementsByTagName("script")[0]; | ||
260 | + s.parentNode.insertBefore(hm, s); | ||
261 | + })(); | ||
262 | +</script> | ||
263 | +'.' | ||
264 | +</body> | ||
265 | +</html>'; | ||
266 | +} | ||
267 | +?> |
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" | ||
33 | + media="(device-height: 568px)"> | ||
34 | + <meta name="apple-mobile-web-app-capable" content="yes"> | ||
35 | + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> | ||
36 | + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index3.css"> | ||
37 | + <script> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | + </script> | ||
49 | +</head> | ||
50 | +<body class="keBody"> | ||
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/newyear/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').'"> | ||
60 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner01.png" alt=""> | ||
61 | + </a> | ||
62 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"> | ||
63 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner02.png" alt=""> | ||
64 | + </a> | ||
65 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"> | ||
66 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner03.png" alt=""> | ||
67 | + </a> | ||
68 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"> | ||
69 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner04.png" alt=""> | ||
70 | + </a> | ||
71 | + </div> | ||
72 | + <div class="bottom-btn"> | ||
73 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
74 | + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> | ||
75 | + </div> | ||
76 | + | ||
77 | + </div> | ||
78 | + <div class="coupon-ft"> | ||
79 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/14.png"> | ||
80 | + </div> | ||
81 | +</div> | ||
82 | +<div class="modal"></div> | ||
83 | +<div class="dialog-box geted"> | ||
84 | + <div class="dialog-inner"> | ||
85 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/geted.png" alt=""/> | ||
86 | + <span class="dialog-close"></span> | ||
87 | + </div> | ||
88 | +</div> | ||
89 | + | ||
90 | +<div class="dialog-box fail"> | ||
91 | + <div class="dialog-inner"> | ||
92 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/fail.png" alt=""/> | ||
93 | + <span class="refresh-btn"></span> | ||
94 | + </div> | ||
95 | +</div> | ||
96 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
97 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
98 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
99 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
100 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
101 | +<script> | ||
102 | + | ||
103 | + //提示分享 | ||
104 | + $(\'.share-btn\').click(function () { | ||
105 | + $(\'.modal\').fadeIn(); | ||
106 | + }); | ||
107 | + //关闭提示分享 | ||
108 | + $(\'.modal\').click(function () { | ||
109 | + $(this).fadeOut(); | ||
110 | + }); | ||
111 | + | ||
112 | + //提示已领过券 | ||
113 | + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { | ||
114 | + $(\'.dialog-box.geted\').show(); | ||
115 | + } | ||
116 | + //提示领券失败 | ||
117 | + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { | ||
118 | + $(\'.dialog-box.fail\').show(); | ||
119 | + } | ||
120 | + | ||
121 | + //关闭提示 | ||
122 | + $(\'.dialog-close\').click(function(){ | ||
123 | + $(this).parents(\'.dialog-box\').fadeOut(); | ||
124 | + }); | ||
125 | + //刷新页面 | ||
126 | + $(\'.refresh-btn\').click(function() { | ||
127 | + location.reload(); | ||
128 | + }) | ||
129 | +</script> | ||
130 | +</body> | ||
131 | +</html>'; | ||
132 | +} | ||
133 | +?> |
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" | ||
33 | + media="(device-height: 568px)"> | ||
34 | + <meta name="apple-mobile-web-app-capable" content="yes"> | ||
35 | + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> | ||
36 | + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/christmas/index3.css"> | ||
37 | + <script> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | + </script> | ||
49 | +</head> | ||
50 | +<body class="keBody"> | ||
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/newyear/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').'"> | ||
60 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner01.png" alt=""> | ||
61 | + </a> | ||
62 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"> | ||
63 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner02.png" alt=""> | ||
64 | + </a> | ||
65 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"> | ||
66 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner03.png" alt=""> | ||
67 | + </a> | ||
68 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"> | ||
69 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/banner04.png" alt=""> | ||
70 | + </a> | ||
71 | + </div> | ||
72 | + <div class="bottom-btn"> | ||
73 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
74 | + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> | ||
75 | + </div> | ||
76 | + | ||
77 | + </div> | ||
78 | + <div class="coupon-ft"> | ||
79 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/14.png"> | ||
80 | + </div> | ||
81 | +</div> | ||
82 | +<div class="modal"></div> | ||
83 | +<div class="dialog-box geted"> | ||
84 | + <div class="dialog-inner"> | ||
85 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/geted.png" alt=""/> | ||
86 | + <span class="dialog-close"></span> | ||
87 | + </div> | ||
88 | +</div> | ||
89 | + | ||
90 | +<div class="dialog-box fail"> | ||
91 | + <div class="dialog-inner"> | ||
92 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/fail.png" alt=""/> | ||
93 | + <span class="refresh-btn"></span> | ||
94 | + </div> | ||
95 | +</div> | ||
96 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
97 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
98 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
99 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
100 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
101 | +<script> | ||
102 | + | ||
103 | + //提示分享 | ||
104 | + $(\'.share-btn\').click(function () { | ||
105 | + $(\'.modal\').fadeIn(); | ||
106 | + }); | ||
107 | + //关闭提示分享 | ||
108 | + $(\'.modal\').click(function () { | ||
109 | + $(this).fadeOut(); | ||
110 | + }); | ||
111 | + | ||
112 | + //提示已领过券 | ||
113 | + if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') { | ||
114 | + $(\'.dialog-box.geted\').show(); | ||
115 | + } | ||
116 | + //提示领券失败 | ||
117 | + else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') { | ||
118 | + $(\'.dialog-box.fail\').show(); | ||
119 | + } | ||
120 | + | ||
121 | + //关闭提示 | ||
122 | + $(\'.dialog-close\').click(function(){ | ||
123 | + $(this).parents(\'.dialog-box\').fadeOut(); | ||
124 | + }); | ||
125 | + //刷新页面 | ||
126 | + $(\'.refresh-btn\').click(function() { | ||
127 | + location.reload(); | ||
128 | + }) | ||
129 | +</script> | ||
130 | +</body> | ||
131 | +</html>'; | ||
132 | +} | ||
133 | +?> |
1 | +* { | ||
2 | + margin: 0; | ||
3 | + padding: 0; | ||
4 | +} | ||
5 | +.coupon-christmas img { | ||
6 | + display: block; | ||
7 | + max-width: 100%; | ||
8 | +} | ||
9 | + | ||
10 | +.coupon-top { | ||
11 | + position: relative; | ||
12 | +} | ||
13 | +.coupon-top .go-check { | ||
14 | + position: absolute; | ||
15 | + top: 5.375rem; | ||
16 | + width: 100%; | ||
17 | + height: 6.85rem; | ||
18 | +} | ||
19 | +.coupon-top .share-btn { | ||
20 | + position: absolute; | ||
21 | + width: 14.1rem; | ||
22 | + height: 2.25rem; | ||
23 | + bottom: 0.65rem; | ||
24 | + left: 50%; | ||
25 | + margin: 0 0 0 -6.875rem; | ||
26 | + background-size: 100%; | ||
27 | + | ||
28 | +} | ||
29 | + | ||
30 | +.coupon-bottom { | ||
31 | + height: 10.2rem; | ||
32 | + background: url(../../img/newyear/bottom-bg.png) no-repeat bottom center; | ||
33 | + background-size: 100% 100%; | ||
34 | +} | ||
35 | + | ||
36 | +.coupon-banner { | ||
37 | + text-align: center; | ||
38 | + font-size: 0; | ||
39 | +} | ||
40 | +.coupon-banner a { | ||
41 | + display: inline-block; | ||
42 | + width: 6.825rem; | ||
43 | + height: 3.55rem; | ||
44 | + margin: 0 0.175rem 0.4rem; | ||
45 | +} | ||
46 | +.coupon-banner img { | ||
47 | + display: block; | ||
48 | + width: 100%; | ||
49 | + height: 100%; | ||
50 | +} | ||
51 | +.bottom-btn { | ||
52 | + position: relative; | ||
53 | + margin: 0.1rem auto 0; | ||
54 | + width: 14.05rem; | ||
55 | + height: 1.575rem; | ||
56 | + font-size: 0; | ||
57 | +} | ||
58 | +.bottom-btn a{ | ||
59 | + position: absolute; | ||
60 | + top: 0; | ||
61 | + width: 8.525rem; | ||
62 | + height: 100%; | ||
63 | +} | ||
64 | +.bottom-btn a.follow-yoho { | ||
65 | + width: 5.275rem; | ||
66 | + left: 0; | ||
67 | +} | ||
68 | +.bottom-btn a.download-yoho { | ||
69 | + right: 0; | ||
70 | +} | ||
71 | +.modal { | ||
72 | + position: fixed; | ||
73 | + top: 0; | ||
74 | + right: 0; | ||
75 | + bottom: 0; | ||
76 | + left: 0; | ||
77 | + background: url(../../img/newyear/share.png) center top no-repeat; | ||
78 | + -webkit-background-size: 100%; | ||
79 | + -moz-background-size: 100%; | ||
80 | + background-size: 100%; | ||
81 | + display: none; | ||
82 | +} | ||
83 | + | ||
84 | +.has-done { | ||
85 | + position: fixed; | ||
86 | + top: 0; | ||
87 | + right: 0; | ||
88 | + bottom: 0; | ||
89 | + left: 0; | ||
90 | + background: rgba(0,0,0,0.4) url(../../img/newyear/11.png); | ||
91 | + background-repeat: no-repeat; | ||
92 | + background-size: 80% auto; | ||
93 | + background-position: center center; | ||
94 | + overflow: hidden; | ||
95 | + display: none; | ||
96 | +} | ||
97 | + | ||
98 | +.dialog-box { | ||
99 | + display: none; | ||
100 | + position: fixed; | ||
101 | + top: 0; | ||
102 | + right: 0; | ||
103 | + bottom: 0; | ||
104 | + left: 0; | ||
105 | + background: rgba(0,0,0,0.4); | ||
106 | + z-index: 999; | ||
107 | +} | ||
108 | + | ||
109 | +.dialog-inner { | ||
110 | + position: absolute; | ||
111 | + width: 13.375rem; | ||
112 | + height: 9.625rem; | ||
113 | + top: 50%; | ||
114 | + left: 50%; | ||
115 | + margin: -4.8125rem 0 0 -6.6875rem; | ||
116 | +} | ||
117 | + | ||
118 | +.dialog-inner img { | ||
119 | + max-width: 100%; | ||
120 | +} | ||
121 | + | ||
122 | +.dialog-inner span { | ||
123 | + position: absolute; | ||
124 | + width: 8.225rem; | ||
125 | + height: 1.85rem; | ||
126 | + bottom: 1.475rem; | ||
127 | + left: 50%; | ||
128 | + margin: 0 0 0 -4.1125rem; | ||
129 | + cursor: pointer; | ||
130 | +} |
-
Please register or login to post a comment