Showing
1 changed file
with
29 additions
and
29 deletions
1 | <div id="app" class="product-page" data-pid="{{pid}}" data-goods-id="{{goodsId}}"> | 1 | <div id="app" class="product-page" data-pid="{{pid}}" data-goods-id="{{goodsId}}"> |
2 | <div id="ssr"> | 2 | <div id="ssr"> |
3 | - {{#product}} | ||
4 | - <div class="ssr show-box first-box"> | ||
5 | - <div class="image-carousel"> | ||
6 | - <div class="swipe"> | ||
7 | - <div class="swipe-items-wrap"> | ||
8 | - {{#each goods_list}} | ||
9 | - {{#if color_image}} | ||
10 | - <div class="swipe-item {{#if @first}}active{{/if}}"> <img width="100%" alt="" src="{{image2 color_image w=750 h=1000 q=80}}"></div> | ||
11 | - {{/if}} | ||
12 | - {{/each}} | 3 | + {{#product}} |
4 | + <div class="ssr show-box first-box"> | ||
5 | + <div class="image-carousel"> | ||
6 | + <div class="swipe"> | ||
7 | + <div class="swipe-items-wrap"> | ||
8 | + {{#each goods_list}} | ||
9 | + {{#if color_image}} | ||
10 | + <div class="swipe-item {{#if @first}}active{{/if}}"> <img width="100%" alt="" src="{{image2 color_image w=750 h=1000 q=80}}/interlace/1"></div> | ||
11 | + {{/if}} | ||
12 | + {{/each}} | ||
13 | + </div> | ||
13 | </div> | 14 | </div> |
14 | </div> | 15 | </div> |
16 | + <div class="title-box"> | ||
17 | + <h1 class="line-clamp-2">{{product_name}}</h1> | ||
18 | + {{#if isDiscount}} | ||
19 | + <i class="price strike-through">{{format_market_price}}</i> | ||
20 | + {{/if}} | ||
21 | + <i class="price {{#if isDiscount}}highlight{{/if}}">{{formatPrice}}</i> | ||
22 | + </div> | ||
15 | </div> | 23 | </div> |
16 | - <div class="title-box"> | ||
17 | - <h1 class="line-clamp-2">{{product_name}}</h1> | ||
18 | - {{#if isDiscount}} | ||
19 | - <i class="price strike-through">{{format_market_price}}</i> | ||
20 | - {{/if}} | ||
21 | - <i class="price {{#if isDiscount}}highlight{{/if}}">{{formatPrice}}</i> | ||
22 | - </div> | ||
23 | - </div> | ||
24 | - {{#brandInfo}} | ||
25 | - <div class="ssr show-box brand"> | ||
26 | - <img src="{{image2 brand_ico w=110 h=68 q=80}}"> | ||
27 | - <h2>{{brand_name}}</h2> | ||
28 | - <div class="brand-go"> | ||
29 | - <span>进入店铺</span> | ||
30 | - <span class="icon icon-right"></span> | 24 | + {{#brandInfo}} |
25 | + <div class="ssr show-box brand"> | ||
26 | + <img src="{{image2 brand_ico w=110 h=68 q=80}}"> | ||
27 | + <h2>{{brand_name}}</h2> | ||
28 | + <div class="brand-go"> | ||
29 | + <span>进入店铺</span> | ||
30 | + <span class="icon icon-right"></span> | ||
31 | + </div> | ||
32 | + <a href="/product/shop/{{brand_domain}}"></a> | ||
31 | </div> | 33 | </div> |
32 | - <a href="/product/shop/{{brand_domain}}"></a> | ||
33 | - </div> | ||
34 | - {{/brandInfo}} | ||
35 | - {{/product}} | 34 | + {{/brandInfo}} |
35 | + {{/product}} | ||
36 | </div> | 36 | </div> |
37 | <app/> | 37 | <app/> |
38 | </div> | 38 | </div> |
-
Please register or login to post a comment