cover-view不能覆盖 web-view web-view: [图片] cover-view:[图片]
webview中有cover-view,动态改变cover-view里面的变量无法 更新视图?小程序中webview中有cover-view。动态改变cover-view里面的变量无法 更新视图。在ios手机没有问题,在安卓手机里面视图不更新。 <web-view src="{{path}}"> <cover-view class="cheerTransmitShare"> <cover-view class="share_item" bindtap="praiseDetail"> <cover-image wx:if="{{praiseStatus==='0'}}" src="/images/jnis/cheerActive.png"></cover-image> <cover-image wx:else src="/images/jnis/cheer.png"></cover-image> <cover-view>{{praiseCount}}</cover-view> </cover-view> <cover-view class="share_item" bindtap="favoriteDetail"> <cover-image wx:if="{{favoriteStatus==='0'}}" src="/images/jnis/collectionActive.png"></cover-image> <cover-image wx:else src="/images/jnis/collection.png"></cover-image> <cover-view>{{favoriteCount}}</cover-view> </cover-view> <cover-view class="share_btn_cover share_item share_btn"> <button hover-class="button-hover" open-type="share" bindtap="forwardDetail" > <cover-view class="share_box" style="width:117rpx;height:50rpx"> <cover-image class="share" src="/images/jnis/share.png"></cover-image> </cover-view> </button> </cover-view> </cover-view > </web-view>
2022-04-15在手机端还是PC端的小程序?
小程序中使用web-view,有时要多次点击才会有效?自己项目中,用到了webview去跳转到pc的某个界面,有时候点击webview的返回按钮要点击好多下 才能返回到我的小程序中,这该怎么办? ———————————————— 版权声明:本文为CSDN博主「this指向谁」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/qq_43258005/article/details/105026087
2022-04-15你好,请移步企微官方讨论区:https://developer.work.weixin.qq.com/community/question
发送欢迎语时提示pic_media_id 字段长度过长如何解决?{"attachments":[{"miniprogram":{"appid":"wxbc23fc0c8c2404f8","pic_media_id":"WWCISP_fyHwrbvv9PqZRQCo1g5HSidswEv9ludcyBAWC_hbNpgcxW_3UOagcCNHGghc-yCNed-w7IT-9tkoEU_ZrwoEfiqDdjNSMM-Mk98Iz9Qwiy7qBB5wLvlW2hnlXb1B_6v6dGGsxCwjRjVCp3nvXYRb6b_PgHnnF-2_a0snLH3-vSIViJki13pIj4r3jOMha4tlng_5TOQOxOTeATSdAlbGwcP9YlMT105kM0D4H4aIAVA9tLtDM6ev09QQZ8_Z1Ydrkw44VIehCsuJFjmQL9H1GJhg5Pb71Y3zguWQcSNQZl8","page":"pages/listen/listen","title":"领红包啦"},"msgtype":"miniprogram"}],"welcome_code":"YA7-8FzLmMA0OixvTY63u8LtLgQjdoQKDYgxOLCPKzo","text":{"content":"你好呀~!!!!"}}加客户回调时发送欢迎语(包含小程序),以上为请求参数,pic_media_id 为即时上传素材返回的media_id,为什么提示pic_media_id 字段长度过长呢?该media作为发表朋友圈的附件id是可以成功创建朋友圈的 {"errcode":40058,"errmsg":"attachments.miniprogram.pic_media_id exceed max length 128. invalid Request Parameter, hint: [1649947976577491258411348], from ip: 113.70.103.82, more info at https://open.work.weixin.qq.com/devtool/query?e=40058"}
2022-04-15你好,请移步企微官方讨论区:https://developer.work.weixin.qq.com/community/question
发送欢迎语时提示pic_media_id 字段长度过长是什么原因?{"attachments":[{"miniprogram":{"appid":"wxbc23fc0c8c2404f8","pic_media_id":"WWCISP_fyHwrbvv9PqZRQCo1g5HSidswEv9ludcyBAWC_hbNpgcxW_3UOagcCNHGghc-yCNed-w7IT-9tkoEU_ZrwoEfiqDdjNSMM-Mk98Iz9Qwiy7qBB5wLvlW2hnlXb1B_6v6dGGsxCwjRjVCp3nvXYRb6b_PgHnnF-2_a0snLH3-vSIViJki13pIj4r3jOMha4tlng_5TOQOxOTeATSdAlbGwcP9YlMT105kM0D4H4aIAVA9tLtDM6ev09QQZ8_Z1Ydrkw44VIehCsuJFjmQL9H1GJhg5Pb71Y3zguWQcSNQZl8","page":"pages/listen/listen","title":"领红包啦"},"msgtype":"miniprogram"}],"welcome_code":"YA7-8FzLmMA0OixvTY63u8LtLgQjdoQKDYgxOLCPKzo","text":{"content":"你好呀~!!!!哈哈哈哈哈哈"}}加客户回调时发送欢迎语(包含小程序),以上为请求参数,pic_media_id 为即时上传素材返回的media_id,为什么提示pic_media_id 字段长度过长呢?该media作为发表朋友圈的附件id是可以成功创建朋友圈的 {"errcode":40058,"errmsg":"attachments.miniprogram.pic_media_id exceed max length 128. invalid Request Parameter, hint: [1649947976577491258411348], from ip: 113.70.103.82, more info at https://open.work.weixin.qq.com/devtool/query?e=40058"}
2022-04-15参考文档 image show-menu-by-longpress属性 https://developers.weixin.qq.com/miniprogram/dev/component/image.html [图片]
微信小程序 预览图片 长按识别二维码,有人遇到过吗,没有识别二维码的选项?[图片][图片] [图片]
2022-04-15你好,请移步企微官方讨论区:https://developer.work.weixin.qq.com/community/question
如何解决getCurExternalContact回调在windows客户端有时不触发的问题?// SDK // https://res.wx.qq.com/wwopen/js/jsapi/jweixin-1.0.0.js // https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js window.wx.invoke('getCurExternalContact', {}, (res) => { // 在windows客户端,有可能不会被触发 if (res.err_msg === 'getCurExternalContact:ok') { console.log('获取外部联系人信息成功', res); } else { console.log('获取外部联系人信息失败'); } });
2022-04-15你好,麻烦复现问题的时候,在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点(具体到分钟)
作为外围设备发送广播startAdvertising时onBeaconUpdate回调结果为0?作为外围设备发送广播,可以成功发送,如下代码: startAdvertising() { this.server.startAdvertising({ advertiseRequest: { connectable: false, beacon:{ uuid:uuid1, major:3322, minor:222 } }, powerLevel: 'medium' }).then(res => { console.log('startAdvertising 广播成功', res) }, res => { console.log("fail: ", res) }) }, 但是在搜索设备的时候,可以监听到广播,但是返回的数组长度为0: wx.onBeaconUpdate((res)=> { console.log('扫描到ibeacon设备'+JSON.stringify(res)); if (res && res.beacons && res.beacons.length > 0) { that.stopSearchBeacon(); console.log(bleObj.uuid) } }); onBeaconUpdate方法可以成功回调,但是res.beacons的长度为0 [图片] 代码片段:https://developers.weixin.qq.com/s/b7CrPumX7ryZ
2022-04-15你好,请移步企微官方讨论区:https://developer.work.weixin.qq.com/community/question
发送欢迎语时提示pic_media_id 字段长度过长?{"attachments":[{"miniprogram":{"appid":"wxbc23fc0c8c2404f8","pic_media_id":"WWCISP_fyHwrbvv9PqZRQCo1g5HSidswEv9ludcyBAWC_hbNpgcxW_3UOagcCNHGghc-yCNed-w7IT-9tkoEU_ZrwoEfiqDdjNSMM-Mk98Iz9Qwiy7qBB5wLvlW2hnlXb1B_6v6dGGsxCwjRjVCp3nvXYRb6b_PgHnnF-2_a0snLH3-vSIViJki13pIj4r3jOMha4tlng_5TOQOxOTeATSdAlbGwcP9YlMT105kM0D4H4aIAVA9tLtDM6ev09QQZ8_Z1Ydrkw44VIehCsuJFjmQL9H1GJhg5Pb71Y3zguWQcSNQZl8","page":"pages/listen/listen","title":"领红包啦"},"msgtype":"miniprogram"}],"welcome_code":"YA7-8FzLmMA0OixvTY63u8LtLgQjdoQKDYgxOLCPKzo","text":{"content":"你好呀~!!!!哈哈哈哈哈哈"}}加客户回调时发送欢迎语(包含小程序),以上为请求参数,pic_media_id 为即时上传素材返回的media_id,为什么提示pic_media_id 字段长度过长呢?该media作为发表朋友圈的附件id是可以成功创建朋友圈的 {"errcode":40058,"errmsg":"attachments.miniprogram.pic_media_id exceed max length 128. invalid Request Parameter, hint: [1649947976577491258411348], from ip: 113.70.103.82, more info at https://open.work.weixin.qq.com/devtool/query?e=40058"}
2022-04-15https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html 参考下文档,看下是否参数填写错误。 [图片]
wx.openlocation为什么每次打开界面定位不准确?[图片][图片][图片]
2022-04-15https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/safe-password.html 试下这个能力
input输入框 密码明文输入时安卓如何可以调起系统自带安全键盘?password为true是可以调起安全键盘,需要明文时将password变为text,此时如何才能继续调起系统的安全键盘?
2022-04-15