grove_Li

Results comments of grove_Li

@SimonZhangITer 微信在ios上的标题,我试过是可以的,也是使用iframe document.title = title; var mobile = navigator.userAgent.toLowerCase(); // 针对微信 if (/iphone|ipad|ipod/.test(mobile)) { var iframe = document.createElement('iframe'); iframe.style.display = 'none'; // 替换成站标favicon路径或者任意存在的较小的图片即可 iframe.setAttribute('src', 'logo.png'); var iframeCallback = function ()...

@SimonZhangITer 会不会是iframe src的问题,我完整的图片地址没贴出来,微信很坑的,我们的图片地址放在阿里云的cdn上,还因此被微信给封过,既然代码一样,我想问题会不会出在这里,仅供参考,

![img_4981](https://cloud.githubusercontent.com/assets/16573314/21248788/6f92b05a-c374-11e6-874c-e38bad532e8b.PNG) ![img_4982](https://cloud.githubusercontent.com/assets/16573314/21248789/6f93bdf6-c374-11e6-943e-5d4c49e388bc.PNG) 逻辑说一遍,页面是用的dpr,viewport 0.5,做省市区三级的,想省变了之后市和区一起跟着变,在你代码759行,修改成了这样this.$emit('change', this.getItemValue(), this.$el, this.reset);到此没有问题,然后修改样式,把picker-content的高调到了432px,滑动就出现了这个问题,目前只在ios上有这个问题

我在垂直距离滑动很长距离之后,就会出现,是和js有关么?

是的,样式是这么处理的,viewport设置成0.5了,所以整体都变小了一倍

恩,这个我知道,可是问题不是出在这里啊,样式什么的我都好改