使用伪元素加下就行了 .picker-toolbar:before { content: '选择日期'; position: absolute; left: 50%; top: 10px; transform: translate(-50%); color: red; }
阅读量:1
点赞量:0