Authored by ccbikai

修改首页跳转

... ... @@ -89,7 +89,7 @@
},
methods: {
reload() {
$('#address').off('click', this.addressClick)
$('#address').off('click', this.addressClick);
$('.auth').off('click', this.authClick);
$('.auth').removeClass('no-intercept');
... ... @@ -103,7 +103,7 @@
$('#address').on('click', this.addressClick);
} else {
this.data = {
nickName : '登录/注册'
nickName: '登录/注册'
};
$('.auth').addClass('no-intercept');
... ... @@ -120,7 +120,7 @@
const id = $(e.target).attr('id');
const href = $(e.target).attr('href');
yoho.goLogin(null, () => {
yoho.goLogin('', () => {
this.reload();
setTimeout(() => {
... ... @@ -147,7 +147,7 @@
window.addEventListener('scroll', () => {
let transparent = true;
if (window.scrollY > 20 ) {
if (window.scrollY > 20) {
transparent = false;
}
... ... @@ -216,7 +216,8 @@
height: 170px;
border-radius: 50%;
margin: 0 auto;
/*border: 3px solid #b0b0b0;*/
/* border: 3px solid #b0b0b0; */
background: resolve("me/user-icon.png");
background-size: 100%;
}
... ...