Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.5k views
in Technique[技术] by (71.8m points)

vue 评论回复中的回复框应该怎么写

效果是这样的:点击回复在本条评论下出现一个框和一个按钮,这个框和按钮应该怎么写
image


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

so easy!!! 声明一个变量为false 你点击回复的时候改为true就显示了,然后回复用textarea文本域,给textarea加样式 focus时添加边框样式 ,这问题不要太基础..


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...