Authored by 沈志敏

fix bug

@@ -32,7 +32,7 @@ const component = { @@ -32,7 +32,7 @@ const component = {
32 homeModel.getUserHomeData(uid).then(data => { 32 homeModel.getUserHomeData(uid).then(data => {
33 const proData = data[0]; 33 const proData = data[0];
34 const result = { 34 const result = {
35 - headIco: proData && proData.head_ico ? helpers.image(proData.head_ico, 174, 174) : '', 35 + headIco: proData && proData.head_ico ? helpers.image(proData.head_ico, 170, 170) : '',
36 nickName: Object.keys(proData).length ? proData.nickname : '登录/注册' 36 nickName: Object.keys(proData).length ? proData.nickname : '登录/注册'
37 }; 37 };
38 38

5.73 KB | W: | H:

5.64 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -206,16 +206,17 @@ @@ -206,16 +206,17 @@
206 margin: 0 180px; 206 margin: 0 180px;
207 color: #000; 207 color: #000;
208 font-size: 34px; 208 font-size: 34px;
  209 + height: 190px;
209 text-align: center; 210 text-align: center;
210 211
211 .user-avatar { 212 .user-avatar {
212 display: inline-block; 213 display: inline-block;
213 position: relative; 214 position: relative;
214 - width: 174px;  
215 - height: 174px; 215 + width: 170px;
  216 + height: 170px;
216 border-radius: 50%; 217 border-radius: 50%;
217 margin: 0 auto; 218 margin: 0 auto;
218 - border: 3px solid #b0b0b0; 219 + /*border: 3px solid #b0b0b0;*/
219 background: resolve("me/user-icon.png"); 220 background: resolve("me/user-icon.png");
220 background-size: 100%; 221 background-size: 100%;
221 } 222 }
@@ -269,6 +270,7 @@ @@ -269,6 +270,7 @@
269 .order-type { 270 .order-type {
270 padding: 20px 0; 271 padding: 20px 0;
271 text-align: center; 272 text-align: center;
  273 + height: 150px;
272 274
273 .icon { 275 .icon {
274 font-size: 45px; 276 font-size: 45px;
@@ -281,6 +283,7 @@ @@ -281,6 +283,7 @@
281 font-size: 24px; 283 font-size: 24px;
282 line-height: 1.5; 284 line-height: 1.5;
283 width: 75px; 285 width: 75px;
  286 + margin-top: 13px;
284 margin-left: 130px; 287 margin-left: 130px;
285 288
286 &.highlight { 289 &.highlight {