Authored by 梁志锋

Merge branch 'release/4.3' of http://git.dev.yoho.cn/web/yohobuywap into release/4.3

@@ -5381,7 +5381,7 @@ define("js/passport/bind/relate", ["jquery"], function(require, exports, module) @@ -5381,7 +5381,7 @@ define("js/passport/bind/relate", ["jquery"], function(require, exports, module)
5381 require("js/passport/code")(true, false, true); 5381 require("js/passport/code")(true, false, true);
5382 5382
5383 }); 5383 });
5384 -define("js/product/entry", ["jquery","swiper","lazyload","hammer","handlebars","source-map","index"], function(require, exports, module){ 5384 +define("js/product/entry", ["jquery","swiper","lazyload","hammer","mlellipsis","handlebars","source-map","index"], function(require, exports, module){
5385 /** 5385 /**
5386 * 产品打包入口 5386 * 产品打包入口
5387 * @author: liangzhifeng<zhifeng.liang@yoho.cn> 5387 * @author: liangzhifeng<zhifeng.liang@yoho.cn>
@@ -6400,7 +6400,7 @@ $listNav.on('touchstart', 'li', function(e) { @@ -6400,7 +6400,7 @@ $listNav.on('touchstart', 'li', function(e) {
6400 }); 6400 });
6401 6401
6402 }); 6402 });
6403 -define("js/product/list", ["jquery","hammer","lazyload"], function(require, exports, module){ 6403 +define("js/product/list", ["jquery","hammer","mlellipsis","lazyload"], function(require, exports, module){
6404 /** 6404 /**
6405 * 商品列表页 6405 * 商品列表页
6406 * @author: xuqi<qi.xu@yoho.cn> 6406 * @author: xuqi<qi.xu@yoho.cn>
@@ -6409,6 +6409,7 @@ define("js/product/list", ["jquery","hammer","lazyload"], function(require, expo @@ -6409,6 +6409,7 @@ define("js/product/list", ["jquery","hammer","lazyload"], function(require, expo
6409 6409
6410 var $ = require("jquery"), 6410 var $ = require("jquery"),
6411 Hammer = require("hammer"), 6411 Hammer = require("hammer"),
  6412 + ellipsis = require("mlellipsis"),
6412 lazyLoad = require("lazyload"); 6413 lazyLoad = require("lazyload");
6413 6414
6414 6415
@@ -6464,7 +6465,10 @@ var $listNav = $('#list-nav'), @@ -6464,7 +6465,10 @@ var $listNav = $('#list-nav'),
6464 searching, 6465 searching,
6465 btnIntroHammer, 6466 btnIntroHammer,
6466 introHammer, 6467 introHammer,
6467 - brandColHammer; 6468 + brandColHammer,
  6469 + $this;
  6470 +
  6471 +ellipsis.init();
6468 6472
6469 $input.on('input', function() { 6473 $input.on('input', function() {
6470 if ($input.val() === '') { 6474 if ($input.val() === '') {
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@@ -850,6 +850,7 @@ @@ -850,6 +850,7 @@
850 border-color: rgba(255,255,255,.6); 850 border-color: rgba(255,255,255,.6);
851 background-image: image-url("me/index/user-avatar.png"); 851 background-image: image-url("me/index/user-avatar.png");
852 background-repeat: no-repeat; 852 background-repeat: no-repeat;
  853 + background-origin: border-box;
853 background-size: contain; 854 background-size: contain;
854 display: inline-block; 855 display: inline-block;
855 } 856 }
@@ -939,7 +940,7 @@ @@ -939,7 +940,7 @@
939 font-size: 24rem / $pxConvertRem; 940 font-size: 24rem / $pxConvertRem;
940 color: #444; 941 color: #444;
941 margin-top: 5rem / $pxConvertRem; 942 margin-top: 5rem / $pxConvertRem;
942 - width: 180rem / $pxConvertRem; 943 + width: 260rem / $pxConvertRem;
943 white-space: nowrap; 944 white-space: nowrap;
944 text-overflow: ellipsis; 945 text-overflow: ellipsis;
945 overflow: hidden; 946 overflow: hidden;
@@ -850,6 +850,7 @@ @@ -850,6 +850,7 @@
850 border-color: rgba(255,255,255,.6); 850 border-color: rgba(255,255,255,.6);
851 background-image: resolve("me/index/user-avatar.png"); 851 background-image: resolve("me/index/user-avatar.png");
852 background-repeat: no-repeat; 852 background-repeat: no-repeat;
  853 + background-origin: border-box;
853 background-size: contain; 854 background-size: contain;
854 display: inline-block; 855 display: inline-block;
855 } 856 }
@@ -939,7 +940,7 @@ @@ -939,7 +940,7 @@
939 font-size: 24px; 940 font-size: 24px;
940 color: #444; 941 color: #444;
941 margin-top: 5px; 942 margin-top: 5px;
942 - width: 180px; 943 + width: 260px;
943 white-space: nowrap; 944 white-space: nowrap;
944 text-overflow: ellipsis; 945 text-overflow: ellipsis;
945 overflow: hidden; 946 overflow: hidden;
@@ -15,10 +15,10 @@ @@ -15,10 +15,10 @@
15 </div> 15 </div>
16 <div id="Container"></div> 16 <div id="Container"></div>
17 </div> 17 </div>
18 - <div class="fan-charts">  
19 - <h2>新潮粉丝榜</h2>  
20 - <a href="{{topUrl}}" class="arrow iconfont">&#xe614;</a>  
21 - </div> 18 + <a class="fan-charts" href="{{topUrl}}">
  19 + <h2>星潮粉丝榜</h2>
  20 + <span class="arrow iconfont">&#xe614;</span>
  21 + </a>
22 <ul class="fan-charts-cont"> 22 <ul class="fan-charts-cont">
23 <!-- {{#each fanCharts}} 23 <!-- {{#each fanCharts}}
24 <li> 24 <li>