更新了现在map支持view了,(但是当你更新以后,发现部分用户地图一片空白,然后又改回到了cover-view😅,原因是微信有部分安卓机不支持这个map上添加view)坑。

cover-view
文字显示不全
//加一行
white-space:pre-wrap;
//---------------
字体居中
//水平居中
text-align: center;
//垂直居中(数值我这里是view的高度。)
line-height:50px;
总体
.cotentTT{
position: absolute;
width: 100%;
top: 100px;
height: 50px;
font-size: 18px;
color: red;
text-align: center;
line-height:50px;
white-space:pre-wrap;
}

cover-image
不支持网络获取图片,
网友评论