code review by fei.hong: do huodong girlday coupon
Showing
2 changed files
with
156 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>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> | ||
30 | + <link rel="stylesheet" href="'.Plugin\LCRun3::debug('[staticFile]', 'encq', $cx, Plugin\LCRun3::debug('[staticFile]', 'v', $cx, $in, array('staticFile'))).'/css/style.css"> | ||
31 | +</head> | ||
32 | +<body> | ||
33 | + <div class="main-wrap home"> | ||
34 | + <div class="header"></div> | ||
35 | + <div class="coupon"> | ||
36 | + </div> | ||
37 | + <a class="go" href="'.Plugin\LCRun3::debug('[couponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[couponUrl]', 'v', $cx, $in, array('couponUrl'))).'"> | ||
38 | + 去看看 <span class="arrow"></span> | ||
39 | + </a> | ||
40 | + <div class="share"> | ||
41 | + </div> | ||
42 | + <a class="banner" href="'.Plugin\LCRun3::debug('[banner].[url]', 'encq', $cx, Plugin\LCRun3::debug('[banner].[url]', 'v', $cx, $in, array('banner','url'))).'"> | ||
43 | + <img src="'.Plugin\LCRun3::debug('[banner].[img]', 'encq', $cx, Plugin\LCRun3::debug('[banner].[img]', 'v', $cx, $in, array('banner','img'))).'"> | ||
44 | + </a> | ||
45 | + <div class="footer"> | ||
46 | + </div> | ||
47 | + </div> | ||
48 | + <div class="tip hide fail"> | ||
49 | + <div class="title"> | ||
50 | + 领取失败<br> | ||
51 | + 请刷新重新领取 | ||
52 | + </div> | ||
53 | + <div class="desc"> | ||
54 | + 如多次领取失败,请联系客服人员<br> | ||
55 | + 带来不便敬请谅解 | ||
56 | + </div> | ||
57 | + <a class="button" href=""> | ||
58 | + 刷新 | ||
59 | + </a> | ||
60 | + </div> | ||
61 | + <div class="tip hide geted"> | ||
62 | + <div class="title"> | ||
63 | + 你已领取过优惠券 | ||
64 | + </div> | ||
65 | + <div class="sub-title"> | ||
66 | + 快去分享给更多<br> | ||
67 | + 喜爱<span class="title">潮流</span>的小伙伴吧! | ||
68 | + </div> | ||
69 | + <a class="button close" href=""> | ||
70 | + 返回 | ||
71 | + </a> | ||
72 | + </div> | ||
73 | +<script type="text/javascript" src="'.Plugin\LCRun3::debug('[staticFile]', 'encq', $cx, Plugin\LCRun3::debug('[staticFile]', 'v', $cx, $in, array('staticFile'))).'/js/libs.js"></script> | ||
74 | +'.Plugin\LCRun3::debug('[staticJS]', 'sec', $cx, Plugin\LCRun3::debug('[staticJS]', 'v', $cx, $in, array('staticJS')), $in, false, function($cx, $in) {return '<script type="text/javascript" src="'.Plugin\LCRun3::debug('../[staticFile]', 'encq', $cx, Plugin\LCRun3::debug('../[staticFile]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('staticFile'))).'/js/'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'"></script> | ||
75 | +';}).'</body> | ||
76 | +'; | ||
77 | +} | ||
78 | +?> |
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>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> | ||
30 | + <link rel="stylesheet" href="'.Plugin\LCRun3::debug('[staticFile]', 'encq', $cx, Plugin\LCRun3::debug('[staticFile]', 'v', $cx, $in, array('staticFile'))).'/css/style.css"> | ||
31 | +</head> | ||
32 | +<body> | ||
33 | + <div class="main-wrap home"> | ||
34 | + <div class="header"></div> | ||
35 | + <div class="coupon"> | ||
36 | + </div> | ||
37 | + <a class="go" href="'.Plugin\LCRun3::debug('[couponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[couponUrl]', 'v', $cx, $in, array('couponUrl'))).'"> | ||
38 | + 去看看 <span class="arrow"></span> | ||
39 | + </a> | ||
40 | + <div class="share"> | ||
41 | + </div> | ||
42 | + <a class="banner" href="'.Plugin\LCRun3::debug('[banner].[url]', 'encq', $cx, Plugin\LCRun3::debug('[banner].[url]', 'v', $cx, $in, array('banner','url'))).'"> | ||
43 | + <img src="'.Plugin\LCRun3::debug('[banner].[img]', 'encq', $cx, Plugin\LCRun3::debug('[banner].[img]', 'v', $cx, $in, array('banner','img'))).'" style="border: none;"> | ||
44 | + </a> | ||
45 | + <div class="footer"> | ||
46 | + </div> | ||
47 | + </div> | ||
48 | + <div class="tip hide fail"> | ||
49 | + <div class="title"> | ||
50 | + 领取失败<br> | ||
51 | + 请刷新重新领取 | ||
52 | + </div> | ||
53 | + <div class="desc"> | ||
54 | + 如多次领取失败,请联系客服人员<br> | ||
55 | + 带来不便敬请谅解 | ||
56 | + </div> | ||
57 | + <a class="button" href=""> | ||
58 | + 刷新 | ||
59 | + </a> | ||
60 | + </div> | ||
61 | + <div class="tip hide geted"> | ||
62 | + <div class="title"> | ||
63 | + 你已领取过优惠券 | ||
64 | + </div> | ||
65 | + <div class="sub-title"> | ||
66 | + 快去分享给更多<br> | ||
67 | + 喜爱<span class="title">潮流</span>的小伙伴吧! | ||
68 | + </div> | ||
69 | + <a class="button close" href=""> | ||
70 | + 返回 | ||
71 | + </a> | ||
72 | + </div> | ||
73 | +<script type="text/javascript" src="'.Plugin\LCRun3::debug('[staticFile]', 'encq', $cx, Plugin\LCRun3::debug('[staticFile]', 'v', $cx, $in, array('staticFile'))).'/js/libs.js"></script> | ||
74 | +'.Plugin\LCRun3::debug('[staticJS]', 'sec', $cx, Plugin\LCRun3::debug('[staticJS]', 'v', $cx, $in, array('staticJS')), $in, false, function($cx, $in) {return '<script type="text/javascript" src="'.Plugin\LCRun3::debug('../[staticFile]', 'encq', $cx, Plugin\LCRun3::debug('../[staticFile]', 'v', $cx, $cx['scopes'][count($cx['scopes'])-1], array('staticFile'))).'/js/'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'"></script> | ||
75 | +';}).'</body> | ||
76 | +'; | ||
77 | +} | ||
78 | +?> |
-
Please register or login to post a comment