上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: UI布局: <!--pages/video/video.wxml--> <video id="myVideo" src="http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f020169040 阅读全文
posted @ 2022-07-22 08:46 lichong951 阅读(56) 评论(0) 推荐(0) 编辑
摘要: UI布局: <!--pages/image/image.wxml--> <view class="page__hd"> <text class="page__title">image</text> <text class="page__desc">图片</text> </view> <view cl 阅读全文
posted @ 2022-07-21 14:55 lichong951 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: UI布局如下: <!--pages/picker/picker.wxml--> <view class="section__title">普通选择器</view> <picker bindchange="bindPickerChange" value="{{index}}" range="{{arr 阅读全文
posted @ 2022-07-19 10:58 lichong951 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 功能描述 用来改进表单组件的可用性。 使用 for 属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件。 for优先级高于内部控件,内部有多个控件的时候默认触发第一个控件。 目前可以绑定的控件有:button, checkbox, radio, switch, input。 U 阅读全文
posted @ 2022-07-19 10:40 lichong951 阅读(13) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页