问题1:小程序ios端的margin-bottom无效。
解决办法:用padding-bottom替换。
问题2:小程序ios端的日期为NaN-NaN...
原因:一般日期为"2020-08-08 08:08:08"格式,ios日期只支持"2020/08/08 08:08:08"
解决办法:运用正则转为需要的ios兼容的格式
//2020-08-08 08:08:08的时候 let newDate = date.toString().replace(/-/g,"/"); //2020-08-08T08:08:08的时候 let newDate = date.toString().replace(/-/g,"/").replace(/T/g,' ');