/* pages/map/map.wxss */ .map-box{margin: 20rpx; background-color: #fff; padding: 20rpx; border-radius: 10rpx; box-shadow: 0rpx 8rpx 24rpx #ccc;position: relative;} .map { width:100%; height:220px; margin-bottom: 20rpx; } .map-txt{font-size: 28rpx; line-height: 40rpx;} .mask{position: absolute; left: 0; top: 0; width: 100%; height: 100%;}