代码如下: <channel-live feed-id="export/UzM7mN4lx" promoter_share_link="IkdDI3MA" finder-user-name="sphtI" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}"> </channel-live> [图片] 但是显示为空白 [图片]
使用推客接口时如何正常显示channel-live?结案了,找了个大佬一起排查,最后是样式的问题。。。。 =========================================== 原贴: 通过推客接口获取到直播列表后,把 export_id 和 promoter_share_link 传入 组件<channel-live>,只能显示白色块,无法正常显示,也没有其他提示。 https://developers.weixin.qq.com/doc/store/leagueheadsupplier/API/promotion/content/live/get_live_record_list.html // 以内嵌直播组件方式调用 PS:已经排除主体不一致的情况: 虽然<channel-live>普通使用时有主体限制: https://developers.weixin.qq.com/miniprogram/dev/component/channel-live.html [图片] 但是在【微信小店优选联盟带货机构「推客带货功能」使用指南】已经说明主体可以不一致 https://store.weixin.qq.com/chengzhang/webdoc/wiki/7129/eaecf8415ca86666/growth_center_manual_for_promoter?bpath=%252Fstudy%252Fmanual%252Fpromoter%252F1&source=3&sourceType=1 [图片]
03-29