43e10fa96bf01ca639aa54db6e75e47a.php
5.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php return function ($in, $debugopt = 1) {
$cx = array(
'flags' => array(
'jstrue' => false,
'jsobj' => false,
'spvar' => true,
'prop' => false,
'method' => false,
'mustlok' => true,
'echo' => false,
'debug' => $debugopt,
),
'constants' => array(),
'helpers' => array(),
'blockhelpers' => array(),
'hbhelpers' => array(),
'partials' => array(),
'scopes' => array(),
'sp_vars' => array('root' => $in),
'lcrun' => 'Plugin\LCRun3',
);
return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('cartInfo')), $in, false, function($cx, $in) {return '<div class="chose-panel">
<div class="main">
<div class="infos">
<div class="basic-info" >
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('thumbs')), $in, false, function($cx, $in) {return ' <img class="thumb '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'>
';}).' <div class="text-info">
<p class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p>
<p class="price">
<span class="sale-price'.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' no-price' : '').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span>
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <span class="market-price">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span>
' : '').' </p>
</div>
</div>
<div class="chose-items">
<div class="color-list block-list">
<span>颜色</span>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('colors')), $in, false, function($cx, $in) {return ' <ul id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-index="'.htmlentities((string)Plugin\LCRun3::v($cx, $cx['sp_vars'], array('index')), ENT_QUOTES, 'UTF-8').'" class="size-row clearfix '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('color')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('colorNum')))) ? 'zero-stock' : '').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNum')), ENT_QUOTES, 'UTF-8').'">
'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
</li>
';}).' </ul>
';}).' </div>
<div class="size-list block-list">
<span>尺码</span>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sizes')), $in, false, function($cx, $in) {return ' <ul class="size-row clearfix '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('size')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sizeNum')))) ? 'zero-stock' : '').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNum')), ENT_QUOTES, 'UTF-8').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-skuid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skuId')), ENT_QUOTES, 'UTF-8').'">
'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
</li>
';}).' </ul>
';}).' </div>
<p>
<div class="num">
<span>数量</span>
<div class="clearfix">
<a class="btn btn-minus" href="javascript:void(0);">
<span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span>
</a>
<input id="good-num" class="good-num disabled" type="text" value="1" disabled="true">
<a class="btn btn-plus" href="javascript:void(0);">
<span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span>
</a>
</div>
<span class="left-num"></span>
<input id="left-num" type="hidden" value="0">
</div>
</div>
</div>
<div class="btn-wrap">
<button id="chose-btn-sure" class="btn btn-sure">加入购物车</button>
</div>
</div>
</div>
';}).'<input id="promotionId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'">'.'';
}
?>