摘要:
UI布局: <!--pages/camera/camera.wxml--> <camera device-position="back" flash="off" binderror="error" style="width: 100%; height: 300px;"></camera> <butt 阅读全文
摘要:
自动聚焦 UI布局如下: <!--pages/textArea/textArea.wxml--> <view class="section"> <textarea bindblur="bindTextAreaBlur" auto-height placeholder="自动变高" /> </view 阅读全文
摘要:
UI布局: <!--pages/switch/switch.wxml--> <view class="section__title">type="switch"</view> <view class="body-view"> <switch checked="{{switch1Checked}}" 阅读全文
摘要:
UI布局: <!--pages/slider/slider.wxml--> <text class="page__title">slider</text> <text class="page__desc">滑块</text> <text class="section__title">设置left/r 阅读全文
摘要:
UI布局: <!--pages/radio/radio.wxml--> <view class="page-section-title">默认样式</view> <label class="radio"> <radio value="r1" checked="true"/>选中 </label> < 阅读全文
摘要:
UI布局如下: <!--pages/pickerView/pickerView.wxml--> <view class="selected-date">{{year}}年{{month}}月{{day}}日{{isDaytime ? "白天" : "夜晚"}}</view> <picker-view 阅读全文