Authored by hf

fixes bug refs YW-1217 footer link show error

@@ -122,9 +122,9 @@ @@ -122,9 +122,9 @@
122 {{#if numInCart}} 122 {{#if numInCart}}
123 <span class="num-tag">{{numInCart}}</span> 123 <span class="num-tag">{{numInCart}}</span>
124 {{/if}} 124 {{/if}}
125 - <a href="/shoppingCart" class="num-incart iconfont">&#xe62c;</a> 125 + <a href="{{cartUrl}}" class="num-incart iconfont">&#xe62c;</a>
126 {{#if goodsInstore}} 126 {{#if goodsInstore}}
127 - <a href="/shoppingCart" id="addtoCart" class="addto-cart">加入购物车</a> 127 + <a href="{{cartUrl}}" id="addtoCart" class="addto-cart">加入购物车</a>
128 {{else}} 128 {{else}}
129 <a href="javascript:;" class="sold-out">已售罄</a> 129 <a href="javascript:;" class="sold-out">已售罄</a>
130 {{/if}} 130 {{/if}}
@@ -199,6 +199,7 @@ class DetailModel @@ -199,6 +199,7 @@ class DetailModel
199 199
200 // 悬浮的购物车信息 200 // 悬浮的购物车信息
201 $result['cartInfo'] = array( 201 $result['cartInfo'] = array(
  202 + 'cartUrl' => Helpers::url('/shoppingCart'),
202 'numInCart' => 0, 203 'numInCart' => 0,
203 'goodsInstore' => $baseInfo['storage'], 204 'goodsInstore' => $baseInfo['storage'],
204 ); 205 );