...
|
...
|
@@ -4,7 +4,7 @@ |
|
|
</cheader>
|
|
|
<div class="my-header">
|
|
|
<a class="user-info auth" id="user-info" href='/me/mydetails'>
|
|
|
<img class="user-avatar" :src="headIco" @error="imgerror">
|
|
|
<img class="user-avatar" :src="headIco" @error="setEmptyimg">
|
|
|
</a>
|
|
|
<span class="username">{{ data.nickName }}</span>
|
|
|
</div>
|
...
|
...
|
@@ -47,7 +47,7 @@ |
|
|
<div class="group-list">
|
|
|
<a class="glist-item auth" href="/me/collection">
|
|
|
我的收藏
|
|
|
<span class="num">商品/品牌/资讯 <span class="icon icon-right"></span></span>
|
|
|
<span class="num">商品/品牌/资讯 <span class="icon icon-right"></span></span>
|
|
|
</a>
|
|
|
<a class="glist-item auth" href="/me/records?type={{recordNum}}">
|
|
|
浏览记录
|
...
|
...
|
@@ -103,7 +103,7 @@ |
|
|
cheader
|
|
|
},
|
|
|
methods: {
|
|
|
imgerror() {
|
|
|
setEmptyimg() {
|
|
|
// 图片报错时,给个默认透明图片
|
|
|
this.headIco = 'data:image/png;base64,R0lGODlhFAAUAIAAAP///wAAACH5BAEAAAAALAAAAAAUABQAAAIRhI+py+0Po5y02ouz3rz7rxUAOw==';
|
|
|
},
|
...
|
...
|
@@ -141,6 +141,7 @@ |
|
|
this.data = {
|
|
|
nickName: '登录/注册'
|
|
|
};
|
|
|
this.setEmptyimg();
|
|
|
|
|
|
$('.auth').addClass('no-intercept');
|
|
|
$('.auth').on('click', this.authClick);
|
...
|
...
|
@@ -323,7 +324,7 @@ |
|
|
}
|
|
|
|
|
|
.order-type {
|
|
|
padding: 20px 0;
|
|
|
padding: 20px 30px;
|
|
|
text-align: center;
|
|
|
height: 150px;
|
|
|
|
...
|
...
|
@@ -337,16 +338,16 @@ |
|
|
color: #444;
|
|
|
font-size: 24px;
|
|
|
line-height: 1.5;
|
|
|
width: 75px;
|
|
|
width: 86px;
|
|
|
margin-top: 13px;
|
|
|
margin-left: 130px;
|
|
|
margin-left: 115px;
|
|
|
|
|
|
&.highlight {
|
|
|
background: #eee;
|
|
|
}
|
|
|
|
|
|
&:first-child {
|
|
|
margin-left: 34px;
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.num {
|
...
|
...
|
|