<bdo id='avpspgvv'></bdo><ul id='r6e62rba'></ul>

    <small id='gym41x4s'></small><noframes id='dwsbzh1f'>

      1. <legend id='1iwc4hk6'><style id='l2kfude6'><dir id='lri2n06d'><q id='iqjuairv'></q></dir></style></legend><tfoot id='3onn2hp2'></tfoot>
        <i id='h4tidplt'><tr id='45itqm0a'><dt id='votvs61i'><q id='7xhcaqdf'><span id='1myr02wa'><b id='9gjg4f9b'><form id='7nspkbf2'><ins id='8jky79wb'></ins><ul id='jg9pwnv5'></ul><sub id='duvy1xnl'></sub></form><legend id='irp4h0no'></legend><bdo id='d6eg4i13'><pre id='w519jkor'><center id='82f6p1nd'></center></pre></bdo></b><th id='kcm2cb4r'></th></span></q></dt></tr></i><div id='alcy8zcr'><tfoot id='d0sff8pr'></tfoot><dl id='bkhmr14r'><fieldset id='nym8cm5t'></fieldset></dl></div>

        精准传达 • 价值共享

        洞悉互联网前沿资讯,探寻网站营销规律

        织梦根据不同访问设备手机访问跳转 电脑访问手机版跳转电脑对应URL

        作者: 庚午网络 | 2020-11-28 03:07 |点击:

          <tfoot id='hef3qyaa'></tfoot>

            <i id='hc6ppdk8'><tr id='dpvilfz2'><dt id='sqw5fyr5'><q id='hjz6hzgv'><span id='9u5sdxu5'><b id='pmv3o1ga'><form id='tn479nr7'><ins id='kaj4jaz0'></ins><ul id='9t8xwh5d'></ul><sub id='2drdidyw'></sub></form><legend id='i1bnnqlc'></legend><bdo id='nv3feoaz'><pre id='0xcim7q4'><center id='bemx17s0'></center></pre></bdo></b><th id='io7x4bv0'></th></span></q></dt></tr></i><div id='eiuj56mb'><tfoot id='icg2k6gt'></tfoot><dl id='nie0okzl'><fieldset id='kmpekfrn'></fieldset></dl></div>

            <small id='omvr1r4s'></small><noframes id='qvptuxbw'>

              <tbody id='9anok9w8'></tbody>

                <bdo id='8ji47q1l'></bdo><ul id='pk3jkhxe'></ul>
                <legend id='57rhatzc'><style id='4vnh05hf'><dir id='4jr0frt1'><q id='45useus1'></q></dir></style></legend>
                • 比较常用跳转 就是手机版访问电脑的版的网址自动跳转到对应的手机版   有时候我们也会遇到另外一种情况 想让电脑打开手机版的网址的时候 自动跳转到电脑的URL

                  下面把跳转代码 总结了下 分享给大家


                  手机访问电脑版自动跳转到对应的手机版

                  首页

                   
                  1. <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}">
                    <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>

                  列表页/栏目页
                   
                  1. <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/}">
                    <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
                   

                  文章页/内容页
                   
                  1. <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}">
                    <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>

                   
                  电脑访问手机版跳转对应的电脑URL

                  首页


                   
                  1.  <script type="text/javascript">  
                    var url = window.location.pathname;
                    var pcurl="{dede:global.cfg_basehost/}"
                     
                    if(/AppleWebKit.*Mobile/i.test(navigator.userAgent)==false || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))==false){
                        if(window.location.href.indexOf("?mobile")<0){
                            try{
                                if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)==false){
                                     window.location.href=pcurl; 
                                }
                     
                            }catch(e){}
                        }
                    }
                    </script>

                  列表页/栏目页
                   
                  1. <script type="text/javascript">  
                     
                    var url = window.location.pathname;
                    var pcurl="{dede:type}[field:typeurl/]{/dede:type}"
                     
                    if(/AppleWebKit.*Mobile/i.test(navigator.userAgent)==false || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))==false){
                        if(window.location.href.indexOf("?mobile")<0){
                            try{
                                if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)==false){
                                     window.location.href=pcurl; 
                                }
                     
                            }catch(e){}
                        }
                    }
                    </script>
                   

                  文章页/内容页

                   
                  1. <script type="text/javascript">  
                    var url = window.location.pathname;
                    var pcurl="{dede:global.cfg_basehost/}{dede:field.id runphp='yes'}$result=GetOneArchive(@me);@me=$result['arcurl'];{/dede:field.id}"
                     
                    if(/AppleWebKit.*Mobile/i.test(navigator.userAgent)==false || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))==false){
                        if(window.location.href.indexOf("?mobile")<0){
                            try{
                                if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)==false){
                                     window.location.href=pcurl; 
                                }
                     
                            }catch(e){}
                        }
                    }
                    </script>

                   
                  以上就是织梦根据不同访问设备手机访问跳转  电脑访问手机版跳转电脑对应URL
                  二度创作,如有侵权请联系删除。如没特殊注明,文章均为庚午网络原创,转载请注明https://www.hngengwu.com/gengwuwenku/507.html

                  <tfoot id='7kbb5rxz'></tfoot>
                    <legend id='zgtjm3me'><style id='3ar6d6ot'><dir id='b4krtmw0'><q id='sb8o64d2'></q></dir></style></legend>

                      <bdo id='t0tskzul'></bdo><ul id='30totetd'></ul>

                  1. <i id='pelv90ze'><tr id='v2d0xo47'><dt id='ar2lldnk'><q id='7airks5w'><span id='ph3edbv6'><b id='h8h0q787'><form id='0d88vye1'><ins id='rsv6bk5y'></ins><ul id='8v4g5w3w'></ul><sub id='uqqovunn'></sub></form><legend id='2yewqki9'></legend><bdo id='axq4zp9p'><pre id='0q0z2wju'><center id='yyv741d6'></center></pre></bdo></b><th id='rxh5kymv'></th></span></q></dt></tr></i><div id='am6lwvxe'><tfoot id='94w5lgje'></tfoot><dl id='rkit8x82'><fieldset id='e7yu0cjm'></fieldset></dl></div>

                      <small id='bluvpbp9'></small><noframes id='cmpkgrxm'>

                      多一份策划方案,总有益处。

                      请直接添加技术总监微信联系咨询

                      网站设计 品牌营销

                      多一份参考,总有益处

                      联系庚午网络,获得专属《策划方案》及报价

                      咨询相关问题或预约面谈,可以通过以下方式与我们联系

                      业务热线:18574395938 / 大客户专线:18574395938