摘要: UI布局: <!--pages/camera/camera.wxml--> <camera device-position="back" flash="off" binderror="error" style="width: 100%; height: 300px;"></camera> <butt 阅读全文
posted @ 2022-07-20 23:12 lichong951 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 自动聚焦 UI布局如下: <!--pages/textArea/textArea.wxml--> <view class="section"> <textarea bindblur="bindTextAreaBlur" auto-height placeholder="自动变高" /> </view 阅读全文
posted @ 2022-07-20 22:39 lichong951 阅读(65) 评论(0) 推荐(0) 编辑
摘要: UI布局: <!--pages/switch/switch.wxml--> <view class="section__title">type="switch"</view> <view class="body-view"> <switch checked="{{switch1Checked}}" 阅读全文
posted @ 2022-07-20 15:10 lichong951 阅读(8) 评论(0) 推荐(0) 编辑
摘要: UI布局: <!--pages/slider/slider.wxml--> <text class="page__title">slider</text> <text class="page__desc">滑块</text> <text class="section__title">设置left/r 阅读全文
posted @ 2022-07-20 11:06 lichong951 阅读(46) 评论(0) 推荐(0) 编辑
摘要: UI布局: <!--pages/radio/radio.wxml--> <view class="page-section-title">默认样式</view> <label class="radio"> <radio value="r1" checked="true"/>选中 </label> < 阅读全文
posted @ 2022-07-20 09:51 lichong951 阅读(43) 评论(0) 推荐(0) 编辑
摘要: UI布局如下: <!--pages/pickerView/pickerView.wxml--> <view class="selected-date">{{year}}年{{month}}月{{day}}日{{isDaytime ? "白天" : "夜晚"}}</view> <picker-view 阅读全文
posted @ 2022-07-20 09:23 lichong951 阅读(20) 评论(0) 推荐(0) 编辑