if (isIos) {
const userAgent = window.navigator.userAgent.toLowerCase();
//const match = userAgent.match(/\b(iPad|iPhone|iphone|iPod).?OS\s+(\d+[.]\d+[.]?\d)/i);
const match = userAgent.match(/iphone os ([\d_]+) /i);
//判断ios版本是否大于16,16_2实际获取版本号为155
if (match) {
//const matchlist = match[2].split('');
//const version = matchlist[0]+'_'+matchlist[1]
//if(version >= "15_5") {
if(match && match[1] >= '15_5'){
self.list.style.webkitTransformOrigin = 'center center 0px';
return
};
}
self.list.style.webkitTransformOrigin = 'center center ' + self.r + 'px';
}
/*-webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent);
-webkit-mask-box-image: linear-gradient(top, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent);*/
https://dcloud.io/hellomui/css/mui.picker.css
https://dcloud.io/hellomui/css/mui.poppicker.css
https://dcloud.io/hellomui/js/mui.picker.js
https://dcloud.io/hellomui/js/mui.poppicker.js
发表评论 取消回复