- 有需求需要对一年以上的订单退款,请问有什么方法?
微信退款只能退1年以内的订单,现在如果需要做到对1年以上的订单进行退款,那该怎么办,有什么好方法吗?
2020-06-16 - Camera中使用cover-view在真机上样式出现问题?
html <camera mode="normal" device-position="back" flash="auto" binderror="error" style="width: 100%; height: {{cameraHeight}};"> <cover-view class="imgBox" wx:if="{{idCard}}"> <cover-view class="box"> <cover-view class="line"></cover-view> </cover-view> </cover-view> </camera> css .imgBox { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; position: relative; } .box { width: 540rpx; height: 856rpx; border: 1rpx solid #2CC8E1; border-radius: 30rpx; position: relative; overflow: hidden; } .box .line { position: absolute; width: 100rpx; height: 856rpx; background: linear-gradient(to left, rgba(44,200,225,0), rgba(44,200,225,.4)); -webkit-animation: 2s linear 0s infinite scan; animation: 2s linear 0s infinite scan; } @keyframes scan { from { right: -100rpx; } to { right: 600rpx;} } 想要实现身份证扫描的动画效果 [图片] 模拟器中效果正常,真机中没有动画,而且扫描线的样式也没有。
2020-06-13 - 调用wx.chooseImage之后进行ocr身份证识别出错,错误码-2是什么原因?
wx.chooseImage({ count:1, success(res) { let url = res.tempFilePaths[0]; wx.serviceMarket.invokeService({ service: 'wx79ac3de8be320b71', api: 'OcrAllInOne', data: { img_url: url, data_type: 3, ocr_type: 1, }, }).then(res => { console.log(res); }).catch(err => console.log(err)) } }) 报错: Error: invokeService:fail operateWXData:fail (err_code -2) at VM4738 WAService.js:2 at VM4738 WAService.js:2 at Object.throw (VM4738 WAService.js:2) at o (VM4738 WAService.js:2)
2020-03-16