- 插件跳转到小程序的页面使用wx.navigateTo为什么跳不过去?
求官方大大给一下解答?很急谢谢了 插件跳转到小程序的页面使用wx.navigateTo为什么跳不过去? 现在小程序的appid和插件的appid使用的是同一个appid,使用appid发布了插件后影响小程序的使用吗?
2020-12-07 - 小程序插件如何跳转小程序的页面?
小程序插件如何跳转小程序的页面?
2020-12-03 - 插件开发和普通小程序中模块解析方式是否不同?
/** login.js 这是请求模块 使用单例模式处理 */ import HTTP from './http'; export default class Login { constructor() { // 实例化请求模块 this.abcHttp = new HTTP({ serverType: 'abc' }); this.bcdHttp = new HTTP({ serverType: 'bcd' }); } static instance; /** * [getInstance 获取单例] * @method getInstance * @return {object} */ static getInstance() { if (false === this.instance instanceof this) { this.instance = new this; } return this.instance; } // .... 具体的方法 问题出在这里 这里调用了http模块的方法 http中的这个方法也调用了当前模块的方法 loginAfter(){ this.abcHttp.post().then( res => { ... }) } // 被http模块调用 getToken() { } } /** http请求模块 http.js */ import loginManager from './loginManager.js' export default class http{ constructor(params) { this.serverType = params.serverType || 'abc'; } post() { // 这里就会报login是undefined 为什么小程序就是好的 在 插件中就不行了 const login = loginManager.getInstance(); login.getToken() wx.requset({ }) } }
2020-12-02 - 企业微信wx.openSetting 为什么打开以后授权页面的信息为空?
企业微信wx.openSetting 为什么打开以后授权页面的信息为空,请企业微信的官方大大帮忙解答一下
2020-07-21 - 企业微信小程序 为什么 map组件的层级 在安卓里面那么高?
我写了一个浮层用来做操作的 , 现在map组件层级太高了 我浮层层级写了200都没有效果,只有在安卓手机上才有 ios和真机调试都没有问题 ,求企业微信大大给解答
2020-07-09 - 企业微信小程序wx.previewImage base64格式图片预览黑屏?
企业微信小程序wx.previewImage 开发者工具中可以展示base64格式图片 真机调试黑屏 这是为什么啊
2020-07-01 - 企业微信小程序webview 打开h5 后无法跳回小程序页面?
企业微信小程序webview 打开h5 后无法跳回小程序页面,跪求官方大大解惑
2020-06-30 - 点击预览时一个样式上面的报错,是什么原因?
[图片]
2020-06-08 - 小程序分包地址在app.json 删除后还能跳转?
小程序分包地址在app.json 删除后,使用wx.navigateTo 还能跳转
2020-05-22 - 使用自定义tabbar上下滑动页面时会tabbar跑下去 ipx6机型?
[图片] 很急求官方给回应 wxml: <cover-view class="tab-bar"> <cover-view class="tab-bar-border"></cover-view> <block wx:for="{{list}}" wx:key="index"> <cover-view wx:if="{{index<3}}" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab"> <cover-image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></cover-image> <cover-view style="color: {{selected === index ? selectedColor : color}}"> {{item.text}} </cover-view> </cover-view> <block wx:else> <cover-view wx:if="{{hasUserInfo}}" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab"> <cover-image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></cover-image> <cover-view style="color: {{selected === index ? selectedColor : color}}"> {{item.text}} </cover-view> </cover-view> <button wx:else open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo" hover-class="none" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}"> <cover-image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></cover-image> <cover-view style="color: {{selected === index ? selectedColor : color}}"> {{item.text}} </cover-view> </button> </block> </block> </cover-view> css: .tab-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 48px; background: #181b24; padding: 4rpx 0 4rpx 0; display: flex; padding-bottom: env(safe-area-inset-bottom); } .tab-bar-border { background-color: rgba(0, 0, 0, 0.33); position: absolute; left: 0; top: 0; width: 100%; height: 1px; transform: scaleY(0.5); } .tab-bar-item { flex: 1; text-align: center; display: flex; justify-content: center; align-items: center; flex-direction: column; } .tab-bar-item cover-image { width: 27px; height: 27px; } .tab-bar-item cover-view { font-size: 10px; } button wx-cover-view { line-height: 1.2; } /* 去除button默认样式 */ button { font-size: 0; background-color: transparent; border: none; padding: 0; margin: 0 0 0; border-radius: 0; } button::after { border: none; }
2020-03-18