123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <!--components/carslider.wxml-->
- <view class="carslider_content_c">
- <!-- <slider
- class="carslider_er"
- min="{{min||'0'}}"
- max="{{max||'50'}}"
- value="{{value}}"
- activeColor="#FFD800"
- backgroundColor="#ffffff"
- block-color="#FFD800"
- bindchange="bindchange"
- bindchanging="bindchanging"
- block-src="../../img/slider.png"
- >
- </slider> -->
- <view
- bindtap="tapToScale"
- bindtouchmove="touchMove"
- bindtouchend="changeEndScale"
- class="slider_line_b">
- <view class="slider_line_el">
- <view
- style="width:{{scale*100}}%;"
- class="slider_line_sl"
- >
- <view
- class="slider_control_b"
- >
- <view
- class="slider_control_v"
- >
- <view
- class="slider_control_vd"
- >{{value}}{{unit}}
- </view>
- </view>
- <view
- class="slider_control_vb">
- </view>
- <image src="../../img/slider.png"/>
- </view>
- </view>
- </view>
- </view>
- <view class="slider_value_b">
- <view class=""></view>
- </view>
- <view class="space_box">
- <block wx:for="{{list}}" wx:key="item">
- <view>{{item}}{{unit}}</view>
- </block>
- </view>
- </view>
|