背景颜色百分比,不影响文本:background: rgba(255, 247, 247, 0.5); 最后一位为透明度 宽度/高度百分百减去固定长度: width: calc(100% - 96upx - 60upx - 20upx);