Home
Sign Up
Sign In
V2EX
›
问与答
V2EX 的前端貌似不是响应式的,那么它是如何判断 PC 端和移动端的访问呢?
Jafee
·
Oct 30, 2015
· 3714 views
This topic created in 4031 days ago, the information mentioned may be changed or developed.
如果是使用 nginx 判断的,有没有特别详细的配置细节?
查了查,没有找到特别靠谱的解决方案。希望大家可以给些指点。
V2EX
Nginx
判断
指点
9 replies
•
2015-12-07 20:45:04 +08:00
Biwood
Oct 30, 2015
1
难道不是根据请求头部里的 user-agent 值来判断
9hills
Oct 30, 2015
1
2
http://detectmobilebrowsers.com/
handleyan
Oct 30, 2015
3
根据屏幕宽度,做自适应
dant
Oct 30, 2015
4
User-Agent
bibizhang
Oct 30, 2015
5
是这样的
HentaiMew
Oct 30, 2015
6
然而 V2EX 是根据 ua 不是根据屏幕宽度的。
Jafee
OP
Nov 2, 2015
7
@
9hills
谢谢谢谢!
ldehai
Dec 7, 2015
8
@
Jafee
Jafee
OP
Dec 7, 2015
9
@
ldehai
谢谢!
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4881 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 55ms ·
UTC 02:45
·
PVG 10:45
·
LAX 18:45
·
JFK 21:45
♥ Do have faith in what you're doing.
❯