placeholder的字体样式改变,滚动条的颜色改变,ios日期兼容

时间:2022-12-05 13:50:08
placeholder:

::-webkit-input-placeholder { color:  rgba(153, 153, 153, 0.541);font-size:12px;}
:-moz-placeholder {color: rgba(153, 153, 153, 0.541);font-size:12px;}
::-moz-placeholder {color: rgba(153, 153, 153, 0.541);font-size:12px;}
:-ms-input-placeholder {color: rgba(153, 153, 153, 0.541);font-size:12px;} scollbar:
::-webkit-scrollbar {width:6px; border-radius: 3px;background-color:#eff0f3;  opacity: 0.1; z-index: 309;}
::-webkit-scrollbar-thumb{ border-radius: 3px; background-color: #c19b74; opacity: 0.1; z-index: 309; }
ios日期兼容:
new Date(res.data[i].inventoryDate.replace(/-/g, "/"));