Authored by htoooth

fix bug

... ... @@ -12,7 +12,11 @@
<li class="promotion-item">
<span class="ac-type">{{type}}</span>
<span class="ac-des {{#if_cond ../activity.length '>=' 3}}small{{/if_cond}}">
<a target="_blank" href="{{url}}">{{des}}</a>
{{#if url}}
<a target="_blank" href="{{url}}">{{des}}</a>
{{^}}
<span>{{des}}</span>
{{/if}}
</span>
</li>
{{/each}}
... ... @@ -25,7 +29,11 @@
<li class="promotion-item {{#if_cond @index '>=' 3}}hide{{/if_cond}}">
<span class="ac-type">{{type}}</span>
<span class="ac-des {{#if_cond ../activity.length '>=' 3}}small{{/if_cond}}">
<a target="_blank" href="{{url}}">{{des}}</a>
{{#if url}}
<a target="_blank" href="{{url}}">{{des}}</a>
{{^}}
<span>{{des}}</span>
{{/if}}
</span>
</li>
{{/each}}
... ...
... ... @@ -11,7 +11,7 @@
<div id="after-service-switch" class="after-service-switch clearfix">
<span class="iconfont">&#xe628;</span>&nbsp;
售后服务
<span class="iconfont triangle">&#xe60b;</span>
<span class="iconfont triangle">&#xe6c1;</span>
</div>
<div class="after-service-content info-block bl">
... ...
... ... @@ -35,7 +35,7 @@
<div class="magnifier move-object hide"></div>
<div class="magnifier move-over"></div>
<div id="max" class="magnifier max hide">
<img id='big' src="{{image img 1000 1333}}">
<img id='big' src="{{image img 1742 2323}}">
</div>
</div>
... ...
... ... @@ -17,13 +17,13 @@ module.exports = {
cookieDomain: '.yohobuy.com',
domains: {
// test3
//singleApi: 'http://api-test2.yohops.com:9999/',
//api: 'http://api-test2.yohops.com:9999/',
//service: 'http://service-test2.yohops.com:9999/',
singleApi: 'http://api-test2.yohops.com:9999/',
api: 'http://api-test2.yohops.com:9999/',
service: 'http://service-test2.yohops.com:9999/',
singleApi: 'http://single.gray.yohops.com/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
//singleApi: 'http://single.gray.yohops.com/',
//api: 'http://api.yoho.cn/',
//service: 'http://service.yoho.cn/',
//api: 'http://dev-api.yohops.com:9999/',
//service: 'http://dev-service.yohops.com:9999/',
... ...
... ... @@ -300,10 +300,10 @@ bindEvent.add(function() {
// 查看细节图功能
var moveWidth = 135, // eslint-disable-line
magnifier = 560,
w = 420,
h = 560,
_w = 1000,
radio = w / _w,
radio = moveWidth / magnifier,
$moveObj = $('.move-object'),
$max = $('.max');
... ... @@ -1041,8 +1041,8 @@ $('.after-service-switch').click(function() {
$content = $this.next('.after-service-content');
var html = {
down: '&#xe60b;',
up: '&#xe607;'
down: '&#xe6c1;',
up: '&#xe6c0;'
};
if ($content.css('display') === 'none') {
... ...
... ... @@ -156,13 +156,13 @@ module.exports = function(opts) {
if (page > 1) {
ret += '<a href="javascript:void(0)" data-page="' + base + (page - 1) +
'" title="上一页"><span class="iconfont">&#xe60e;</span>上一页</a>';
'" title="上一页"><span class="iconfont">&#xe609;</span>上一页</a>';
}
break;
case 'n' :
if (page < totalPages) {
ret += '<a href="javascript:void(0)" data-page="' + base + (page + 1) +
'" title="下一页">下一页<span class="iconfont">&#xe60c;</span></a>';
'" title="下一页">下一页<span class="iconfont">&#xe608;</span></a>';
}
break;
case 'l' :
... ...