diff --git a/pages/blog/bloginfo.vue b/pages/blog/bloginfo.vue index da8a0e2..38d3db7 100644 --- a/pages/blog/bloginfo.vue +++ b/pages/blog/bloginfo.vue @@ -41,6 +41,22 @@ + + + + + + + 项目截图 + + + + + + + + + @@ -428,14 +444,21 @@ } if (this.timer) { - clearInterval(this.timer); - this.timer = null; + clearInterval(this.timer); + this.timer = null; + } } - } - }, 1000); + }, 1000); + }, + // 图片预览 + previewImage(index) { + uni.previewImage({ + urls: this.blogInfo.picList, + current: index + }); + } }, } - }