Authored by yyq

fix

@@ -31,7 +31,9 @@ export default { @@ -31,7 +31,9 @@ export default {
31 }; 31 };
32 32
33 if (this.data.topicImageUrl) { 33 if (this.data.topicImageUrl) {
34 - style.backgroundImage = `url(//${this.data.topicImageUrl.split('//')[1]})`; 34 + let topicImageUrl = this.data.topicImageUrl.split('?')[0];
  35 +
  36 + style.backgroundImage = `url(//${topicImageUrl.split('//')[1]}?imageView2/2/w/750/h/300/format/jpg/interlace/1)`;
35 } 37 }
36 38
37 return style; 39 return style;
@@ -107,6 +107,11 @@ export default { @@ -107,6 +107,11 @@ export default {
107 } 107 }
108 } 108 }
109 109
  110 + this.scrollEvent = throttle(this.onDounceScroll.bind(this), throttleTime);
  111 + this.colWidthForTwo = Math.floor(this.$el.offsetWidth / 2);
  112 + this.setListMinHeight();
  113 +
  114 + setTimeout(() => {
110 if (!this.yoho.context.userHeadIco) { 115 if (!this.yoho.context.userHeadIco) {
111 this.$sdk.getUser().then(user => { 116 this.$sdk.getUser().then(user => {
112 if (user && user.uid) { 117 if (user && user.uid) {
@@ -114,10 +119,7 @@ export default { @@ -114,10 +119,7 @@ export default {
114 } 119 }
115 }); 120 });
116 } 121 }
117 -  
118 - this.scrollEvent = throttle(this.onDounceScroll.bind(this), throttleTime);  
119 - this.colWidthForTwo = Math.floor(this.$el.offsetWidth / 2);  
120 - this.setListMinHeight(); 122 + }, 200);
121 }, 123 },
122 computed: { 124 computed: {
123 ...mapYohoState(['yoho']), 125 ...mapYohoState(['yoho']),