Merge branch 'feature/xieweiguang' into 'develop'
Feature/xieweiguang See merge request !11
Showing
4 changed files
with
9 additions
and
4 deletions
@@ -32,7 +32,9 @@ | @@ -32,7 +32,9 @@ | ||
32 | height: 180rem / $pxConvertRem; | 32 | height: 180rem / $pxConvertRem; |
33 | overflow: hidden; | 33 | overflow: hidden; |
34 | margin: 20rem / $pxConvertRem auto; | 34 | margin: 20rem / $pxConvertRem auto; |
35 | - background: image-url('me/employ/employ.jpg') top center no-repeat; | 35 | + background-image: image-url('me/employ/employ.jpg'); |
36 | + background-position: top center; | ||
37 | + background-repeat:no-repeat; | ||
36 | background-size: 100% 100%; | 38 | background-size: 100% 100%; |
37 | color: #fff; | 39 | color: #fff; |
38 | position: relative; | 40 | position: relative; |
@@ -35,6 +35,9 @@ | @@ -35,6 +35,9 @@ | ||
35 | font-size: 48em / $pxConvertRem; | 35 | font-size: 48em / $pxConvertRem; |
36 | margin-right: 8%; | 36 | margin-right: 8%; |
37 | float: left; | 37 | float: left; |
38 | + text-overflow:ellipsis; | ||
39 | + white-space:nowrap; | ||
40 | + overflow:hidden; | ||
38 | .head-portrait{ | 41 | .head-portrait{ |
39 | width:90rem / $pxConvertRem; | 42 | width:90rem / $pxConvertRem; |
40 | height: 90rem / $pxConvertRem; | 43 | height: 90rem / $pxConvertRem; |
1 | {{#coupons}} | 1 | {{#coupons}} |
2 | -<div class="employ-main" style="background:url('{{coupon_pic}}')"> | 2 | +<div class="employ-main" style="background-image:url('{{coupon_pic}}')"> |
3 | <span>{{ money}}</span> | 3 | <span>{{ money}}</span> |
4 | <p class="coupon-name">{{ coupon_name}}</p> | 4 | <p class="coupon-name">{{ coupon_name}}</p> |
5 | - <p>{{ couponValidity}}</p> | 5 | + <p>有效期:{{ couponValidity}}</p> |
6 | {{# used}}<i></i>{{/ used}} | 6 | {{# used}}<i></i>{{/ used}} |
7 | </div> | 7 | </div> |
8 | {{/coupons}} | 8 | {{/coupons}} |
1 | {{> layout/header}} | 1 | {{> layout/header}} |
2 | <div class="personal-details"> | 2 | <div class="personal-details"> |
3 | <ul> | 3 | <ul> |
4 | - <li><span>头像</span><span><i class="head-portrait"><img class="user-avatar" src="{{ head_ico }}"></i></span></li> | 4 | + <li><span>头像</span><span><i class="head-portrait user-avatar" data-avatar="{{head_ico}}"></i></span></li> |
5 | <li><span>昵称</span><span>{{ nickname }}</span></li> | 5 | <li><span>昵称</span><span>{{ nickname }}</span></li> |
6 | <li><span>性别</span><span>{{ gender }}</span></li> | 6 | <li><span>性别</span><span>{{ gender }}</span></li> |
7 | <li><span>生日</span><span>{{ birthday }}</span></li> | 7 | <li><span>生日</span><span>{{ birthday }}</span></li> |
-
Please register or login to post a comment