本节目的:文章评论输入框实现,效果图:
1. 引入弹出层组件并使用
2. 方法
3. 样式
.popup-wrap {
background-color: #fff;
.popup-header {
display: flex;
justify-content: space-between;
font-size: 14px;
color: #666;
border-bottom: 1px #F5F5F5 solid;
.popup-header_item {
height: 50px;
line-height: 50px;
padding: 0 15px;
}
}
.popup-content {
100%;
padding: 15px;
box-sizing: border-box;
.popup-textarea {
100%;
height: 200px;
}
.popup-count {
display: flex;
justify-content: flex-end;
font-size: 12px;
color: #999;
}
}
}