收藏
回答

微信公众平台开发过程中,wui点击无反应,然后微信内置浏览器整体变为空白

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小程序 Bug Android Android 9 一加5 7.0.4
<html lang="zh-cn"><head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>
      
        一号家园 -
      
            一号家园
      
    </title>
    <meta name="format-detection" content="telephone=no, address=no">
    <meta name="apple-mobile-web-app-capable" content="yes"> <!-- apple devices fullscreen -->
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="keywords" content="微信平台">
    <meta name="description" content="微信公众号平台">
    <link rel="shortcut icon" href="http://home.zzszyi.com/attachment/images/global/s767k7RK77RWCmZF77lftwLndlwsLW.png">
    <script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
    <script type="text/javascript" src="http://home.zzszyi.com/app/resource/js/app/util.js"></script>
    <script src="http://home.zzszyi.com/app/resource/js/require.js"></script>
    <script type="text/javascript" src="http://home.zzszyi.com/app/resource/js/lib/jquery-1.11.1.min.js?v=20170802"></script>
    <script type="text/javascript" src="http://home.zzszyi.com/app/resource/js/lib/mui.min.js?v=20170802"></script>
    <script type="text/javascript" src="http://home.zzszyi.com/app/resource/js/app/common.js?v=20170802"></script>
    <link href="http://home.zzszyi.com/app/resource/css/bootstrap.min.css?v=20170802" rel="stylesheet">
    <link href="http://home.zzszyi.com/app/resource/css/common.min.css?v=20170802" rel="stylesheet">
    <script type="text/javascript">
    if(navigator.appName == 'Microsoft Internet Explorer'){
        if(navigator.userAgent.indexOf("MSIE 5.0")>0 || navigator.userAgent.indexOf("MSIE 6.0")>0 || navigator.userAgent.indexOf("MSIE 7.0")>0) {
            alert('您使用的 IE 浏览器版本过低, 推荐使用 Chrome 浏览器或 IE8 及以上版本浏览器.');
        }
    }
    window.sysinfo = {
        'uniacid': '1',     'acid': '1','openid': 'ohFEJ1qntNhtjShloo3A2F5yKq1A',               'siteroot': 'http://home.zzszyi.com/',
        'siteurl': 'http://home.zzszyi.com/app/index.php?i=1&c=entry&do=repair&m=xfeng_community',
        'attachurl': 'http://home.zzszyi.com/attachment/',
        'attachurl_local': 'http://home.zzszyi.com/attachment/',
        'attachurl_remote': '',
        'MODULE_URL': 'http://home.zzszyi.com/addons/xfeng_community/',     'cookie' : {'pre': 'bb85_'}
    };
    // jssdk config 对象
    jssdkconfig = {"appId":"wx75f3a69bb2f56daa","nonceStr":"njd0D0nJ6xS7uN3S","timestamp":"1560245055","signature":"74bbcf89adc7372480b5840af00fc8a0f12f0482"} || {};
    // 是否启用调试
    jssdkconfig.debug = false;
    jssdkconfig.jsApiList = [
        'checkJsApi',
        'onMenuShareTimeline',
        'onMenuShareAppMessage',
        'onMenuShareQQ',
        'onMenuShareWeibo',
        'hideMenuItems',
        'showMenuItems',
        'hideAllNonBaseMenuItem',
        'showAllNonBaseMenuItem',
        'translateVoice',
        'startRecord',
        'stopRecord',
        'onRecordEnd',
        'playVoice',
        'pauseVoice',
        'stopVoice',
        'uploadVoice',
        'downloadVoice',
        'chooseImage',
        'previewImage',
        'uploadImage',
        'downloadImage',
        'getNetworkType',
        'openLocation',
        'getLocation',
        'hideOptionMenu',
        'showOptionMenu',
        'closeWindow',
        'scanQRCode',
        'chooseWXPay',
        'openProductSpecificView',
        'addCard',
        'chooseCard',
        'openCard',
        'openAddress'
    ];
    </script>
