大家都知道微信不支持直接下载
所以在微信推广的时候,需要玩家通过其他流量访问网站进行下载
下面就免费把方法分享给大家
1·下载素材:上传至网根目录
2·进入网站后台 → 模板管理 → 模板管理 → 手机模板
点击对应模板目录 → html文件夹 → 修改down.html(网站下载页)
然后代理顶部添加一下代码即可
- <style type="text/css">
- *{margin:0; padding:0;}
- a{text-decoration: none;}
- img{max-width: 100%; height: auto;}
- .weixin-tip{display: none; position: fixed; left:0; top:0; bottom:0; background: rgba(0,0,0,0.8); filter:alpha(opacity=80); height: 100%; width: 100%; z-index: 100;}
- .weixin-tip p{text-align: center; margin-top: 10%; padding:0 5%;}
- </style>
-
- <div class="weixin-tip">
- <p>
- <img src="../../img/5cbc4_5_1242_2007.png" alt="在浏览器打开"/>
- </p>
- </div>
- <script type="text/javascript">
-
-
-
- $(window).on("load",function(){
- var winHeight = $(window).height();
- function is_weixin() {
- var ua = navigator.userAgent.toLowerCase();
- if (ua.match(/MicroMessenger/i) == "micromessenger") {
- return true;
- } else {
- return false;
- }
- }
- var isWeixin = is_weixin();
- if(isWeixin){
- $(".weixin-tip").css("height",winHeight);
- $(".weixin-tip").show();
- }
- })
- </script>
复制代码
不懂怎么操作的,可以联系技术员付费协助处理
|