最新提问
  • 全部
  • 文章
  • 问答

  • webview中不能获取所在小程序的APPID?

    如题,很多公司都会有多个小程序,同一个页面有嵌套在多个小程序的需求,可能会有些特殊处理,但是难以区分不同的小程序。

  • 按钮宽度无法控制?

    <view wx:if="{{isHide}}"> <view wx:if="{{canIUse}}" > <view class='header'> <image src='/images/logo.jpg'></image> </view> <text class="title">test</text> <button class='bottom' type='primary' open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="bindGetUserInfo"> 授权获取头像和昵称 </button> </view> <view wx:else>请升级微信版本</view> </view> <view wx:else> </view> /**index.wxss**/ .header { margin: 90rpx 0rpx 0rpx 50rpx; text-align: center; width: 650rpx; height: 260rpx; } .header image { width: 260rpx; height: 260rpx; border-radius: 130rpx; } .title { display: flex; margin-top: 30rpx; justify-content: center; font-weight: lighter; font-size: 35rpx; } .bottom { display: flex; align-items:center; justify-content: center; margin-top: 200rpx; width: 90%; border-radius: 10rpx; font-weight: normal; font-size: 30rpx; line-height: 50rpx; } 不知道为什么这么写 按钮宽度为啥控制不了呢 mate9上测试的。

  • 小程序客服 进入后提示 小程序名称为您服务 这句话是否可以更改?

    小程序客服,进入后提示”小程序名称“为您服务,这句话可以更改吗

  • 微信开发者注册个人账号,必须输入企业信息?企业信息输入完成后,总是显示身份证号绑定账号超过xXX

    自己微信注册开发者账号,不能注册个人开发者账号,必须注册企业账号吗?设置为企业账号后,提示自己身份证绑定账号超过XX个,这个是自己第一个绑定账号,之前自己有注册过,账号长时间没登陆被冻结???

  • 线上小程序报错,说某个JS is not defined

    thirdScriptError Error: module "3060B3223D571FDF5606DB25F8ACB8E6.js" is not defined Error: module "3060B3223D571FDF5606DB25F8ACB8E6.js" is not defined at require (https://lib/WASubContext.js:1:1460378) at https://lib/WASubContext.js:1:1460129 at https://usr//shelfPages/app-service.js:1425:20 at require (https://lib/WASubContext.js:1:1460519) at https://usr//shelfPages/app-service.js:1426:10 以上是一个错误提示,还有另一个错误提示: thirdScriptError Error: module "9CC972C63D571FDFFAAF1AC1A57D5E92.js" is not defined Error: module "9CC972C63D571FDFFAAF1AC1A57D5E92.js" is not defined at require (https://lib/WASubContext.js:1:1460378) at https://lib/WASubContext.js:1:1460129 at https://usr//visitPages/app-service.js:3017:31 at require (https://lib/WASubContext.js:1:1460519) at https://usr//visitPages/app-service.js:3018:10 上面这两个错误,在我公司内部所有同事手机上,微信版本上同时报错,怀疑是在打包的过程中某个JS丢失了,我们紧急回退了版本。希望官方能给个答复是咋么回事

  • 急!拜托!使用微信开发工具http调用 获取登录二维码并写入到指定json文件中时,获取二维码失败?

    使用微信开发工具http调用 获取登录二维码并写入到指定json文件中时,获取二维码失败 [图片] [图片]

  • createIntersectionObserver无法监听父组件区域?

    需求场景: 观察子组件在父组件是否可视,父组件只是页面的一个区域,并非是全屏的。现在需要知道子组件在父组件的相交状态 父组件 ``` <view class="f"> <view class="b1"></view> <observer></observer> </view> ``` observer 组件 ``` <view class="b2"></view> ``` 同样都是观察子组件在父组件的情况,如果观察的行为写在父组件的话,这个b1是可以被触发的,可以看到b1与父组件相交 ``` // 父组件 createIntersectionObserver.relativeTo('.f').observer('.b1', () =>{ console.log(aaaa)}) ``` 但是在子组件去完成观察监听的话,这个行为就无法被触发了 ``` // 子组件 createIntersectionObserver.relativeTo('.f').observer('.b2', () =>{ console.log(aaaa)}) ``` 是因为什么原因造成的呢,子组件不允许relativeTo父组件的元素吗?还是只能用relativeToViewport? 如果要做一个图片lazy-load的话,好像就没的解决了,我们目前的解决办法是在父组件对data做一个forEach做若干个监听, 但是感觉这样很不合理,希望交给子组件来做这个监听的行为 代码片段在这里: https://developers.weixin.qq.com/s/wkoNcYmG7wco

  • tabBar 图片路径正确,开发工具提示找不到图片。

    设置tabBar 图片路径没问题,却提示找不到图片。 [图片]

  • IOS和安卓的全局变量不同步

    两个tabBar页面需要传值一个全局变量,在A页面赋值前和赋值后,都可以打印出来,在赋值成功后会跳转目标tabBar页面,在跳转目标tabBar后,安卓可以在目标页面获取到变量,苹果取不到变量

  • 小程序接入腾讯视频插件,可以不再补充选择文娱-视频类目需要的资质吗?

    这边小程序接入腾讯视频插件,是不是 不需要再补充选择文娱-视频类目需要的资质了吗 求解答下 谢谢

  • 小程序迁移主体,如果有双方法人代表微信扫码验证,是否还需要提交公证函?

    小程序迁移主体,如果有双方法人代表微信扫码验证,是否还需要提交公证函?

  • 调用上传图片接口wx.chooseImage(OBJECT),能不能出现裁剪框对不规则图片进行裁剪?

    调用上传图片接口wx.chooseImage(OBJECT),能不能出现裁剪框对不规则图片进行裁剪,需要这个功能

  • wx.switchTab 跳转后 页面不刷新 ?

    [代码]wx.switchTab({ url: '/index'[代码] [代码]})[代码] [代码]跳转页面不刷新[代码]

  • 时间选择器可以去除法定节假日吗?

    就是需要做一个预约的功能,预约的时间不能是法定节假日,就想能不能去掉法定节假日

  • 公众号jssdk,调用wx.getLocation进入了fail,报错原因在文档中查不到?

    公众号jssdk,调用wx.getLocation进入了fail ,其中报错是{"errMsg":"getLocation:location permission"} 。请问是什么原因呢?文档中没有提示。一下是debug:true时提示的截图[图片][图片]

  • rich-text怎么处理HTML中的class?

    rich-text可以解读html内容,但是好像不能解读HTML中的class样式,我的样式放在了项目中,不能用wxparse,因为ES6转ES5会导致promise报错

  • 项目文件某个删除后 开发工具 无法推送 Git ? push failed

    [图片]原因:项目中用不到的文件删除后,此时被删的文件被标记为 D 然后再次推送取消删除的被标记为D的文件,可以推送到本地分支,但是无法推送到远程仓库分支

  • 一个bug

    https://developers.weixin.qq.com/miniprogram/analysis/#自定义分析 这2条解释,有什么不一样吗? [图片]

  • 在后台调用云函数查询云数据库数据时报错,有大佬知道为什么么吗?

    【请求参数】:{"env":null,"query":"db.collection('xx_goods').where({id:225090}).limit(20).skip(0).get()"} 【错误信息】:{"errcode":-501005,"errmsg":" hint: [7XT4wA05952162]"} me.chanjar.weixin.common.error.WxErrorException: {"errcode":-501005,"errmsg":" hint: [7XT4wA05952162]"} at cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl.executeInternal(WxMaServiceImpl.java:275) at cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl.execute(WxMaServiceImpl.java:216) at cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl.post(WxMaServiceImpl.java:205) at cn.binarywang.wx.miniapp.api.impl.WxMaCloudDbServiceImpl.query(WxMaCloudDbServiceImpl.java:175) at com.sunego.commerce.modular.regular.controller.RegularController.regularGoodsList(RegularController.java:283) at com.sunego.commerce.modular.regular.controller.RegularController$$FastClassBySpringCGLIB$$fe8a016f.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:747) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) at com.sunego.commerce.core.intercept.SessionHolderInterceptor.sessionKit(SessionHolderInterceptor.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) at com.sunego.commerce.modular.regular.controller.RegularController$$EnhancerBySpringCGLIB$$1bd35ab2.regularGoodsList(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.sunego.commerce.core.xss.XssFilter.doFilter(XssFilter.java:32) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:146) at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: me.chanjar.weixin.common.error.WxErrorException: {"errcode":-501005,"errmsg":" hint: [7XT4wA05952162]"} at me.chanjar.weixin.common.util.http.apache.ApacheSimplePostRequestExecutor.execute(ApacheSimplePostRequestExecutor.java:52) at me.chanjar.weixin.common.util.http.apache.ApacheSimplePostRequestExecutor.execute(ApacheSimplePostRequestExecutor.java:20) at cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl.executeInternal(WxMaServiceImpl.java:255)

  • 三方平台小程序11月14号提交审核,以前第二天会审核95%以上,但这次过几天才审核90多家,为什么?

    wx144ec083135e6ec4 这个三方平台小程序11月14号晚上9点左右上传代码生成模版,于当晚开始提交旗下授权的小程序审核,共提交了700多家审核的小程序,以前第二天会审核过95%以上(不管审核通过还是不通过),但这次已这几天了才审核90多家,为什么呢?

运营专区
运营公告、违规公示与常见问题。
更多