Authored by 毕凯

促销活动,超过一行显示“...”

@@ -350,12 +350,18 @@ $basicBtnC:#eb0313; @@ -350,12 +350,18 @@ $basicBtnC:#eb0313;
350 background-color: #fff; 350 background-color: #fff;
351 border-bottom: 1px solid $borderC; 351 border-bottom: 1px solid $borderC;
352 h1 { 352 h1 {
353 - padding: pxToRem(30px) pxToRem(28px); 353 + position: relative;
  354 + padding: pxToRem(30px) pxToRem(60px) pxToRem(30px) pxToRem(28px);
354 line-height: pxToRem(36px); 355 line-height: pxToRem(36px);
  356 + white-space: nowrap;
  357 + overflow: hidden;
  358 + text-overflow: ellipsis;
355 // line-height: pxToRem(88px); 359 // line-height: pxToRem(88px);
356 } 360 }
357 .iconfont { 361 .iconfont {
358 - display: inline-block; 362 + position: absolute;
  363 + top: pxToRem(30px);
  364 + right: pxToRem(36px);
359 width: pxToRem(35px); 365 width: pxToRem(35px);
360 font-size: pxToRem(45px); 366 font-size: pxToRem(45px);
361 float: right; 367 float: right;