Showing
1 changed file
with
15 additions
and
8 deletions
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | {{#content.floors}} | 14 | {{#content.floors}} |
15 | {{#isEqualOr type 'sidebar'}} | 15 | {{#isEqualOr type 'sidebar'}} |
16 | {{! 侧悬浮}} | 16 | {{! 侧悬浮}} |
17 | - <div id="sidebar" pageid="{{param.sidebarPageId}}"></div> | 17 | + <div id="sidebar" pageid="{{param.sidebarPageId}}"></div> |
18 | {{/isEqualOr}} | 18 | {{/isEqualOr}} |
19 | {{#isEqualOr type '' 'common_floor' 'fix'}} | 19 | {{#isEqualOr type '' 'common_floor' 'fix'}} |
20 | {{! 普通楼层 顶悬浮}} | 20 | {{! 普通楼层 顶悬浮}} |
@@ -41,7 +41,14 @@ | @@ -41,7 +41,14 @@ | ||
41 | 41 | ||
42 | {{#isEqualOr type 'coupon'}} | 42 | {{#isEqualOr type 'coupon'}} |
43 | {{! 优惠券}} | 43 | {{! 优惠券}} |
44 | - <a class="anchor yoho-conpon" style="{{styleFormat this percent=1}}" data-token="{{token}}" href="{{#if url}}{{url}}{{else}}javascript:void(0);{{/if}}" fp="{{getAnalysis ../this @index}}"></a> | 44 | + {{#if personCoupon}} |
45 | + {{! 个性化优惠券,使用:分割}} | ||
46 | + <a class="anchor yoho-conpon" style="{{styleFormat this percent=1}}" data-token="{{personCoupon.couponId}}:{{personCoupon.personCouponId}}" | ||
47 | + href="{{#if url}}{{url}}{{else}}javascript:void(0);{{/if}}" fp="{{getAnalysis ../this @index}}"></a> | ||
48 | + {{else}} | ||
49 | + <a class="anchor yoho-conpon" style="{{styleFormat this percent=1}}" data-token="{{token}}" | ||
50 | + href="{{#if url}}{{url}}{{else}}javascript:void(0);{{/if}}" fp="{{getAnalysis ../this @index}}"></a> | ||
51 | + {{/if}} | ||
45 | {{/isEqualOr}} | 52 | {{/isEqualOr}} |
46 | 53 | ||
47 | {{#isEqualOr type 'yohoCoin'}} | 54 | {{#isEqualOr type 'yohoCoin'}} |
@@ -84,12 +91,12 @@ | @@ -84,12 +91,12 @@ | ||
84 | {{/repeat}} | 91 | {{/repeat}} |
85 | </div> | 92 | </div> |
86 | {{/isEqualOr}} | 93 | {{/isEqualOr}} |
87 | - | 94 | + |
88 | {{#isEqualOr type 'productGroup'}} | 95 | {{#isEqualOr type 'productGroup'}} |
89 | {{! 商品池}} | 96 | {{! 商品池}} |
90 | <div class="product-container item{{numOfOneRow}}" {{#if proBgImg}}style="background:url({{image2 proBgImg q=60}})repeat;"{{/if}}> | 97 | <div class="product-container item{{numOfOneRow}}" {{#if proBgImg}}style="background:url({{image2 proBgImg q=60}})repeat;"{{/if}}> |
91 | <div class="product-source" condition='{{stringify searchCondition}}' fp="{{getAnalysis ../this @index}}" | 98 | <div class="product-source" condition='{{stringify searchCondition}}' fp="{{getAnalysis ../this @index}}" |
92 | - {{#unless defaultPros.length}} | 99 | + {{#unless defaultPros.length}} |
93 | {{#if searchCondition.item}} | 100 | {{#if searchCondition.item}} |
94 | cloneitem="{{searchCondition.item}}" | 101 | cloneitem="{{searchCondition.item}}" |
95 | {{else}} | 102 | {{else}} |
@@ -130,7 +137,7 @@ | @@ -130,7 +137,7 @@ | ||
130 | <img class="brand-img lazy" data-original="{{image2 ../brandImg q=60}}"> | 137 | <img class="brand-img lazy" data-original="{{image2 ../brandImg q=60}}"> |
131 | </a> | 138 | </a> |
132 | {{/if}} | 139 | {{/if}} |
133 | - </div> | 140 | + </div> |
134 | {{/defaultPros}} | 141 | {{/defaultPros}} |
135 | {{else}} | 142 | {{else}} |
136 | <div class="feature-product-info novisible"> | 143 | <div class="feature-product-info novisible"> |
@@ -158,7 +165,7 @@ | @@ -158,7 +165,7 @@ | ||
158 | {{#if brandImg}} | 165 | {{#if brandImg}} |
159 | <a class="second-part {{#isEqualOr showBrandUrl '1'}}product-brand{{else}}product-detail{{/isEqualOr}}" href=''> | 166 | <a class="second-part {{#isEqualOr showBrandUrl '1'}}product-brand{{else}}product-detail{{/isEqualOr}}" href=''> |
160 | <div class="brand-div"> | 167 | <div class="brand-div"> |
161 | - <span class="brand-name" {{#if fontColor}}style="color:{{fontColor}};"{{/if}}></span> | 168 | + <span class="brand-name" {{#if fontColor}}style="color:{{fontColor}};"{{/if}}></span> |
162 | </div> | 169 | </div> |
163 | <img class="brand-img" src="{{image2 brandImg q=60}}"> | 170 | <img class="brand-img" src="{{image2 brandImg q=60}}"> |
164 | </a> | 171 | </a> |
@@ -171,6 +178,6 @@ | @@ -171,6 +178,6 @@ | ||
171 | {{/component}} | 178 | {{/component}} |
172 | </div> | 179 | </div> |
173 | {{/isEqualOr}} | 180 | {{/isEqualOr}} |
174 | - {{/content.floors}} | 181 | + {{/content.floors}} |
175 | {{/unless}} | 182 | {{/unless}} |
176 | -</div> | ||
183 | +</div> |
-
Please register or login to post a comment