|
@@ -4,7 +4,7 @@ |
|
@@ -4,7 +4,7 @@ |
4
|
</cheader>
|
4
|
</cheader>
|
5
|
<div class="my-header">
|
5
|
<div class="my-header">
|
6
|
<a class="user-info auth" id="user-info" href='/me/mydetails'>
|
6
|
<a class="user-info auth" id="user-info" href='/me/mydetails'>
|
7
|
- <img class="user-avatar" :src="headIco" @error="imgerror">
|
7
|
+ <img class="user-avatar" :src="headIco" @error="setEmptyimg">
|
8
|
</a>
|
8
|
</a>
|
9
|
<span class="username">{{ data.nickName }}</span>
|
9
|
<span class="username">{{ data.nickName }}</span>
|
10
|
</div>
|
10
|
</div>
|
|
@@ -47,7 +47,7 @@ |
|
@@ -47,7 +47,7 @@ |
47
|
<div class="group-list">
|
47
|
<div class="group-list">
|
48
|
<a class="glist-item auth" href="/me/collection">
|
48
|
<a class="glist-item auth" href="/me/collection">
|
49
|
我的收藏
|
49
|
我的收藏
|
50
|
- <span class="num">商品/品牌/资讯 <span class="icon icon-right"></span></span>
|
50
|
+ <span class="num">商品/品牌/资讯 <span class="icon icon-right"></span></span>
|
51
|
</a>
|
51
|
</a>
|
52
|
<a class="glist-item auth" href="/me/records?type={{recordNum}}">
|
52
|
<a class="glist-item auth" href="/me/records?type={{recordNum}}">
|
53
|
浏览记录
|
53
|
浏览记录
|
|
@@ -103,7 +103,7 @@ |
|
@@ -103,7 +103,7 @@ |
103
|
cheader
|
103
|
cheader
|
104
|
},
|
104
|
},
|
105
|
methods: {
|
105
|
methods: {
|
106
|
- imgerror() {
|
106
|
+ setEmptyimg() {
|
107
|
// 图片报错时,给个默认透明图片
|
107
|
// 图片报错时,给个默认透明图片
|
108
|
this.headIco = 'data:image/png;base64,R0lGODlhFAAUAIAAAP///wAAACH5BAEAAAAALAAAAAAUABQAAAIRhI+py+0Po5y02ouz3rz7rxUAOw==';
|
108
|
this.headIco = 'data:image/png;base64,R0lGODlhFAAUAIAAAP///wAAACH5BAEAAAAALAAAAAAUABQAAAIRhI+py+0Po5y02ouz3rz7rxUAOw==';
|
109
|
},
|
109
|
},
|
|
@@ -141,6 +141,7 @@ |
|
@@ -141,6 +141,7 @@ |
141
|
this.data = {
|
141
|
this.data = {
|
142
|
nickName: '登录/注册'
|
142
|
nickName: '登录/注册'
|
143
|
};
|
143
|
};
|
|
|
144
|
+ this.setEmptyimg();
|
144
|
|
145
|
|
145
|
$('.auth').addClass('no-intercept');
|
146
|
$('.auth').addClass('no-intercept');
|
146
|
$('.auth').on('click', this.authClick);
|
147
|
$('.auth').on('click', this.authClick);
|
|
@@ -323,7 +324,7 @@ |
|
@@ -323,7 +324,7 @@ |
323
|
}
|
324
|
}
|
324
|
|
325
|
|
325
|
.order-type {
|
326
|
.order-type {
|
326
|
- padding: 20px 0;
|
327
|
+ padding: 20px 30px;
|
327
|
text-align: center;
|
328
|
text-align: center;
|
328
|
height: 150px;
|
329
|
height: 150px;
|
329
|
|
330
|
|
|
@@ -337,16 +338,16 @@ |
|
@@ -337,16 +338,16 @@ |
337
|
color: #444;
|
338
|
color: #444;
|
338
|
font-size: 24px;
|
339
|
font-size: 24px;
|
339
|
line-height: 1.5;
|
340
|
line-height: 1.5;
|
340
|
- width: 75px;
|
341
|
+ width: 86px;
|
341
|
margin-top: 13px;
|
342
|
margin-top: 13px;
|
342
|
- margin-left: 130px;
|
343
|
+ margin-left: 115px;
|
343
|
|
344
|
|
344
|
&.highlight {
|
345
|
&.highlight {
|
345
|
background: #eee;
|
346
|
background: #eee;
|
346
|
}
|
347
|
}
|
347
|
|
348
|
|
348
|
&:first-child {
|
349
|
&:first-child {
|
349
|
- margin-left: 34px;
|
350
|
+ margin-left: 0;
|
350
|
}
|
351
|
}
|
351
|
|
352
|
|
352
|
.num {
|
353
|
.num {
|