- ios video如何覆盖?
ios video如何覆盖?swiper包裹的video组件,第一次进去可以覆盖,滑动到第二个视频的时候就没有办法覆盖了。 [图片]
2022-04-07 - ios端 swiper组件包video视频,仿抖音,标签无法覆盖视频?
ios端 swiper组件包video视频,仿抖音,第一次进入视频标签可以覆盖视频,但是在滑动视频到第二个页面的时候,标签就无法覆盖视频了,是什么原因呢?android端可以完全展示。 [图片]
2022-04-07 - onShareAppMessage 怎么判断是否分享成功呢?
success:function 方法没有办法监听分享成功事件呢, 想记录一下文章分享的次数 // 自定义分享 onShareAppMessage() { let _this = this; _this.share(); return { title: this.articleInfo.title, path: '/pagesA/articleDetail/articleDetail?id=' + this.articleInfo.id, imageUrl: this.articleInfo.image, success:function(res) { _this.share(); }, fail: function () { uni.showToast({ title: '分享失败', icon: 'none', duration: 2000 }); }, complete: function (c) { }, } },
2022-03-18 - 微信小程序,主体变更以后,用户的openid是否会发生改变?
微信小程序,主体变更以后,用户的openid是否会发生改变? 因公司业务发展,将小程序的主体信息,由A更改为B,用户的openid是否会发生变化,程序是否需要在做什么处理?
2022-03-03 - uni.openSetting在ios端会提示“xx未使用你的任何信息”?
uni.openSetting 在 ios 端会提示“xx未使用你的任何信息”?为什么不能像android一样打开设置地理位置那个页面呢? [图片] uni.getSetting({ success: function(res) { var statu = res.authSetting; console.log(statu); if (!statu['scope.userLocation']) { uni.showModal({ title: '是否授权当前位置', content: '需要获取您的地理位置,请确认授权,否则定位功能将无法使用', success(tip) { if (tip.confirm) { uni.openSetting({ success: function(data) { if (data.authSetting["scope.userLocation"] === true) { uni.showToast({ title: '授权成功', icon: 'success', duration: 1000 }) //授权成功之后,再调用chooseLocation选择地方 setTimeout(function() { uni.chooseLocation({ success: (res) => { _this.hasLocation = true; _this.lng = res.longitude; _this.lat = res.latitude; _this.address = res.address; _this.address_name = res.name; } }) }, 1000) } } }) } else { uni.showToast({ title: '授权失败', icon: 'none', duration: 1000 }) } } }) } } })
2022-02-28 - wx.openDocument(Object object) 如何修改打开文件名称?
wx.openDocument(Object object) 如何修改打开文件名称?
2022-02-15 - web-view如何设置大小,且web-view如何被覆盖?
web-view如何设置大小,且web-view如何被覆盖?cover-view覆盖不到呢。 <view class="container"> <view class="page-body"> <view class="page-section page-section-gap"> <web-view :src="webUrl" class="webViewBox"> <cover-view class="cover-view"> <cover-view class="container"> <cover-view class="flex-wrp" style="flex-direction:row;"> <cover-view class="flex-item demo-text-1"></cover-view> <cover-view class="flex-item demo-text-2"></cover-view> <cover-view class="flex-item demo-text-3"></cover-view> </cover-view> </cover-view> </cover-view> </web-view> </view> </view> </view>
2022-02-15