- camera组件报错originCtror (appServiceSDKScriptError)?
<camera mode="scanCode" frame-size='large' resolution="high" flash="{{flashBtn}}" class="scan-view" bindscancode='scancode' binderror="error"> SystemError (appServiceSDKScriptError) originCtor is not a constructor TypeError: originCtor is not a constructor at new LazyClass (<anonymous>:223:16) at W1 (WAServiceMainContext.js:1:1105857) at new $3 (WAServiceMainContext.js:1:1111713) at new t2 (WAServiceMainContext.js:1:1119295) at Object.o6 (WAServiceMainContext.js:1:1133533) at Object.s6 (WAServiceMainContext.js:1:1133716) at I (WAServiceMainContext.js:1:640504) at Object.d (WAServiceMainContext.js:1:642779) at Nt.emit (WAServiceMainContext.js:1:410839) at Object.emit (WAServiceMainContext.js:1:415983) 15:44 Error during evaluating file "pages/scan/index.js":15:44 Cannot set properties of undefined (setting 'src') 15:44 TypeError: Cannot set properties of undefined (setting 'src') at define.isPage (https://usr/pages/scan/index.appservice.js:53:364) at https://lib/WASubContext.js:1:486089 at f.runWith (https://lib/WASubContext.js:1:475729) at q (https://lib/WASubContext.js:1:486067) at https://lib/WASubContext.js:1:478097 at Array.forEach (<anonymous>) at x.flushQueue (https://lib/WASubContext.js:1:478075) at Module.i (https://lib/WASubContext.js:1:153200) at https://lib/WASubContext.js:1:279609 at https://lib/WASubContext.js:1:412520 苹果手机不会出现问题,谷歌pixel 8手机微信最新版会出问题
2024-01-04 - 微信小程序自定义扫码界面,背景是半透明,只有这个小框能够扫码,这种是如何实现的?
[图片] 由于包装上有大量一维码,全屏幕扫描会扫到很多码,把扫码界面限制在小框中如何实现
2023-08-29