- 小程序中使用了自定义菜单,用户使用iphone14时为什么不展示?
不展示的截图: [图片] js代码是这个: Component({ data: { selected: 0, color: "#000000", roleId: '', selectedColor: "#1396DB", allList: [{ user: [ { pagePath: "/pages/index/index", iconPath: "/images/pf.png", selectedIconPath: "/images/pf-s.png", text: "我要批发" }, { pagePath: "/pages/goods/batchOil/batchOil", iconPath: "/images/pf.png", selectedIconPath: "/images/pf-s.png", text: "批发通告" }, { pagePath: "/pages/member/index/index", iconPath: "/images/myinfo.png", selectedIconPath: "/images/myinfo-s.png", text: "我的" } ], investor: [ { pagePath: "/pages/trade/day/day", iconPath: "/images/pf.png", selectedIconPath: "/images/pf-s.png", text: "本月收益" }, { pagePath: "/pages/trade/month/month", iconPath: "/images/pf.png", selectedIconPath: "/images/pf-s.png", text: "历史收益" }, { pagePath: "/pages/member/index/index", iconPath: "/images/myinfo.png", selectedIconPath: "/images/myinfo-s.png", text: "我的" } ], }], list: [] }, attached() { const userType = wx.getStorageSync('userType') if(userType == 1){ this.setData({ list: this.data.allList[0].user }) }else if(userType == 2){ this.setData({ list: this.data.allList[0].investor }) } }, methods: { switchTab(e) { const data = e.currentTarget.dataset const url = data.path wx.switchTab({ url }) this.setData({ selected: data.index }) } }, }) wxml代码是这个: <cover-view class="tab-bar"> <cover-view class="tab-bar-border"></cover-view> <cover-view wx:for="{{list}}" wx:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab"> <cover-image class="cover-image" src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></cover-image> <cover-view class="cover-view" style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</cover-view> </cover-view> </cover-view>
2023-04-16 - 关于微信请求分账的分账接收方的问题?
调用境内服务商请求单次分账接口,需要传递分账接收方,然后在分账接收方中有一个分账接收方帐号(account),如果我传递的分账接收方类型是PERSONAL_SUB_OPENID,那么此时我传递的account可以是微信用户在服务商下任意一个子商户的openid么?
2020-11-26 - 服务商openid换取签约的普通商户中的openid?
一个服务商A,授权了一个普通商户B;此时有一个用户a在服务商A为主体的小程序中注册,后台获取到了openid。此时有方式能换渠到用户a在以普通商户B为主体的小程序中的openid么?或者有没有其它的什么办法。
2020-10-22