uniapp预览图片详解
一、预览图片的基本用法在uniapp中,我们可以使用uni.previewImage()API对图片进行预览,具体使用方法如下:
uni.previewImage({
urls: ['https://example.com/image1.jpg', 'https://example.com/image2.jpg'],
current: 0
});
其中,urls参数为一个字符串数组,表示需要预览的图片数组...
2023-09-27 浏览(9888)
uni-app实现app更新,下载更新新版本
在index.vue中的onload方法里面或者app.vue中的onLaunch中使用如下部分即可:
update() {
var _this = this;
uni.request({
url: `${this.$store.apiBaseUrl}/users/versions`, //请求后台接口
method: 'POST',
success: result => {
if (result.data.code == 1) {...
2022-02-16 浏览(10290)
排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2026TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:
50010702506256
50010702506256
欢迎加群交流技术