2020
10-08
10-08
微信小程序12行js代码自己写个滑块功能(推荐)
效果图如下所示.wxml<viewclass="jindu"bindtap="cuin"><viewclass="xian"style="width:{{towards}}px;"><viewclass="yuan"bindtouchmove='touchMove'></view></view></view><viewclass="bfb">{{percen}}%</view>.wxsspage{background-color:#ddd;}.jindu{margin:50pxcalc((100%-300px)/2)0;width:300px;float:left;height:6rpx;background-color:#fff;position:relative;}.xian{width:0%;float:...
继续阅读 >