Authored by 张丽霞

plusstar 点击区域增大

... ... @@ -53,9 +53,9 @@ setTimeout(function() {
info.initInfosEvt($infosContainer);
//文字介绍收起与展开
moreHammer = new Hammer(document.getElementById('more-intro'));
moreHammer = new Hammer(document.getElementById('more-intro-click-range'));
moreHammer.on('tap', function(e) {
var $this = $(e.target).closest('#more-intro');
var $this = $(e.target).closest('#more-intro-click-range');
$this.toggleClass('spread');
... ...
... ... @@ -189,6 +189,11 @@
border-top: none;
line-height: 40px;
height: auto;
a {
width: 100%;
text-align: right;
}
}
.mg-text {
... ...
... ... @@ -11,15 +11,17 @@

</a>
</p>
<p id="intro" class="intro">
{{intro}}
</p>
{{#if intro}}
<span id="more-intro" class="more-intro">
<span id="intro-more-txt">more</span>
<i class="icon iconfont">&#xe609;</i>
</span>
{{/if}}
<div id="more-intro-click-range" class="clearfix">
<p id="intro" class="intro">
{{intro}}
</p>
{{#if intro}}
<span id="more-intro" class="more-intro">
<span id="intro-more-txt">more</span>
<i class="icon iconfont">&#xe609;</i>
</span>
{{/if}}
</div>
</div>
</div>
{{# newArrival}}
... ...