Authored by ccbikai

修改首页跳转

@@ -89,7 +89,7 @@ @@ -89,7 +89,7 @@
89 }, 89 },
90 methods: { 90 methods: {
91 reload() { 91 reload() {
92 - $('#address').off('click', this.addressClick) 92 + $('#address').off('click', this.addressClick);
93 $('.auth').off('click', this.authClick); 93 $('.auth').off('click', this.authClick);
94 $('.auth').removeClass('no-intercept'); 94 $('.auth').removeClass('no-intercept');
95 95
@@ -103,7 +103,7 @@ @@ -103,7 +103,7 @@
103 $('#address').on('click', this.addressClick); 103 $('#address').on('click', this.addressClick);
104 } else { 104 } else {
105 this.data = { 105 this.data = {
106 - nickName : '登录/注册' 106 + nickName: '登录/注册'
107 }; 107 };
108 108
109 $('.auth').addClass('no-intercept'); 109 $('.auth').addClass('no-intercept');
@@ -120,7 +120,7 @@ @@ -120,7 +120,7 @@
120 const id = $(e.target).attr('id'); 120 const id = $(e.target).attr('id');
121 const href = $(e.target).attr('href'); 121 const href = $(e.target).attr('href');
122 122
123 - yoho.goLogin(null, () => { 123 + yoho.goLogin('', () => {
124 this.reload(); 124 this.reload();
125 125
126 setTimeout(() => { 126 setTimeout(() => {
@@ -147,7 +147,7 @@ @@ -147,7 +147,7 @@
147 window.addEventListener('scroll', () => { 147 window.addEventListener('scroll', () => {
148 let transparent = true; 148 let transparent = true;
149 149
150 - if (window.scrollY > 20 ) { 150 + if (window.scrollY > 20) {
151 transparent = false; 151 transparent = false;
152 } 152 }
153 153
@@ -216,7 +216,8 @@ @@ -216,7 +216,8 @@
216 height: 170px; 216 height: 170px;
217 border-radius: 50%; 217 border-radius: 50%;
218 margin: 0 auto; 218 margin: 0 auto;
219 - /*border: 3px solid #b0b0b0;*/ 219 +
  220 + /* border: 3px solid #b0b0b0; */
220 background: resolve("me/user-icon.png"); 221 background: resolve("me/user-icon.png");
221 background-size: 100%; 222 background-size: 100%;
222 } 223 }