function browserRedirect() { var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os"; var bIsMidp = sUserAgent.match(/midp/i) == "midp"; var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4"; var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb"; var bIsAndroid = sUserAgent.match(/android/i) == "android"; var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce"; var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; if (!(bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) ){ //电脑端 //加载css var linkNode = document.createElement("link"); linkNode.setAttribute("rel","stylesheet"); linkNode.setAttribute("type","text/css"); linkNode.setAttribute("href","/images/default/css_pc.css"); document.head.appendChild(linkNode); //加载js var scriptNode = document.createElement("script"); scriptNode.setAttribute("type", "text/javascript"); scriptNode.setAttribute("src", "../../js/index.min.js"); document.head.appendChild(scriptNode); }else{ //手机端 //加载css var oMeta = document.createElement('meta'); oMeta.name = 'viewport'; oMeta.content = 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no'; document.getElementsByTagName('head')[0].appendChild(oMeta); var linkNode = document.createElement("link"); linkNode.setAttribute("rel","stylesheet"); linkNode.setAttribute("type","text/css"); linkNode.setAttribute("href","/images/default/css_wap.css"); document.head.appendChild(linkNode); //加载js var scriptNode = document.createElement("script"); scriptNode.setAttribute("type", "text/javascript"); scriptNode.setAttribute("src", "../../js/phone.min.js"); document.head.appendChild(scriptNode); } } browserRedirect();//调用判断当前访问页面是手机端还是移动端
技术赋能地产营销
NEWS
动态资讯2024-09
在房地产行业,拓客是至关重要的一环,只有通过有效的拓客方式,才能吸引更多客户,提升销售业绩。那么,最有效的房地产拓客方式有哪些呢?下面将为您详细介绍。
2024-09
房地产拓客是一个非常重要的环节,对于房地产行业的发展起着至关重要的作用。在这个竞争激烈的市场中,拓客经典模式成为了房地产行业中的一种常见方式。下面将从几个方面详细阐述房地产拓客的经
2024-09
在房地产中介行业,小红书已经成为了一种新的引流方式。那么,小红书中介如何找到商家呢?下面就来详细阐述一下。
2024-09
房地产拓客是指通过各种方式和手段,扩大房地产销售业务的工作。在竞争激烈的房地产市场中,拓客工作显得尤为重要。拓客人员需要通过市场调研、客户开发、销售推广等手段,吸引更多的潜在客户,
2024-09
房地产渠道拓客是房地产行业中非常重要的一环,它直接关系到企业的销售业绩和市场竞争力。本文将介绍几个优秀的房地产渠道拓客案例,希望能够给大家带来一些启发和借鉴。
2024-09
案场管理方案软件的服务商通过提供专业的管理系统,可以帮助案场管理人员更加高效地进行工作。从客户信息管理到销售数据分析,软件可以帮助管理人员更快速地完成各项工作,提高工作效率。
CopyRight © 2022 世诚云 All rights reserved. 赣ICP备20010289号-1 赣公网安备36010902001091号