这篇文章主要是简单的实现了vue2.0移动端自定义性别选择的功能,很简单但是经常用到,于是写了一个小小的demo,记录下来。
效果图:
图片.png
实现代码:
.app{ height:60px; background: #fff; border: 1px solid #f1ebeb; } .boy{ height:30px; background: fff; border-bottom: 1px solid #f1ebeb; } .boy input{ text-align: center; } .boy label{ text-align: center; } .girl{ height:30px; background: fff; }
原文作者:祈澈姑娘
作者:祈澈菇凉
链接:https://www.jianshu.com/p/f998f6f580c