</head>
<body class="mui-android mui-wechat mui-android-6 mui-android-6-0 mui-wechat-6 mui-wechat-6-7 mui-wechat-6-7-3" style="padding-bottom: 0px;">
<div class="container container-fill">
        <script type="text/javascript">
    <!--
        util.message('请先完善资料,再进行下一步操作!', 'http://home.zzszyi.com/app/index.php?i=1&c=entry&regionid=6&op=guide&p=1&memberid=46&do=register&m=xfeng_community', 'success');
    //-->
    </script>
                        <div class="text-center footer" style="margin:10px 0; width:100%; text-align:center; word-break:break-all;">
                                &nbsp;&nbsp;            </div>
                                                                    </div>
    <style>
        h5{color:#555;}
    </style>
        <script type="text/javascript">
    $(function(){
        wx.config(jssdkconfig);
        var $_share = {"title":"\u4e00\u53f7\u5bb6\u56ed","imgUrl":"","desc":"","link":"http:\/\/home.zzszyi.com\/app\/index.php?i=1&c=entry&do=repair&m=xfeng_community&u=40"};
        if(typeof sharedata == 'undefined'){
            sharedata = $_share;
        } else {
            sharedata['title'] = sharedata['title'] || $_share['title'];
            sharedata['desc'] = sharedata['desc'] || $_share['desc'];
            sharedata['link'] = sharedata['link'] || $_share['link'];
            sharedata['imgUrl'] = sharedata['imgUrl'] || $_share['imgUrl'];
        }
        if(sharedata.imgUrl == ''){
            var _share_img = $('body img:eq(0)').attr("src");
            if(_share_img){
                sharedata['imgUrl'] = util.tomedia(_share_img);
            }
        }
        if(sharedata.imgUrl == ""){
            sharedata.imgUrl = window.sysinfo.attachurl + 'images/global/wechat_share.jpg';
        }
        if(sharedata.desc == ''){
            var _share_content = util.removeHTMLTag($('body').html());
            if(typeof _share_content == 'string'){
                sharedata.desc = _share_content.replace($_share['title'], '')
            }
        }
        wx.ready(function () {
            wx.onMenuShareAppMessage(sharedata);
            wx.onMenuShareTimeline(sharedata);
            wx.onMenuShareQQ(sharedata);
            wx.onMenuShareWeibo(sharedata);
        });
                if ($('.js-quickmenu').size() > 0) {
            // var h = $('.js-quickmenu .nav-home').height()+20+'px';
            // $('body').css("padding-bottom",h);
            // $('body .mui-content').css("bottom",h);
        } else if($('.nav-menu-app').size() > 0) {
            var h = $('.nav-menu-app').height()+'px';
            $('body').css("padding-bottom",h);
            $('.mui-content').css('bottom',h);
        } else {
            $('body').css("padding-bottom", "0");
            $('.mui-content').css('bottom', "0");
        }
    });
    </script>
     
        <script type="text/javascript" src="http://home.zzszyi.com/app/index.php?i=1&amp;c=utility&amp;a=visit&amp;do=showjs&amp;m=xfeng_community"></script>
     
 
 
</body><div class="mui-content fadeInUpBig animated mui-backdrop" style="background-color: rgb(239, 239, 244); bottom: 0px;"><div class="mui-content-padded"><div class="mui-message"><div class="mui-message-icon"><span class="mui-msg-success"></span></div><h4 class="title">请先完善资料,再进行下一步操作!</h4><p class="mui-desc"></p><div class="mui-button-area"><a href="http://home.zzszyi.com/app/index.php?i=1&amp;c=entry&amp;regionid=6&amp;op=guide&amp;p=1&amp;memberid=46&amp;do=register&amp;m=xfeng_community" class="mui-btn mui-btn-success mui-btn-block">确定</a></div></div></div></div></html>

在电脑和微信开发者工具中为正常,在安卓上首次打开也是正常,但是当再次点击时。无法点击确定按钮,此时打开微信内任何链接,均为空白

最后一次编辑于  2019-06-11
回答关注问题邀请回答
收藏

2 个回答

  • 社区技术运营专员-娇华
    社区技术运营专员-娇华
    2019-07-02

    你好,麻烦补充下appid、具体的复现步骤

    2019-07-02
    有用
    回复 2
    • null
      null
      2019-07-12
      appid:wx75f3a69bb2f56daa 具体复现步骤:访问http://home.zzszyi.com/app/index.php?i=1&c=entry&do=home&m=xfeng_community&from=groupmessage 点击我的,然后点击充值,点击事件无反应,然后点击刷新,刷新失败,点击左上角关闭后,再在微信内随便打开一个链接,会出现上述情况【此操作目前问题在安卓手机,安卓9.0版本,电脑上不会出现,苹果手机也是正常】
      2019-07-12
      回复
    • null
      null
      2019-07-12
      该问题已经困扰我好久了,求大佬帮忙看看问题到底出在哪
      2019-07-12
      回复
  • null
    null
    2019-06-11

    此问题为微信公众平台问题,不是小程序

    2019-06-11
    有用
    回复
登录 后发表内容