diff --git a/app/index/view/product/detail copy.html b/app/index/view/product/detail copy.html deleted file mode 100644 index c2d260a2..00000000 --- a/app/index/view/product/detail copy.html +++ /dev/null @@ -1,308 +0,0 @@ -{extend name="public/base" /} -{block name="title"} -{notempty name="product.seo_title"}{$product.seo_title}{else /}{__BLOCK__}{/notempty} -{/block} -{block name="seo"} -{notempty name="product.seo_keywords"} - - -{else/} -{__BLOCK__} -{/notempty} -{/block} -{block name="style"} - -{/block} -{block name="main"} -
- -
- -
- 首页 - {volist name="product_categorys" id="ca"} -
- {$ca.name} - {/volist} -
- -
- -
-
-
-
-
-
    -
  • - -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
-
-
-
-
- -
-
-
- - -
-
-

{$product.name|default=''}

-

{$product.desc|default=''}

-
-
    - {volist name="product_params" id="pp"} -
  • -
    {$pp.name}
    -
    -
    {$pp.value}
    -
  • - {/volist} -
-
- - {volist name="product_sku_attrs" id="ps"} -
-
{$ps.attr_name}
- -
- {/volist} -
- -
- {volist name="product_purchase_links" id="ppp"} - {$ppp.platform_name} - {/volist} - {:lang('product_detail.display_form')} -
-
-
- - - - {notempty name="product_related"} - - {/notempty} - -
-
- × -

{:lang('product_detail.display_form')}

-
-
-
- -
- - -
-
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- -
-
-
-
- -
-
- -
-
x
-
-
-{/block} -{block name="script"} - -{/block} \ No newline at end of file diff --git a/app/index/view/product/detail.html b/app/index/view/product/detail.html index 45ab6cbb..40340301 100644 --- a/app/index/view/product/detail.html +++ b/app/index/view/product/detail.html @@ -31,42 +31,37 @@
{volist name="product_skus" id="sku" key="idx"}
- {if condition="!empty($product.video_img) && !empty($product.video_url) && $idx == 1"} -
- -
-
    -
  • -
-
-
- -
- -
- {/if}
+ +
    + {if condition="!empty($product.video_img) && !empty($product.video_url) && $idx == 1"} + +
  • + {/if} {volist name="sku.photo_album" id="photo"} -
  • +
  • {/volist}
+ +
- -
+ {if condition="!empty($product.video_img) && !empty($product.video_url) && $idx == 1"} + + + {else/} {notempty name="sku.photo_album[0]"} {/notempty} - -
+ {/if}
{/volist} @@ -110,8 +105,8 @@
- {volist name="product_purchase_links" id="ppp"} - {$ppp.platform_name} + {volist name="product_purchase_links" id="ppp" key="k"} + {$ppp.platform_name} {/volist} {:lang('product_detail.display_form')}
@@ -121,8 +116,10 @@
{:lang('product_detail.detail_section_title')} + {notempty name="product_related"} | {:lang('product_detail.related_products')}
+ {/notempty}
{$product.detail|default=''|raw}