Explorar o código

Merge branch 'yuan' of panhui/lasuo_nft_front into dev

yuanyuan %!s(int64=3) %!d(string=hai) anos
pai
achega
dbbed66bf6
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/views/Home.vue

+ 4 - 1
src/views/Home.vue

@@ -15,7 +15,7 @@
                         <van-image
                             width="100%"
                             height="calc(41vw - 13px)"
-                            radius = '18'
+                            radius="18"
                             :src="getImg(item.pic)"
                             fit="cover"
                             @click="goNext(item)"
@@ -321,6 +321,9 @@ export default {
     activated() {
         this.$nextTick(() => {
             this.changeScroll(this.scrollTop);
+            setTimeout(() => {
+                this.changeScroll(this.scrollTop + 1);
+            }, 100);
         });
     },
     beforeRouteLeave(to, from, next) {