Authored by Rock Zhang

修复浏览记录显示的bug

Code Review By Rock Zhang
1 .browse-record-good { 1 .browse-record-good {
2 position: relative; 2 position: relative;
3 padding: 0.5rem 0 0.5rem 0.75rem; 3 padding: 0.5rem 0 0.5rem 0.75rem;
  4 + display: block;
4 5
5 .thumb { 6 .thumb {
6 float: left; 7 float: left;
1 {{# browseRecord}} 1 {{# browseRecord}}
2 - <div class="browse-record-good clearfix" data-skn="{{product_skn}}"> 2 + <a class="browse-record-good clearfix" data-skn="{{product_skn}}" href="{{link}}">
3 <img class="thumb lazy" data-original="{{image}}"> 3 <img class="thumb lazy" data-original="{{image}}">
4 <div class="deps clearfix"> 4 <div class="deps clearfix">
5 <p class="name row">{{product_name}}</p> 5 <p class="name row">{{product_name}}</p>
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 </p> 17 </p>
18 <span class="iconfont del-icon">&#xe621;</span> 18 <span class="iconfont del-icon">&#xe621;</span>
19 </div> 19 </div>
20 - </div> 20 + </a>
21 {{/ browseRecord}} 21 {{/ browseRecord}}
22 22
23 {{#if noRecord}} 23 {{#if noRecord}}