Comments (5)
- 1、确认下hotcss有没有强制dpr=1
<meta name="hotcss" content="initial-dpr=1">
- 2、尝试在原生浏览器打开,验证是否正常显示。
from hotcss.
- 并没有设置强制dpr=1
2.在原生浏览器的和ios设备的都是正常的
所以我觉得是不是要在app做什么配置,咨询了我们的安卓开发,他们也是不清楚,只能来这里求助了-_-
from hotcss.
让安卓开发打开debug开关,然后PC Chrome远程调试一下页面。定位一下问题。
可能出现问题的地方:dpr
,document.documentElement.getBoundingClientRect().width
。
安卓webview开启debug方法如下:
调试WebView需要满足安卓系统版本为Android 4.4+。在WebView类中调用静态方法setWebContentsDebuggingEnabled
if (Build.VERSION.SDK_INT >=Build.VERSION_CODES.KITKAT) {
WebView.setWebContentsDebuggingEnabled(true);
}
from hotcss.
之前debug过,dpr和meta设置都是对的,只是scale的效果并没有生效
from hotcss.
这个问题配合安卓开发debug下吧。纯前端已然看不出任何问题了。先close掉。任何疑问随时联系。
from hotcss.
Related Issues (20)
- 不设置高度字体内容会变大
- 请问如何在fis3中使用 px2rem.less ? HOT 4
- 安卓的dpr靠谱么? HOT 2
- js动态设置font-size和你们的解决方案有什么区别吗? HOT 4
- 2K屏适配会出现放大的问题
- 在iphone6以上的机型上用hotcss.js 会出现左右滑动 HOT 1
- 在ios下长按图片的时候有所偏移 HOT 1
- 安卓系统webview打开适配失效 HOT 1
- 请问怎么配合postcss-plugin-px2rem使用 HOT 5
- 请问怎么引入到vue中? HOT 2
- 为什么移动端调试情况下的宽度是页面元素选择body的宽度的一半 HOT 2
- parseInt(px,10)*320/designWidth/20 HOT 2
- meta自动添加缺少iPhone X的适配 HOT 3
- hotcss 如何与类似mint-ui这种ui框架兼容 HOT 1
- vue-cli3中按照常规引入hotcss无效如果正确引入? HOT 5
- px2rem HOT 1
- 会对iframe,第三方组件也起到作用,导致第三方页面和组件失真。 HOT 1
- 可以应用到 PC端吗? HOT 1
- hotcss.js 算是不是有点问题 HOT 4
- 希望添加2个参数配置 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotcss.