Authored by jinhu.tung

product detail

... ... @@ -40,13 +40,13 @@
<input type="hidden" name="product_ids[]"/>
</li>
<li>
<a href="/product/item/\{{goods_id}}_\{{product_id}}.html">
<a href="/product/pro_\{{goods_id}}_\{{product_id}}/\{{cn_alphabet}}.html">
<img src="\{{image goods_images 100 134}}" alt="\{{product_name}}">
</a>
</li>
<li class="pro-info">
\{{!-- <div class="brand-name">\{{brand_name}}</div> --}}
<div class="pro-name"><a href="/product/item/\{{goods_id}}_\{{product_id}}.html">\{{product_name}}</a></div>
<div class="pro-name"><a href="/product/pro_\{{goods_id}}_\{{product_id}}/\{{cn_alphabet}}.html">\{{product_name}}</a></div>
<div class="size">
\{{#if size_name}}
<span>尺寸: \{{size_name}}</span>
... ... @@ -103,13 +103,13 @@
<input type="hidden" name="product_ids[]"/>
</li>
<li>
<a href="/product/item/\{{goods_id}}_\{{product_id}}.html">
<a href="/product/pro_\{{goods_id}}_\{{product_id}}/\{{cn_alphabet}}.html">
<img src="\{{image goods_images 100 134}}" alt="\{{product_name}}">
</a>
</li>
<li class="pro-info">
\{{!-- <div class="brand-name">\{{brandName}}</div> --}}
<div class="pro-name"><a href="/product/item/\{{goods_id}}_\{{product_id}}.html">\{{product_name}}</a></div>
<div class="pro-name"><a href="/product/pro_\{{goods_id}}_\{{product_id}}/\{{cn_alphabet}}.html">\{{product_name}}</a></div>
<div class="color-size editable" data-product_id=\{{product_id}} id="edit_\{{product_id}}">
\{{#if color_name}}
<span class="mr20">颜色: \{{color_name}}</span>
... ... @@ -158,12 +158,12 @@
<span class="iconfont warning">&#xe625;</span>
</li>
<li>
<a href="/product/item/\{{goods_id}}_\{{product_id}}.html">
<a href="/product/pro_\{{goods_id}}_\{{product_id}}/\{{cn_alphabet}}.html">
<img src="\{{image goods_images 100 134}}" alt="\{{product_name}}">
</a>
</li>
<li class="pro-info">
<div class="pro-name"><a href="/product/item/\{{goods_id}}_\{{product_id}}.html">\{{product_name}}</a></div>
<div class="pro-name"><a href="/product/pro_\{{goods_id}}_\{{product_id}}/\{{cn_alphabet}}.html">\{{product_name}}</a></div>
<div>
\{{#if color_name}}
<span class="mr20">颜色: \{{color_name}}</span>
... ...
... ... @@ -17,13 +17,13 @@
<input type="hidden" name="product_ids[]"/>
</li>
<li>
<a href="/product/item/{{goods_id}}_{{product_id}}.html">
<a href="/product/pro_{{goods_id}}_{{product_id}}/{{cn_alphabet}}.html">
<img src="{{image goods_images 100 134}}" alt="{{product_name}}">
</a>
</li>
<li class="pro-info">
{{!-- <div class="brand-name">{{brand_name}}</div> --}}
<div class="pro-name"><a href="/product/item/{{goods_id}}_{{product_id}}.html">{{product_name}}</a></div>
<div class="pro-name"><a href="/product/pro_{{goods_id}}_{{product_id}}/{{cn_alphabet}}.html">{{product_name}}</a></div>
<div class="size">
{{#if size_name}}
<span>尺寸: {{size_name}}</span>
... ... @@ -70,13 +70,13 @@
<input type="hidden" name="product_ids[]"/>
</li>
<li>
<a href="/product/item/{{goods_id}}_{{product_id}}.html">
<a href="/product/pro_{{goods_id}}_{{product_id}}/{{cn_alphabet}}.html">
<img src="{{image goods_images 100 134}}" alt="{{product_name}}">
</a>
</li>
<li class="pro-info">
{{!-- <div class="brand-name">{{brandName}}</div> --}}
<div class="pro-name"><a href="/product/item/{{goods_id}}_{{product_id}}.html">{{product_name}}</a></div>
<div class="pro-name"><a href="/product/pro_{{goods_id}}_{{product_id}}/{{cn_alphabet}}.html">{{product_name}}</a></div>
<div class="color-size editable" data-product_id={{product_id}} id="edit_{{product_id}}">
{{#if color_name}}
<span class="mr20">颜色: {{color_name}}</span>
... ... @@ -115,12 +115,12 @@
<span class="iconfont warning">&#xe625;</span>
</li>
<li>
<a href="/product/item/{{goods_id}}_{{product_id}}.html">
<a href="/product/pro_{{goods_id}}_{{product_id}}/{{cn_alphabet}}.html">
<img src="{{image goods_images 100 134}}" alt="{{product_name}}">
</a>
</li>
<li class="pro-info">
<div class="pro-name"><a href="/product/item/{{goods_id}}_{{product_id}}.html">{{product_name}}</a></div>
<div class="pro-name"><a href="/product/pro_{{goods_id}}_{{product_id}}/{{cn_alphabet}}.html">{{product_name}}</a></div>
<div>
{{#if color_name}}
<span class="mr20">颜色: {{color_name}}</span>
... ...
... ... @@ -12,7 +12,7 @@ var Stepper = {
// 减少商品数量
decrease: function(sku, currNum) {
if (parseInt(currNum, 10) <= 1) {
//return callback(1);
// return callback(1);
} else {
Util.ajax({
url: '/shopping/cart/product/change_num',
... ...