diff --git a/app/index/view/default/goods/index.html b/app/index/view/default/goods/index.html
index fbfc3046a..cc2e0e9ee 100755
--- a/app/index/view/default/goods/index.html
+++ b/app/index/view/default/goods/index.html
@@ -337,25 +337,28 @@
{{/if}}
{{/foreach}}
{{/if}}
- {{if !empty($goods['specifications']['choose'])}}
- {{foreach $goods.specifications.choose as $key=>$spec}}
- {{if !empty($spec['value'])}}
-
-
{{$spec.name}}
-
- {{foreach $spec.value as $keys=>$specs}}
- -
- {{if !empty($specs['images'])}}
-
- {{/if}}
- {{$specs.name}}
-
- {{/foreach}}
-
-
- {{/if}}
- {{/foreach}}
- {{/if}}
+
+
+ {{if !empty($goods['specifications']['choose'])}}
+ {{foreach $goods.specifications.choose as $key=>$spec}}
+ {{if !empty($spec['value'])}}
+
+
{{$spec.name}}
+
+ {{foreach $spec.value as $keys=>$specs}}
+ -
+ {{if !empty($specs['images'])}}
+
+ {{/if}}
+ {{$specs.name}}
+
+ {{/foreach}}
+
+
+ {{/if}}
+ {{/foreach}}
+ {{/if}}
+
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
diff --git a/public/static/index/default/js/goods.js b/public/static/index/default/js/goods.js
index 6b28b1193..c77a4ffaf 100755
--- a/public/static/index/default/js/goods.js
+++ b/public/static/index/default/js/goods.js
@@ -390,7 +390,7 @@ $(function() {
$('#text_box').val($('.stock-tips .stock').data('min-limit') || 1);
// 规格处理
- var length = $('.theme-signin-left .sku-items').length;
+ var length = $('.theme-signin-left .sku-container .sku-items').length;
var index = $(this).parents('.sku-items').index();
if($(this).hasClass('selected'))
@@ -398,7 +398,7 @@ $(function() {
$(this).removeClass('selected');
// 去掉元素之后的禁止
- $('.theme-signin-left .sku-items').each(function(k, v)
+ $('.theme-signin-left .sku-container .sku-items').each(function(k, v)
{
if(k > index)
{
@@ -420,7 +420,7 @@ $(function() {
// 去掉元素之后的禁止
if(index < length)
{
- $('.theme-signin-left .sku-items').each(function(k, v)
+ $('.theme-signin-left .sku-container .sku-items').each(function(k, v)
{
if(k > index)
{