| | |
| | | }); |
| | | }, |
| | | previewImage(index) { |
| | | // uni.previewImage({ |
| | | // current: index, // 设置当前显示图片的链接 |
| | | // urls: this.qsImage.map(s=>s.img), // 需要预览的图片链接列表 |
| | | // loop: false, // 是否开启图片轮播,默认为 false |
| | | // indicator: 'default',// 图片指示器类型,可选值为 "default"、"number"、"pointer",默认为 "default" |
| | | // }); |
| | | uni.previewImage({ |
| | | current: index, // 设置当前显示图片的链接 |
| | | urls: this.qsImage.map(s=>s.img), // 需要预览的图片链接列表 |
| | | loop: false, // 是否开启图片轮播,默认为 false |
| | | indicator: 'default',// 图片指示器类型,可选值为 "default"、"number"、"pointer",默认为 "default" |
| | | }); |
| | | }, |
| | | init() { |
| | | this.$post({ |