感谢您的关注,我们一直致力于为您提供放心、满意的服务。
代码比较简单,判断客户端浏览器信息是否包含Mobile。
<%if instr(request.servervariables("http_user_agent"),"Mobile")>0 then%>电脑端显示内容<%else%>手机端显示内容(可以加入跳转代码)<%end if%>