Authored by Rock Zhang

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop

Conflicts:
	library/Api/Yohobuy.php
@@ -23,8 +23,9 @@ @@ -23,8 +23,9 @@
23 width: 16rem / $pxConvertRem; 23 width: 16rem / $pxConvertRem;
24 height: 16rem / $pxConvertRem; 24 height: 16rem / $pxConvertRem;
25 margin: 0 (8rem / $pxConvertRem); 25 margin: 0 (8rem / $pxConvertRem);
26 - background: #efefef; 26 + background: #f0f0f0;
27 border-radius: 50%; 27 border-radius: 50%;
  28 + opacity: 1;
28 } 29 }
29 30
30 span.swiper-pagination-bullet-active { 31 span.swiper-pagination-bullet-active {
@@ -85,4 +86,4 @@ @@ -85,4 +86,4 @@
85 } 86 }
86 } 87 }
87 } 88 }
88 -}  
  89 +}
@@ -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;
@@ -31,7 +31,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); @@ -31,7 +31,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
31 31
32 //意见反馈主体 32 //意见反馈主体
33 .suggest-content { 33 .suggest-content {
34 - border-top: pxToRem(30px) solid #fff; 34 + border-top: 1px solid #e0e0e0;
35 35
36 .suggest-item { 36 .suggest-item {
37 width: 100%; 37 width: 100%;
@@ -76,6 +76,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); @@ -76,6 +76,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
76 &.suggest-active { 76 &.suggest-active {
77 > div { 77 > div {
78 width: 50%; 78 width: 50%;
  79 + height: 100%;
79 float: left; 80 float: left;
80 text-align: left; 81 text-align: left;
81 padding-left: pxToRem(128px); 82 padding-left: pxToRem(128px);
@@ -135,8 +136,29 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); @@ -135,8 +136,29 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
135 line-height: pxToRem(88px); 136 line-height: pxToRem(88px);
136 text-align: center; 137 text-align: center;
137 font-size: pxToRem(30px); 138 font-size: pxToRem(30px);
138 - border-top: 1px solid #e0e0e0;  
139 - border-bottom: 1px solid #e0e0e0; 139 + //border-top: 1px solid #e0e0e0;
  140 + //border-bottom: 1px solid #e0e0e0;
  141 + border-top: pxToRem(30px) solid #f0f0f0;
  142 + border-bottom: pxToRem(30px) solid #f0f0f0;
  143 + position: relative;
  144 + &:after {
  145 + content: '';
  146 + width: 100%;
  147 + height: 1px;
  148 + border-top: 1px solid #e0e0e0;
  149 + position: absolute;
  150 + left: 0;
  151 + top: 0;
  152 + }
  153 + &:before {
  154 + content: '';
  155 + width: 100%;
  156 + height: 1px;
  157 + border-bottom: 1px solid #e0e0e0;
  158 + position: absolute;
  159 + left: 0;
  160 + bottom: 0;
  161 + }
140 162
141 a { 163 a {
142 color: #444; 164 color: #444;
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>
@@ -6,6 +6,12 @@ @@ -6,6 +6,12 @@
6 我们希望了解您的意见和建议 6 我们希望了解您的意见和建议
7 </h2> 7 </h2>
8 8
  9 + <div class="create-new-suggest">
  10 + <a href="./suggestSub">
  11 + 反馈问题<span>(功能意见,界面意见)</span>
  12 + </a>
  13 + </div>
  14 +
9 <div class="suggest-content" id="suggest-content"> 15 <div class="suggest-content" id="suggest-content">
10 {{# suggestContent}} 16 {{# suggestContent}}
11 <div class="suggest-item" data-id="{{suggest_id}}"> 17 <div class="suggest-item" data-id="{{suggest_id}}">
@@ -46,11 +52,6 @@ @@ -46,11 +52,6 @@
46 52
47 {{/ suggestContent}} 53 {{/ suggestContent}}
48 </div> 54 </div>
49 - <div class="create-new-suggest">  
50 - <a href="./suggestSub">  
51 - 反馈问题<span>(功能意见,界面意见)</span>  
52 - </a>  
53 - </div>  
54 {{/ suggest}} 55 {{/ suggest}}
55 </div> 56 </div>
56 {{> layout/footer}} 57 {{> layout/footer}}