清爽搜索盒子 苹果回应微信关闭赞赏通知:所有开发者规则一致 </h1> <!--头部-设置--> <!--头部-设置-end--> <span class="single-post-tag">发布者:<a href="/people/%E4%B8%80%E9%A2%97%E6%9F%A0%E6%AA%AC%E5%B0%8F%E5%A7%90" class=""> 一颗柠檬 </a>  来源:<a href="http://tech.sina.com.cn/mobile/n/n/2017-04-20/doc-ifyepsch1830968.shtml" target="_blank">新浪科技</a>  <span class="time-ico">2017/04/20 08:41</span></span> </div> <!--正文-头部-end--> <!--正文-内容--> <div class="single-post-article article-wiki"> <p>  4月20日凌晨<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E6%B6%88%E6%81%AF">消息</a>,针对今日<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%BE%AE%E4%BF%A1">微信</a>关闭<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/IOS">IOS</a>版本赞赏功能,<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%8B%B9%E6%9E%9C%E5%85%AC%E5%8F%B8">苹果公司</a>刚刚向<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E6%96%B0%E6%B5%AA%E7%A7%91%E6%8A%80">新浪科技</a>发来针对此事的回应,称微信本可以选择<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/App">App</a><a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%86%85%E8%B4%AD">内购</a>方式给<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%85%AC%E4%BC%97">公众</a>号<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%BF%90%E8%90%A5">运营</a>者。 </p><p>  <b>苹果公司的回应声明全文如下:</b> </p><p>  “微信可以选择提供 App 内购买让<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E7%94%A8%E6%88%B7">用户</a>赞赏他们喜爱的公众号运营者,如同我们提供这一选择给所有的开发者一样,微信只需正确使用 App 内购买体系进行开发即可。“ </p><p>  今天下午微信发出声明,称苹果公司更新了App <a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/Store">Store</a>应用开发条款中的第3.1.1项,严格要求App不得包含指引<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%AE%A2%E6%88%B7">客户</a>使用非<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/IAP">IAP</a><a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E6%9C%BA%E5%88%B6">机制</a>(IOS应用内付费)进行购买的按钮、<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%A4%96%E9%83%A8%E9%93%BE%E6%8E%A5">外部链接</a>或其他行动号召用语。因此微信”选择对IOS版微信赞赏功能进行了当前调整“。自今日17点起,IOS版微信公众平台赞赏功能从今日起被微信关闭。IOS端用户可通过<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E4%BA%8C%E7%BB%B4%E7%A0%81">二维码</a><a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%BD%AC%E8%B4%A6">转账</a><a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E6%94%AF%E6%8C%81%E5%85%AC%E4%BC%97">支持公众</a>号。<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%AE%89%E5%8D%93">安卓</a>等其他<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%AE%A2%E6%88%B7%E7%AB%AF">客户端</a>微信赞赏功能不受影响。 </p><p>  苹果公司通常不会对下架应用或某个开发者做出任何回应,今晚对微信的回应,可说是因这款应用的8亿用户,以及在微信平台上的获取<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E6%94%B6%E5%85%A5">收入</a>的公众号运营者。 </p><p>  苹果公司这份声明虽然简单但含义明确,60多个汉字隐晦地表达了几方面意思: </p><p>  1 赞赏功能并非是<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%8B%B9%E6%9E%9C">苹果</a>逼停的。<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%BE%AE%E4%BF%A1">微信</a>本可以像其他开发者一样,选择<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/App">App</a><a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%86%85%E8%B4%AD">内购</a>方式给<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%85%AC%E4%BC%97">公众</a>号<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%BF%90%E8%90%A5">运营</a>者; </p><p>  2 App Store生态对所有开发者的要求均是一样的。包括微信这种已经有8亿<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E7%94%A8%E6%88%B7">用户</a>的App。无论是谁,公平原则一致,都不会开特例。——这是典型的苹果式<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%A5%91%E7%BA%A6%E7%B2%BE%E7%A5%9E">契约精神</a>,3.1.1项自去年六月之后已经明确,除了IAP方式,App中不应有任何其他提示用户付费的方式。 </p><p>  另外,进一步看,如果参考3.1.1,微信所采用的二维码方式仍然”犯规“——这是在App <a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/Store">Store</a>平台上的巨无霸应用微信的矛盾,既<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E9%9C%80%E8%A6%81">需要</a>这个平台,又想让用户回到自己的支付生态上。去除打赏功能后的替代方案二维码的方式并不算方便,也有安全隐患,并仍有被苹果禁掉的<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E9%A3%8E%E9%99%A9">风险</a>。如果微信坚持此种方式,我们甚至猜测微信App有被下架的风险。 </p><p>  更新:20日凌晨,微信官方公号“微信派”也发布进一步<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E6%B6%88%E6%81%AF">消息</a>:“应<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%8B%B9%E6%9E%9C%E5%85%AC%E5%8F%B8">苹果公司</a>要求,赞赏形式再次调整”。根据苹果公司<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%A7%84%E5%AE%9A">规定</a>,<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/IOS">IOS</a>版微信公众平台文章赞赏功能关闭,其他<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E5%AE%A2%E6%88%B7%E7%AB%AF">客户端</a>版本仍可使用,同时个人<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E8%BD%AC%E8%B4%A6">转账</a>功能也被关闭。 </p> <ul><li>来源:<a class="wiki" target="_blank" href="https://wiki.mbalib.com/wiki/%E6%96%B0%E6%B5%AA%E7%A7%91%E6%8A%80">新浪科技</a> </li></ul> <span style="color: #999;font-size: 14px;">声明:本文观点仅代表作者观点,不代表MBA智库立场。</span> </div> <!--正文-内容-end--> <!--正文-底部--> <div class="single-post-foot single-post-foot1"> <div class="subbtn article-vote" > <svg class="subbtn-dz" aria-hidden="true" style="pointer-events:none;"> <use xlink:href="#ic_good"></use> </svg> <span name="237302">2</span> <em id="zan-num" class="zan-num">+1</em> </div> <div class="worknav"> <div class="single-post-ico"> <a href="javascript:void(0)" class="common-ico faver-ico-normal" id="favorite"></a> <a href="javascript:void(0)" class="common-ico copy-ico-normal" id="copy-ico-normal"></a> <em id="copy-num" class="copy">复制成功</em> <a href="javascript:void(0)" class="common-ico complain-ico-normal" id="complain-ico-normal" onclick="feedbackPop.open()"></a> <a href="javascript:void(0)" class="common-ico share-ico-normal" id="share-ico-normal"></a> <div id="sharearticle" load=0 class="share-box" style="display:none"> <div class="bdsharebuttonbox"> <a href="#" class="bds_weixin" data-cmd="weixin"></a> <a href="#" class="bds_tsina" data-cmd="tsina"></a> <a href="#" class="bds_sqq" data-cmd="sqq"></a> </div> <input type="hidden" value="" id="copyvalue"> </div> </div> <span class="classtag-ico"> <a href="/tag/%E8%8B%B9%E6%9E%9C">苹果</a>  <a href="/tag/%E5%BE%AE%E4%BF%A1">微信</a>  <a href="/tag/%E4%BA%8C%E7%BB%B4%E7%A0%81">二维码</a>  <a href="/tag/%E8%BD%AC%E8%B4%A6">转账</a>  </span> </div> <!--<ul class="single-post-ico"> <li><a href="javascript:void(0)" class=" love-ico-normal love-ico" name="237302"></a><span id="love-number">2</span></li> <li><a href="javascript:void(0)" class=" collect-ico-normal collect-ico"></a><span id="collect_count">0</span></li> </ul>--> </div> <!--正文-底部-end--> </div> <!--正文-end--> <div style="clear:both"></div> <div class="single-post-article article-wiki"> </div> <div class="content-site-nav">  <a href="/">智库资讯</a>   <span>/</span>   <a href="/category/%E5%95%86%E4%B8%9A"> 商业 </a>   <span>/</span>   <a href="/story/237302"> 苹果回应微信关闭赞赏通知:所有开发者规则一致 </a> </div> <link rel="stylesheet" href="//img.mbalib.com/common/common.css"> <div class="ke-lay ke-lay-in-news" style="display: none"> <h2 class="title">相关课程</h2> <div id="ke-list" ></div> </div> <script> var relateCourseStr = "苹果回应微信关闭赞赏通知:所有开发者规则一致苹果,微信,二维码,转账商业"; $(function() { $.ajax({ type: 'post', url: getServer('www') + '/appwiki/hotSearch', data: {'keyword': relateCourseStr , 'type': 2,"num":4}, dataType: 'json', }).done(function (result) { var data = result.data.ke; if (data && data.length > 0) { //底部 var handleList1 = function (ke) { var price = handlePrice(ke); var html = ''; html += ' <div class="lesson-lay"> ' + '<a class="ke-image" href="'+ke.url+'?from_source=zxtj" onclick="statRelateCourseBottom(\'news\')" target="_blank">' + '<img src="' + ke.thumb_logo + '" /> ' + ( ke.recommend==1?' <span class="tab-ico2"></span>':'') + ( ke.coupon_img?' <span class="tab-ico"></span>':'') + ' </a> ' + '<div class="lesson-r-box">' + '<a href="'+ke.url+'?from_source=zxtj" onclick="statRelateCourseBottom(\'news\')" target="_blank" >' + '<h6 class="tit" >' + ke.title + '</h6>' + '</a> ' + ' <div class="teacher" >' + (ke.teacher?ke.teacher.name:'') + '</div>' + ' <div class="bottom">' + price + '</div>'+ '</div>'+ '</div>'; return html; } function handlePrice(ke){ var price = '<div>'; if (ke.vip_price) { price += ' <i class="vip-ico"></i>' + ' <span class="fc-red-price">¥<i>' + roundNumber(ke.price) + '</i></span>'; } else { price += (ke.price == '0.00' || ke.price == '0' ? ' <span><i class="fc-red-price free">免费</i></span>' : ' <span class="fc-blue-price" >¥<i>' + roundNumber(ke.price) + '</i></span>' ); } if(ke.original_price){ price += ' <span class="oPrice">¥<i>' + roundNumber(ke.original_price) + '</i></span>'; } price += ' </div>'; return price; } var handleList2 = function (ke) { var price = handlePrice(ke); var html = ''; html += ' <div class="lesson-lay lesson-lay-side">' + '<a class="ke-image" href="'+ke.url+'?from_source=zxtj" onclick="statRelateCourseRight(\'news\')" target="_blank">' + '<img src="' + (ke.square_logo?ke.square_logo:ke.thumb_logo) + '" />  ' + ( ke.recommend==1?' <span class="tab-ico2"></span>':'') + ( ke.coupon_img?' <span class="tab-ico"></span>':'') + ' </a> ' + '<div class="lesson-r-box">' + '<a href="'+ke.url+'?from_source=zxtj" onclick="statRelateCourseRight(\'news\')" target="_blank" >' + '<h6 class="tit" >' + ke.title + '</h6>' + '</a> ' + ' <div class="teacher" >' + (ke.teacher?ke.teacher.name:'') + '</div>' + ' <div class="bottom">' + price + '</div>' + '</div>'+ '</div>'; return html; } var html = '',html2=''; for (var i = 0; i < data.length; i++) { html += handleList1(data[i]); html2 += handleList2(data[i]); } //底部 $("#ke-list").html(html).parent().show(); //侧边 $(".related-ke").find(".ke-list").html(html2); if($(window).width()>765){ $(".related-ke").removeClass('disable-show').show(); } handleBodyScroll(); } }).fail(function () { }); }) </script> </div> <!--文章评论--> <section> <div class="single-post-comment" name="vcontent" id="vcontent"> <div class="title"> <h3>文章评论</h3> <span>总共收到0条评论</span> </div> <div class="widearea-wrapper "> <p>请<a href="/login">登录</a>后发表评论,还没有帐号现在<a href="/register">注册</a></p> </div> <input type="hidden" value="c964a41afe0ad36b488cd2b22489bf24" id="comment_et"> <div style="clear:both"></div> <div class="single-post-comment__comments"> </div> </div> </section> </div> <!--侧栏--> <div class="sidebar"> <div class="sidebar-wrap" id="sidebar-wrap"> <!-- 关于作者--> <div class="mod-column writer-column"> <div class="hd"> <a href="javascript:void(0)" class="head-tit" id="about-user">发布者</a> <a href="javascript:void(0)" id="about-source" class="head-tit-sel head-tit">关于来源</a> </div> <div class="bd"> <dl class="writer-hd hidden" id="partner-dt"> <dt> <a href="http://tech.sina.com.cn/" target="blank_"> <img src="/avatars/partners/logo_13.jpg" title="新浪科技" style="max-height:100px"> </a> </dt> </dl> <dl class="writer-hd" id="user-dt"> <dt class="avatar"> <a href="/people/%E4%B8%80%E9%A2%97%E6%9F%A0%E6%AA%AC%E5%B0%8F%E5%A7%90"> <img src="//img.mbalib.com/news/images/avatar-50.png"> </a> </dt> <dd><b>一颗柠檬</b><br /> </dd> </dl> <p></p> <div class="writer-bd hidden" id="source_domain_articles"> <h3>同一来源:</h3> <ul class="news-list"> <li><i class="n-tag"></i><a href="/story/239370" title="中国移动支付现状:14%消费者不带现金">中国移动支付现状:14%消费者不带现金</a></li> <li><i class="n-tag"></i><a href="/story/239104" title="联想集团第一财季营收100亿美元 净亏损7200万美元">联想集团第一财季营收100亿美元 净亏损7200万美元</a></li> <li><i class="n-tag"></i><a href="/story/239045" title="京东高管解读第二季度财报,已连续五个季度盈利">京东高管解读第二季度财报,已连续五个季度盈利</a></li> <li><i class="n-tag"></i><a href="/story/238391" title="腾讯将发行1787万股新股 奖励10800名员工">腾讯将发行1787万股新股 奖励10800名员工</a></li> <li><i class="n-tag"></i><a href="/story/238261" title="迅雷高管变动:陈磊任CEO 邹胜龙任董事长">迅雷高管变动:陈磊任CEO 邹胜龙任董事长</a></li> <li><i class="n-tag"></i><a href="/story/238179" title="顺丰百度合作搅动外卖市场? 双方联手此为双赢局面">顺丰百度合作搅动外卖市场? 双方联手此为双赢局面</a></li> </ul> </div> <div class="writer-bd" id="source_articles"> <h3>发布者文章:</h3> <ul class="news-list"> <li><i class="n-tag"></i><a href="/story/257527" title="连滚带爬学瑞幸,精品咖啡的最后一战">连滚带爬学瑞幸,精品咖啡的最后一战</a></li> <li><i class="n-tag"></i><a href="/story/257522" title="余承东母校演讲:定位决定地位,眼界决定境界">余承东母校演讲:定位决定地位,眼界决定境界</a></li> <li><i class="n-tag"></i><a href="/story/257491" title="破内卷,要用一点野路子(深度干货!)">破内卷,要用一点野路子(深度干货!)</a></li> <li><i class="n-tag"></i><a href="/story/257383" title="月之暗面最新估值217亿+!创始人杨植麟最新演讲曝光">月之暗面最新估值217亿+!创始人杨植麟最新演讲曝光</a></li> <li><i class="n-tag"></i><a href="/story/257321" title="董宇辉最新演讲刷屏:孩子未来20年的差距,是这样拉开的(醍醐灌顶)">董宇辉最新演讲刷屏:孩子未来20年的差距,是这样拉开的(醍醐灌顶)</a></li> <li><i class="n-tag"></i><a href="/story/257306" title="淘宝直播下一个要捧谁?">淘宝直播下一个要捧谁?</a></li> </ul> </div> </div> </div> <script> $(function() { $(".head-tit").click(function() { $(this).removeClass("head-tit-sel"); $(this).siblings().addClass("head-tit-sel"); var org = $(this).attr("id"); if (org == 'about-source') { $("#user-dt,#source_articles").hide(); $("#partner-dt,#source_domain_articles").show(); } else { $("#user-dt,#source_articles").show(); $("#partner-dt,#source_domain_articles").hide(); } }); }); /** * 自行丢弃 */ function disCardSelf(id, status, flag, comment) { var params = "id=" + id + "&status=" + status; if (typeof(flag) != 'undefined') params += "&flag=" + flag; if (typeof(comment) != 'undefined') params += "&comment=" + comment; $.ajax({ type: 'POST', url: '/services/audit', dataType: "json", data: params, success: function(data) { if (data.status == 'success') { alert('操作成功'); history.go(0); } else { alert(data.message); } } }); } </script> <!--广告--> <div class="mod-column"> <!-- 广告位:NEWS-02 --> <script type="text/javascript"> if($(window).width()>=992) { (function() { var s = "_" + Math.random().toString(36).slice(2); document.write('<div id="' + s + '"></div>'); (window.slotbydup=window.slotbydup || []).push({ id: '995007', container: s, size: '300,250', display: 'inlay-fix' }); })(); } </script> </div> <div class="midright"> <!-- 主题推荐--> <div class="mod-column comment-column"> <div class="hd"> <h3>主题推荐</h3> </div> <div class="bd"> <div> <ul class="news-list"> <li><i class="n-tag"></i><a href="/story/257966" title="早报| 微信推出新功能 14天后可自动清理原图原视频;英国王加冕仪式耗资不菲引争议;全球可可供应严重短缺,价格飙升">早报| 微信推出新功能 14天后可自动清理原图原视频;英国王加冕仪式耗资不菲引争议;全球可可供应严重短缺,价格飙升</a> </li> <li><i class="n-tag"></i><a href="/story/257958" title="早报| 海尔集团回应收购汽车之家;全国养老服务信息平台昨天上线;美团外卖启动10亿助力金,每家优质中小商家将获5000到5万元支持">早报| 海尔集团回应收购汽车之家;全国养老服务信息平台昨天上线;美团外卖启动10亿助力金,每家优质中小商家将获5000到5万元支持</a> </li> <li><i class="n-tag"></i><a href="/story/257920" title="早报| TikTok被要求关闭在加拿大业务;小红书将业界最大数据湖迁至阿里云;上海向全球投资商公布八大重点投资领域">早报| TikTok被要求关闭在加拿大业务;小红书将业界最大数据湖迁至阿里云;上海向全球投资商公布八大重点投资领域</a> </li> <li><i class="n-tag"></i><a href="/story/257915" title="早报| 京东方脑机接口系统专利获授权;小鹏正式官宣进入增程赛道;境外发行的银联卡全面支持绑定微信支付和支付宝">早报| 京东方脑机接口系统专利获授权;小鹏正式官宣进入增程赛道;境外发行的银联卡全面支持绑定微信支付和支付宝</a> </li> <li><i class="n-tag"></i><a href="/story/257913" title="早报| 钢铁行业兼并重组或提速;马斯克回应特斯拉造手机;美国购房者平均年龄跃升至56岁">早报| 钢铁行业兼并重组或提速;马斯克回应特斯拉造手机;美国购房者平均年龄跃升至56岁</a> </li> <li><i class="n-tag"></i><a href="/story/257902" title="解密10家知名企业的管理哲学,洞悉经营之道!">解密10家知名企业的管理哲学,洞悉经营之道!</a> </li> </ul> </div> </div> </div> <!--广告--> <div class="mod-column"> <!-- 广告位:NEWS-03 --> <script type="text/javascript"> if($(window).width()>=992) { (function() { var s = "_" + Math.random().toString(36).slice(2); document.write('<div id="' + s + '"></div>'); (window.slotbydup=window.slotbydup || []).push({ id: '995009', container: s, size: '300,250', display: 'inlay-fix' }); })(); } </script> </div> <!-- 相关文档--> <div class="mod-column doc-column"> <div class="hd"> <h3>相关文档</h3> <a href="http://doc.mbalib.com/tag/微信小程序" style="float: right;text-decoration:none" class="related_more" target="_blank">更多></a> </div> <div class="bd"> <div class=""> <ul class="news-list"> <li><svg class="new-icon" aria-hidden="true"> <use xlink:href="#ic_doc_type_word"></use> </svg><a target='_blank' class="related_document" href="http://doc.mbalib.com/view/79931678b054164126f7125a7df0d6d1.html" title="苹果为何要对微信动手?它在恐惧什么?">苹果为何要对微信动手?它在恐惧什么?  </a><span>3页</span></li> <li><svg class="new-icon" aria-hidden="true"> <use xlink:href="#ic_doc_type_ppt"></use> </svg><a target='_blank' class="related_document" href="http://doc.mbalib.com/view/a1d955c3c31ed5f629e977f8acdfdbaf.html" title="红苹果家具微信运营方案">红苹果家具微信运营方案  </a><span>35页</span></li> <li><svg class="new-icon" aria-hidden="true"> <use xlink:href="#ic_doc_type_word"></use> </svg><a target='_blank' class="related_document" href="http://doc.mbalib.com/view/7f0960355611ec508f374b695187309c.html" title="微信生成带参数的二维码,合成海报,扫码后推送小程序?">微信生成带参数的二维码,合成海报,扫码后推送小程序?  </a><span>5页</span></li> <li><svg class="new-icon" aria-hidden="true"> <use xlink:href="#ic_doc_type_word"></use> </svg><a target='_blank' class="related_document" href="http://doc.mbalib.com/view/103fdbf9957166baa692d6bb977e094d.html" title="阿里与微信的二维码战争开始了?">阿里与微信的二维码战争开始了?  </a><span>3页</span></li> </ul> </div> </div> </div> <!-- 相关文档-end--> <!-- 相关课程--> <div style="height: 15px"></div> <div class="mod-column doc-column related-ke disable-show" style="display: none"> <div class="hd"> <h3>相关课程</h3> </div> <div style="height: 20px"></div> <div class="bd ke-list"> </div> </div> <!-- 相关课程-end--> </div> </div> </div> <!--侧栏-end--> </div> <!-- newspage-cont-end--> <style type="text/css"> @font-face{ font-family: 'oswald'; src : url('https://img.mbalib.com/common/fonts/SourceHanSansCN-Regular.otf'); } .zkzb-wrap{ width:750px;color:#303133;padding-top:30px;font-family:'oswald','-apple-system','sans-serif','PingFang SC' ;} .zkzb-main-wrap{ margin:24px 30px 30px;padding:30px; border:3px solid #0152D9} .zkzb-y-m{position: absolute;right: 30px;top:138px;width: 180px;text-align: center} .zkzb-y-m p{margin:0;font-family:STSongti-SC-Bold,STSongti-SC;height: 90px;line-height: 90px} .zkzb-y-m .m{color:#fff;font-size:68px} .zkzb-y-m .y{color:#0152D9;font-size:64px} .zkzb-head{ font-size:24px; font-style:normal;} .zkzb-head h5{ margin:0 0 30px; font-size:42px;line-height:58px;font-weight:bold;} .zkzb-bottom{width:100%;margin-top:20px;min-height: 258px;} .zkzb-top-img img,.zkzb-bottom img{display: block;margin: 0 auto;} .zkzb-bady{word-break:break-all;line-height:54px;font-size: 30px} .zkzb-bady img{display: block; max-width: 95%;height: auto;margin: 10px;} .zkzb-bady p{word-break:break-all;line-height: 1.5;letter-spacing: 2px;margin:25px 0} .zkzb-bady a{word-wrap:break-word;max-width:600px;color:#303133;font-weight: normal;} /*.zkzb-bady b{font-weight: normal;}*/ </style> <div class="zkzb-wrap" style="position: fixed;top: 0;left: 0; z-index: 10000; background-color: #fff;height: auto;display: none" id="zkzb"> <!--防止生成的图片头部出现空白--> <div class="zkzb-top-img"> <img src=""> </div> <div class="zkzb-y-m"><p class="m">5.16</p><p class="y">2020</p></div> <div class="zkzb-main-wrap"> <div class="zkzb-head"> <h5 id="zkzb-title">不能出错的10个股权问题:解决你公司经营中80%以上的困惑</h5> <div class="zkzb-bady"></div> </div> <div class="zkzb-bottom"> <img src=""> </div> <div style="height: 20px;"></div> </div> <div style="height: 40px;"></div> </div> <img id="zkzbimg" style="display: none"> <script type="text/javascript" src="//img.mbalib.com/common/html2canvas.js"></script> <script type="text/javascript" src="//img.mbalib.com/common/bluebird.js"></script> <script type="text/javascript"> var parserContentUrl = "/submit/ajaxparsercontent"; var poster_img = 0; $(".zkzb-top-img img").attr('src','/images/morningpaper/icon_zaobao_new.png').on('load',function(){ poster_img++; }); $(".zkzb-bottom img").attr('src','/images/morningpaper/ic_erweima_20210106.png').on('load',function(){ poster_img++; }); function zkzb(obj) { parserContent(obj); parserTime(obj); zkzbcreateHtml(obj); if(obj.test == 1) { return; } var imgnum =$(".zkzb-bady img").length; if(imgnum) { var num = 0; $(".zkzb-bady img").on('load', function () { num++; if (num == imgnum) { if(poster_img==2){ $('.zkzb-wrap').show(); html2imgage(obj); $('.zkzb-wrap').hide(); }else{ var timer = setInterval(function(){ if(poster_img==2){ $('.zkzb-wrap').show(); html2imgage(obj); $('.zkzb-wrap').hide(); clearInterval(timer); } },300) } } }); }else{ if(poster_img==2){ $('.zkzb-wrap').show(); html2imgage(obj); $('.zkzb-wrap').hide(); }else{ var timer = setInterval(function(){ if(poster_img==2){ $('.zkzb-wrap').show(); html2imgage(obj); $('.zkzb-wrap').hide(); clearInterval(timer); } },300) } } } function html2imgage(obj) { var canvas = document.createElement("canvas"); // w=$('.zkzb-wrap').width(), // h=$('.zkzb-wrap').height(); var w =$('.zkzb-wrap').width(); var h =$('.zkzb-wrap').height(); // canvas.width = w * 2; // canvas.height = h * 2; // canvas.style.width = w + "px"; // canvas.style.height = h + "px"; var scale = 1; // 定义任意放大倍数 支持小数 canvas.width = Math.floor(w * scale); // 定义canvas 宽度 * 缩放 canvas.height = Math.floor(h * scale); // 定义canvas高度 *缩放 var shareContent = document.getElementById('zkzb'); var rect = shareContent.getBoundingClientRect(); // 获取元素相对于视口的 canvas.getContext('2d').scale(scale, scale); // 获取context,设置scale var options ={ scrollX:0, scrollY:0, } canvas.getContext('2d').translate(-rect.left - options.scrollX, -rect.top - options.scrollY); var context = canvas.getContext("2d"); //然后将画布缩放,将图像放大两倍画到画布上 // context.scale(2,2); html2canvas($(".zkzb-wrap"), { allowTaint: true,//允许污染 taintTest: true,//在渲染前测试图片 useCORS:true, canvas:canvas, letterRendering: true, width:w, //生成图片宽 height:h, //生成图片高 windowWidth:document.body.scrollWidth, windowHeight:document.body.scrollHeight, // x:0, // y:window.pageYOffset x: rect.left,// 绘制的dom元素相对于视口的位置 y: rect.top, onrendered: function(canvas) { var context = canvas.getContext('2d'); //关闭抗锯齿 context.mozImageSmoothingEnabled = false; context.webkitImageSmoothingEnabled = false; context.msImageSmoothingEnabled = false; context.imageSmoothingEnabled = false; // var width = 750; // var height = canvas.height * Math.round((width*100)/canvas.width)/100; var newcanvas = scaleCanvas(canvas,w,h); var data= newcanvas.toDataURL('image/jpeg',1); // var img = document.createElement('img'); // img.src=data; // document.body.appendChild(img); obj.returnfunc(data); }, }); } //缩放画布 function scaleCanvas (canvas, width, height) { var w = canvas.width, h = canvas.height; if (width == undefined) { width = w; } if (height == undefined) { height = h; } var retCanvas = document.createElement('canvas'); var retCtx = retCanvas.getContext('2d'); retCanvas.width = width; retCanvas.height = height; retCtx.drawImage(canvas, 0, 0, w, h, 0, 0, width, height); return retCanvas; } function zkzbcreateHtml(obj) { $('#zkzb-title').html(obj.title); $('.zkzb-y-m .m').html(parseInt(obj.time.substr(5,2))+'.'+obj.time.substr(8,2)); $('.zkzb-y-m .y').html(obj.time.substr(0,4)); $('.zkzb-bady').html(obj.content); } //解析时间 function parserTime(obj) { var week_arr = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']; if (obj.time=="newDate"){ var myDate = new Date(); var year = myDate.getFullYear(); var month = myDate.getMonth()+1; var day = myDate.getDate(); var week = week_arr[myDate.getDay()]; }else if(obj.parserTime==1){ var time_arr = obj.time.split(' '); var data = time_arr[0]; var data_arr = data.split('/'); var year = data_arr[2]; var month = data_arr[0]; var day = data_arr[1]; var myDate = new Date(); myDate.setFullYear(year, month - 1, day); var week = week_arr[myDate.getDay()]; }else{ var year = obj.time.slice(0,4); var month =obj.time.slice(4,6); var day =obj.time.slice(6,8); var myDate = new Date(); myDate.setFullYear(year,month -1,day); var week = week_arr[myDate.getDay()]; } obj.time= year + '.' + month + '.' + day + " " + week; } //解析内容 function parserContent(obj) { if (obj.parserContent){ $.ajax({ type:"post", data:{text:obj.content}, url:parserContentUrl, async:false, success: function(data){ obj.content =data; } }); } } </script> <script> var s_sign = '5c8255a1cc5236526f6ca07ae31332f5'; var s_userId = 'ad0382d1486cce94cfa6fd078f818eda'; var s_time = '1732696436000'; var s_login_type = ''; var s_ip = '47.52.5.7'; $(function(){ //newsViewBhv(s_sign, s_userId, s_time, s_ip,s_login_type); }); </script> <div class="bg" id="bg" style="display: none"></div> <script> // var key = '237302';//wgArticleId var title = "苹果回应微信关闭赞赏通知:所有开发者规则一致";//wgArticleTitle var image = ""; var content = ``; var createtime = "20170420084044"; var publishtime = "20170420084152"; var href = '/uploads/image/' + changedir(image); var category_id = "2"; var associated_type = 'news_article'; var associated_id = '237302'; </script> <link rel="stylesheet" href="//img.mbalib.com/common/swiper/css/idangerous.swiper.css" /> <script src="//img.mbalib.com/common/swiper/js/idangerous.swiper.min.js"></script> <div class="pop-radius-new" style="width:640px;margin-left:-320px;margin-top:-330px;display: none;" id="feedback-box"> <div class="head"> <a href="javascript:void(0)" class="pop-close" onclick="feedbackPop.close()" ></a> <h6 v-if="title" class="title m-ellipsis m-font-18">意见反馈</h6> </div> <div class="pop-body"> <div class="form-box"> <div class="item-wr"> <div class="item-label m-font-bold">问题分类</div> <div class="item-value"> <div class="select-wrap input-wrap"> <input type="text" readonly="readonly" placeholder="请选择" onclick="feedbackPop.toggleTypeList()" id="type1Input" /> <a href="javascript:void(0)" class="arrow-pos"><i class="fold-ico" class="arrowUp"></i></a> <ul class="options" style="display: none;" id="feedbackType1"> </ul> </div> </div> </div> <div class="item-wr" id="type2wrap" style="display:none"> <div class="item-label m-font-bold">类型</div> <div class="item-value"> <div class="select-wrap input-wrap"> <input type="text" readonly="readonly" placeholder="请选择" onclick="feedbackPop.toggleTypeList2()" id="type2Input" /> <a href="javascript:void(0)" class="arrow-pos"><i class="fold-ico" class="arrowUp"></i></a> <ul class="options" style="display: none;" id="feedbackType2"> </ul> </div> </div> </div> <div class="item-wr"> <div class="item-label m-font-bold">反馈内容</div> <div class="item-value"> <div class="input-wrap"> <div class="input m-font-grey m-font-bold m-ellipsis">苹果回应微信关闭赞赏通知:所有开发者规则一致</div> <textarea class="m-m-t-10" type="text" placeholder="请填写10个字以上的问题或意见,我们将尽快处理及回复" id="feedback-content"></textarea> </div> <div class="img-container"> <p class="m-font-14 m-font-grey m-m-t-20">添加图片(选填)<span class="add-number"><i class="m-font-primary" id="imgCount">0</i>/9</span></p> <div class="m-m-t-10"> <input type="file" class="btn-file-upload" style="display: none" accept="image/png,image/jpg,image/jpeg" onchange="feedbackPop.change(this)" id="file-upload-input" multiple="multiple"> <div class="swiper-container feedback-swiper-container" style="width: 100%;"> <div class="swiper-wrapper" id="imagesWrapper" style="width: 100%;"> <div class="swiper-slide img-upload img-upload-btn"> <div class="inn"><label for="file-upload-input" class="img-add"></label></div> </div> </div> <div class="swiper-scrollbar" > <div class="swiper-scrollbar-drag"></div> </div> </div> </div> </div> </div> </div> <div class="m-m-t-20"></div> <div class="item-wr"> <div class="item-label m-font-bold">联系方式</div> <div class="item-value"> <div class="input-wrap"> <input type="text" id="feedback-contact" maxlength="50" autocomplete="off" placeholder="请输入微信号/Email/QQ/手机号(选填)" value=""> </div> </div> </div> </div> <div class="dialog-btns"> <a class="dialog-btn plain" href="javascript:void(0)" onclick="feedbackPop.close()" >取消</a> <a class="dialog-btn news-primary" href="javascript:void(0)" type="primary" onclick="feedbackPop.editSubmit()" >提交</a> </div> </div> </div> <div class="pop-radius-new" style="width:400px;margin-left:-200px;margin-top:-170px;display: none;" id="feedback-promptBox"> <div class="head"> <a href="javascript:void(0)" class="pop-close" onclick="feedbackPop.promptBoxClose()"></a> </div> <div class="m-p-30 m-h-center"> <span class="prompt-ico prompt-1" ></span> <p class="m-font-bold m-font-20 m-m-t-10">提交成功</p> <p class="m-font-16 m-m-t-10 m-m-b-30">反馈结果请前往 <a class="m-font-primary" href="http://www.test.mbalib.com/apps/mbalib/" target="_blank">MBA智库App</a> 查看 <br>(我的 > 帮助与反馈 > 我的反馈)</p> <div> <a class="dialog-btn m-m-t-30 news-primary" style="width:100%" href="javascript:void(0)" type="primary" onclick="feedbackPop.promptBoxClose()" >知道了</a> </div> </div> </div> <script> var feedbackPop = { token:wfGetCookie('wikidbAccessToken'), request_time:0, feedback_type_name:'投诉', feedback: { feedback_type_name: '', feedback_type_id: '', feedback_type_subtype:null, }, feedback2: { feedback_type_name: '', feedback_type_id: '', }, typeListShow: false, typeListShow2: false, feedbackTypeList: null, content: '', contact: '', images: [], uploadFies: null, imageTotal: 9, mySwiper:null, loading: false, imgLoading: false, typeDisable: false, promptShow: false,//提交成功后显示弹层 open:function(){ //校验登录状态 this.checkLogin(function(){ $("#feedback-box,#bg").show(); }); }, checkLogin:function(callback) { var login_token = wfGetCookie('wikidbLoginToken'); var _this = this; $.ajax({ url:getServer('passport')+'/api2/accesstoken', data: {login_token : login_token}, dataType : 'json', async: false, type:'post', }).done(function(result){ _this.token = result.access_token; if(!token){ _this.unLogin(); }else{ callback(); } }) }, unLogin:function(){ window.location.href = getServer('passport')+'/login'+'?continue='+encodeURIComponent(window.location.href); return false; }, close:function(){ $("#feedback-box,#bg").hide(); }, bindEvent:function(){ var _this = this; $("#feedback-content").bind('input propertychange', function (e) { _this.content = $(this).val(); }) $("#feedback-contact").bind('input propertychange', function (e) { _this.contact = $(this).val(); }) }, initSwiper:function(){ if(this.mySwiper){ this.mySwiper.destroy(); this.mySwiper = null; // this.mySwiper.resizeFix(); // return; } this.mySwiper = new Swiper('.feedback-swiper-container',{ slidesPerView: 'auto', calculateHeight:true, // scrollbar: { // el: '.swiper-scrollbar', // hide: false, // }, }); }, change:function(el,e) { var files = el.files; if (!files.length) return false; //不是图片直接返回 //超过上传的图片数量 var remain = ( this.imageTotal - this.images.length);//剩余可上传张数 if(files.length < remain){ remain = files.length; } this.imgLoading = true; console.log(remain,'张图片处理中...'); var _this = this; var existCount = this.images.length;//已上传的图片 var count = 0; for (var i = 0; i < remain; i++) { var file = files[i]; var reader = new FileReader(); reader.readAsDataURL(file); reader.imgIndex = existCount+i; reader.file = file; reader.filename = file.name; reader.onloadend = function(){//index传进来,可能已被修改;//读取文件存在先后顺序 if(this.file.size < (1024 * 1024 * 2) ){ //判断图片是否大于2M _this.images[this.imgIndex] = { value: this.file, name: this.filename, img: this.result, } count++; if(count >= remain){ el.value = null; _this.createImgHtml();//等图片全部读取完成后再回显 //必须要压缩的图片先处理完成 } }else{ var img = new Image(); img.src = this.result; img.imgIndex = this.imgIndex; img.filename = this.filename; img.onload = function(){ var data = _this.compress(img); var blob = _this.dataURItoBlob(data);// console.log("base64转blob对象:" + blob); _this.images[this.imgIndex] = { value: blob, name: this.filename, img: data, } count++; if(count >= remain){ el.value = null; _this.createImgHtml(); } } } } } }, createImgHtml:function(){ this.imgLoading = false; var btn = $("#imagesWrapper").find('.img-upload-btn'); $("#imagesWrapper").empty(); var html = ''; for(var i=0; i<this.images.length; i++){ html += '<div class="swiper-slide img-upload imgUpload"><div class="inn">' html += '<i class="btn-delete-img" onclick="feedbackPop.deleteImg(this)"></i>' html += '<img src="'+this.images[i].img+'">' html += '</div></div>' } $("#imagesWrapper").html(html); $("#imgCount").html(this.images.length); if(this.images.length < 9){ $("#imagesWrapper").append(btn); } this.initSwiper(); }, deleteImg:function(el){ var index = $("#imagesWrapper .imgUpload").index($(el).parents(".imgUpload")); $("#imagesWrapper").find(".imgUpload").eq(index).remove();//移除图片 this.images.splice(index,1); $("#imgCount").html(this.images.length); if(this.images.length < 9){ var btn = $("#imagesWrapper").find('.img-upload-btn'); if(btn.length==0){ btn = $('<div class="swiper-slide img-upload img-upload-btn"><div class="inn"><label for="file-upload-input" class="img-add"></label></div></div>'); $("#imagesWrapper").append(btn); } } this.initSwiper(); }, editSubmit:function(){ if(this.feedback2 && !this.feedback2.feedback_type_id){ toast('请选择类型'); return; } if(!this.content){ toast('请输入反馈问题内容'); return; } if(this.content.length < 10){ toast('请填写10个字以上内容描述'); return; } if(this.imgLoading){ toast('图片处理中,请稍后') return; } this.request_time++; if(this.request_time>3) return; if(this.loading) return; this.loading = true; var formData= new FormData(); formData.append('access_token',this.token); var type_id; if(this.feedback2){ type_id = this.feedback2.feedback_type_id; }else{ type_id = this.feedback.feedback_type_id; } formData.append('type_id', type_id); formData.append('content', this.content); formData.append('contact', this.contact); if(this.images && this.images.length){ for (var i = 0; i < this.images.length; i++) { formData.append('images[]', this.images[i].value,this.images[i].name); } } formData.append('associated_type', associated_type); formData.append('associated_id', associated_id ); function successFn(result){ if(this.request_time>3) return; if(result.errorno) { toast(result.error, 'n'); return; } this.close(); this.typeListShow = false; this.typeListShow2 = false; this.promptBoxOpen(); //清空输入项 this.content = ''; this.contact = ''; this.feedback2 = {}; this.images = []; $("#type2Input").val(''); $("#feedback-content").val(''); var btn = $('<div class="swiper-slide img-upload img-upload-btn"><div class="inn"><label for="file-upload-input" class="img-add"></label></div></div>'); $("#imagesWrapper").empty().append(btn);//.css('transform','translate3d(0, 0, 0)') $("#feedback-contact").val(''); $("#imgCount").html('0'); this.mySwiper.resizeFix(); this.mySwiper.setWrapperTranslate(0,0,0); } var _this = this; $.ajax({ url:getServer('www')+'/helpfeedbackapi/saveFeedback', type:'POST', data:formData, processData: false,// 不进行数据处理 contentType: false, async: false, dataType: "JSON", success:function(result){ _this.request_time = 0; _this.loading = false; _this.freshUserInfo.call(_this,result,feedbackPop.editSubmit,successFn); } }); }, freshUserInfo:function(result,fn_request,fn_success,fn_request_params) { var login_token = wfGetCookie('wikidbLoginToken'); //用户信息无效 if(result && result.errorno==10001){ if(!this.token){ this.unLogin(); return; } var _this = this; //重新发起请求 $.ajax({ url:getServer('passport')+'/api2/accesstoken', data: {login_token : login_token}, dataType : 'json', async: false, }).done(function(result){ _this.token = result.access_token; fn_request.call(_this,fn_request_params); }).fail(function(){}); }else{ fn_success.call(this,result); } }, promptBoxOpen:function(){ this.promptShow = true; $("#feedback-promptBox,#bg").show(); }, promptBoxClose:function(){ this.promptShow = false; $("#feedback-promptBox,#bg").hide(); }, dataURItoBlob:function(base64Data) { var byteString; if (base64Data.split(",")[0].indexOf("base64") >= 0) byteString = atob(base64Data.split(",")[1]); else byteString = unescape(base64Data.split(",")[1]); var mimeString = base64Data .split(",")[0] .split(":")[1] .split(";")[0]; var ia = new Uint8Array(byteString.length); for (var i = 0; i < byteString.length; i++) { ia[i] = byteString.charCodeAt(i); } return new Blob([ia], { type: mimeString }); }, compress:function( img , Orientation ) { var canvas = document.createElement("canvas"); var ctx = canvas.getContext('2d'); //瓦片canvas var tCanvas = document.createElement("canvas"); var tctx = tCanvas.getContext("2d"); var initSize = img.src.length; var width = img.width; var height = img.height; //如果图片大于四百万像素,计算压缩比并将大小压至400万以下 var ratio; if ((ratio = width * height / 4000000) > 1) { console.log("大于400万像素") ratio = Math.sqrt(ratio); width /= ratio; height /= ratio; } else { ratio = 1; } canvas.width = width; canvas.height = height; // 铺底色 ctx.fillStyle = "#fff"; ctx.fillRect(0, 0, canvas.width, canvas.height); //如果图片像素大于100万则使用瓦片绘制 var count; if ((count = width * height / 1000000) > 1) { count = ~~(Math.sqrt(count) + 1); //计算要分成多少块瓦片 // 计算每块瓦片的宽和高 var nw = ~~(width / count); var nh = ~~(height / count); tCanvas.width = nw; tCanvas.height = nh; for (var i = 0; i < count; i++) { for (var j = 0; j < count; j++) { tctx.drawImage(img, i * nw * ratio, j * nh * ratio, nw * ratio, nh * ratio, 0, 0, nw, nh); ctx.drawImage(tCanvas, i * nw, j * nh, nw, nh); } } } else { ctx.drawImage(img, 0, 0, width, height); } //修复ios上传图片的时候 被旋转的问题 if( Orientation != "" && Orientation != 1){ switch(Orientation){ case 6://需要顺时针(向左)90度旋转 this.rotateImg(img,'left',canvas); break; case 8://需要逆时针(向右)90度旋转 this.rotateImg(img,'right',canvas); break; case 3://需要180度旋转 this.rotateImg(img,'right',canvas);//转两次 this.rotateImg(img,'right',canvas); break; } } //进行最小压缩 var ndata = canvas.toDataURL( 'image/jpeg' , 0.1); console.log('压缩前:' + initSize); console.log('压缩后:' + ndata.length); console.log('压缩率:' + ~~(100 * (initSize - ndata.length) / initSize) + "%"); tCanvas.width = tCanvas.height = canvas.width = canvas.height = 0; return ndata; }, viewImg:function(item){ var img = new Image(); img.src = item.img; var newWin = window.open('','_blank'); newWin.document.write(img.outerHTML); newWin.document.title = item.name; newWin.document.close(); }, selectType:function(id,name){ var d; for(var i=0; i<this.feedbackTypeList.length; i++){ var item = this.feedbackTypeList[i]; if(item.feedback_type_id==id){ d = item; } } this.feedback = d; $("#type1Input").val(d.feedback_type_name); this.typeListShow = false; $("#feedbackType1").hide(); if(this.feedback.feedback_type_subtype && this.feedback.feedback_type_subtype.length){ var sub_html = ''; for(var j=0; j<this.feedback.feedback_type_subtype.length; j++){ var sub_item = this.feedback.feedback_type_subtype[j]; sub_html += '<li onclick="feedbackPop.selectType2(\''+sub_item.feedback_type_id+'\',\''+sub_item.feedback_type_name+'\')">'+sub_item.feedback_type_name+'</li>'; } $("#feedbackType2").html(sub_html); $("#type2wrap").show(); }else{ $("#feedbackType2").empty(); $("#type2wrap").hide(); } }, selectType2:function(id){ // var d = this.feedback.feedback_type_subtype.find((item)=> item.feedback_type_id==id); var d; for(var i=0; i<this.feedback.feedback_type_subtype.length; i++){ var item = this.feedback.feedback_type_subtype[i]; if(item.feedback_type_id==id){ d = item; } } this.feedback2 = d; $("#type2Input").val(d.feedback_type_name); this.typeListShow2 = false; $("#feedbackType2").hide(); }, toggleTypeList: function(){ if(this.typeDisable) return; if(this.typeListShow){ this.typeListShow = false; $("#feedbackType1").hide(); }else{ this.typeListShow = true; $("#feedbackType1").show(); } }, toggleTypeList2: function(){ if(this.typeListShow2){ this.typeListShow2 = false; $("#feedbackType2").hide(); }else{ this.typeListShow2 = true; $("#feedbackType2").show(); } }, getFeedbackType:function(){ if(this.feedbackTypeList && this.feedbackTypeList.length) return; this.bindEvent(); var _this = this; $.post(getServer('www')+'/helpfeedbackapi/getFeedbackType', {}, function(result){ if (!result) return; _this.feedbackTypeList = result.data; var html = ''; //创建页面元素 for(var i=0; i<_this.feedbackTypeList.length; i++){ var item = _this.feedbackTypeList[i]; html += '<li onclick="feedbackPop.selectType(\''+item.feedback_type_id+'\',\''+item.feedback_type_name+'\')">'+item.feedback_type_name+'</li>'; } $("#feedbackType1").html(html); if(_this.feedback_type_name){ //设置默认选中项 // var d = _this.feedbackTypeList.find((item)=> item.feedback_type_name==_this.feedback_type_name); var d; for(var i=0; i<_this.feedbackTypeList.length; i++){ var item = _this.feedbackTypeList[i]; if(item.feedback_type_name==_this.feedback_type_name){ d = item; } } if(d){ _this.selectType(d.feedback_type_id); _this.typeDisable = true; $("#type1Input").next().hide() $("#type2wrap .item-label").html(_this.feedback_type_name+'类型'); } } },'json'); } } feedbackPop.getFeedbackType(); </script> <script> function infoFavoriteObj() { favoriteObj.init(wgArticleId, 'news', '#favorite', function() { $('#favorite').addClass('faver-ico-sel'); $('#favorite').removeClass('faver-ico-normal'); }, function() { $('#favorite').addClass('faver-ico-normal'); $('#favorite').removeClass('faver-ico-sel'); }); } </script> <script> $(function() { //绑定点击事件、评论内容格式、 renderArticleDetail(); wfViewLog("news", wgArticleId); $(".article-wiki a").each(function() { var href = $(this).attr('href'); $(this).attr('data-href', href); }) $(".article-wiki a").each(function() { var ht = $(this).html(); if (ht.indexOf("MBA智库") > -1 && ht.indexOf("MBA智库资讯APP") == -1) { $(this).attr("class", "wiki"); //把包含MBA智库的链接样式修改下 } }); $(".related_document").click(function() { _hmt.push(['_trackEvent', 'document', 'click', 'related_document']); }); $(".related_more").click(function() { _hmt.push(['_trackEvent', 'document', 'click', 'related_more']); }); if (category_id == 15 && image && createtime > '20180000000000') { $(".zkzb-img").html('<img src="' + href + '">'); } }); function auditPublished(key, confirmtitle) { if (confirm(confirmtitle)) { if (category_id == 15) { var time = publishtime; if (typeof(time) == 'undefined' || time == '') { time = 'newData'; } var obj = { title: title, time: time, content: content, parserTime: 2, returnfunc: function(data) { $('#zkzbimg').attr('src', data); audit(key, 'published'); } }; zkzb(obj); } else { audit(key, 'published'); } } } </script> </div> <div id="mb" style="display:none;"> <div class="newspage-cont"> <div class="content"> <div class="content-lay"> <!--正文--> <div class="single-post"> <!--正文-头部--> <div class="single-post-header"> 苹果回应微信关闭赞赏通知:所有开发者规则一致 qsbox.cn 不止搜索 发布者: 一颗柠檬   来源:新浪科技  2017/04/20 08:41

  4月20日凌晨消息,针对今日微信关闭IOS版本赞赏功能,苹果公司刚刚向新浪科技发来针对此事的回应,称微信本可以选择App内购方式给公众运营者。

  苹果公司的回应声明全文如下:

  “微信可以选择提供 App 内购买让用户赞赏他们喜爱的公众号运营者,如同我们提供这一选择给所有的开发者一样,微信只需正确使用 App 内购买体系进行开发即可。“

  今天下午微信发出声明,称苹果公司更新了App Store应用开发条款中的第3.1.1项,严格要求App不得包含指引客户使用非IAP机制(IOS应用内付费)进行购买的按钮、外部链接或其他行动号召用语。因此微信”选择对IOS版微信赞赏功能进行了当前调整“。自今日17点起,IOS版微信公众平台赞赏功能从今日起被微信关闭。IOS端用户可通过二维码转账支持公众号。安卓等其他客户端微信赞赏功能不受影响。

  苹果公司通常不会对下架应用或某个开发者做出任何回应,今晚对微信的回应,可说是因这款应用的8亿用户,以及在微信平台上的获取收入的公众号运营者。

  苹果公司这份声明虽然简单但含义明确,60多个汉字隐晦地表达了几方面意思:

  1 赞赏功能并非是苹果逼停的。微信本可以像其他开发者一样,选择App内购方式给公众运营者;

  2 App Store生态对所有开发者的要求均是一样的。包括微信这种已经有8亿用户的App。无论是谁,公平原则一致,都不会开特例。——这是典型的苹果式契约精神,3.1.1项自去年六月之后已经明确,除了IAP方式,App中不应有任何其他提示用户付费的方式。

  另外,进一步看,如果参考3.1.1,微信所采用的二维码方式仍然”犯规“——这是在App Store平台上的巨无霸应用微信的矛盾,既需要这个平台,又想让用户回到自己的支付生态上。去除打赏功能后的替代方案二维码的方式并不算方便,也有安全隐患,并仍有被苹果禁掉的风险。如果微信坚持此种方式,我们甚至猜测微信App有被下架的风险。

  更新:20日凌晨,微信官方公号“微信派”也发布进一步消息:“应苹果公司要求,赞赏形式再次调整”。根据苹果公司规定IOS版微信公众平台文章赞赏功能关闭,其他客户端版本仍可使用,同时个人转账功能也被关闭。

声明:本文观点仅代表作者观点,不代表MBA智库立场。
2 +1
复制成功
苹果  微信  二维码  转账 

文章评论

总共收到0条评论

登录后发表评论,还没有帐号现在注册