官方代码如下:
< view class = "section" > < view class = "section__title" >时间选择器</ view > < picker mode = "time" value = "{{time}}" start = "09:01" end = "21:01" bindchange = "bindTimeChange" > < view class = "picker" > 当前选择: {{time}} </ view > </ picker > </ view > |
<
view
class
=
"picker"
>
这行代码的作用是什么?注释掉这行代码也可以正常运行。
给你自定义样式的
好的,谢谢
自定义选择后文字的样式的 = =。