赞
踩
提交表单
微信小程序交流群:111733917 | 微信小程序从0基础到就业的课程:https://edu.csdn.net/topic/huangjuhua
/**
* 页面的初始数据
*/
data: {
},
mychange: function (e) {
console.log(e.detail.value)
},
mysubmit: function (e) {
console.log(e.detail.value)
},
<form bindsubmit='mysubmit' bindreset='myreset'>
<slider show-value name="s1" value='1' bindchange='mychange' />
<slider min='60' max='150' value='66' show-value name="s2" bindchange='mychange' />
<slider min='60' max='150' step='10' value='77' show-value name="s3" bindchange='mychange' />
<button form-type='submit'>提交</button>
<button form-type='reset'>重置</button>
</form>
欢迎大家收看我的视频教程:微信小程序组件入门到精通
https://edu.csdn.net/course/detail/16193
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。