首先是wxml部分
<view class="proess-box">
<view class="time">{
{currentTime}}</view>
<movable-area catchtouchmove="voidMethod" catchtap="tap" class="progress-box" style="width:{
{width}}px;height:10px">
<view class="bg-box">
<view style="width:{
{value}}%" class="inner"></view>
</view>
<movable-view class="progress-dot" wx:if="{
{showDot}}" x="{
{(value/100)*width}}" bindtouchmove="touchmove" bindtouchend="touchend" direction="horizontal" bindchange="getCgh">
<view class="dot"></view>
</movable-view>
</movable-area>
<view class="end-time time" style="left: {
{width&#