公众号wx-open-subscribe开放标签按钮,为什么个别机型测试环境正常,线上环境不显示?
公众号开放标签:wx-open-subscribe
机型/版本:iphone12,IOS14.7
微信版本:8.0.13
代码:
<div id="wxsub"></div>
var wxsubHtml = '<wx-open-subscribe id="subscribe-btn" template="' + templateId + '" style="display:inline-block;width:auto;">\
<template type="text/wxtag-template" slot="style"><style> .subscribe-btn {background: #F40000;border-radius: 100px;border:0;color: #fff;padding: 8px 44px 8px 30px; margin:0 auto;display: block;font-size: 16px;line-height: 21px;cursor: pointer;position:relative;-webkit-tap-highlight-color:transparent;outline:none;}.subscribe-btn::after{content: "";display: inline-block;width: 8px;height: 8px;border: 2px solid #fff;border-top: 0;border-left: 0;transform: rotate(-45deg);right: 30px;top: 50%;position: absolute;margin-top: -3px;}</style></template>\
<template type="text/wxtag-template"><button class="subscribe-btn">'+ subscibeButtonText + '</button></template></wx-open-subscribe>'
$("#wxsub").html(wxsubHtml);