<view class="picker">的作用是什么?
官方代码如下:
< 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”
>
这行代码的作用是什么?注释掉这行代码也可以正常运行。