上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 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 阅读(117) 评论(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 阅读(76) 评论(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 阅读(84) 评论(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 阅读(71) 评论(0) 推荐(0)
摘要: 功能描述 用来改进表单组件的可用性。 使用 for 属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件。 for优先级高于内部控件,内部有多个控件的时候默认触发第一个控件。 目前可以绑定的控件有:button, checkbox, radio, switch, input。 U 阅读全文
posted @ 2022-07-19 10:40 lichong951 阅读(42) 评论(0) 推荐(0)
摘要: UI布局 <!--pages/input/input.wxml--> <view class="weui-cells__title">可以自动聚焦的input</view> <input class="weui-input" auto-focus placeholder="将会获取焦点" /> <v 阅读全文
posted @ 2022-07-18 22:18 lichong951 阅读(213) 评论(0) 推荐(0)
摘要: UI布局: <!--pages/from/from.wxml--> <form catchsubmit="formSubmit" catchreset="formReset"> <view class="page-section-title">switch</view> <switch name=" 阅读全文
posted @ 2022-07-18 22:00 lichong951 阅读(65) 评论(0) 推荐(0)
摘要: 路径如下图: 高效的断点调试,解决bug的利器 具体步骤 1、先运行可浏览页面 2、找到待调试的页面 3、在调试器面板 Sources里找到对应路径的页面和js文件 4、在适当的位置设置断点 5、触发断点 6、注意单步调试按钮 自研产品推荐 历时一年半多开发终于smartApi-v1.0.0版本在2 阅读全文
posted @ 2022-07-18 16:39 lichong951 阅读(630) 评论(0) 推荐(0)
摘要: UI布局: <!--pages/CheckBox/CheckBox.wxml--> <view class="page-section-title">默认样式</view> <checkbox value="cb" checked="true" />选中 <checkbox value="cb" / 阅读全文
posted @ 2022-07-18 16:21 lichong951 阅读(55) 评论(0) 推荐(0)
摘要: UI布局: <!--pages/button/button.wxml--> <view class="btn-area" id="buttonContainer"> <button style="width: 100%;" type="primary">页面主操作 Normal</button> < 阅读全文
posted @ 2022-07-18 15:24 lichong951 阅读(61) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页