carslider.wxml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--components/carslider.wxml-->
  2. <view class="carslider_content_c">
  3. <!-- <slider
  4. class="carslider_er"
  5. min="{{min||'0'}}"
  6. max="{{max||'50'}}"
  7. value="{{value}}"
  8. activeColor="#FFD800"
  9. backgroundColor="#ffffff"
  10. block-color="#FFD800"
  11. bindchange="bindchange"
  12. bindchanging="bindchanging"
  13. block-src="../../img/slider.png"
  14. >
  15. </slider> -->
  16. <view
  17. bindtap="tapToScale"
  18. bindtouchmove="touchMove"
  19. bindtouchend="changeEndScale"
  20. class="slider_line_b">
  21. <view class="slider_line_el">
  22. <view
  23. style="width:{{scale*100}}%;"
  24. class="slider_line_sl"
  25. >
  26. <view
  27. class="slider_control_b"
  28. >
  29. <view
  30. class="slider_control_v"
  31. >{{value}}{{unit}}</view>
  32. <view
  33. class="slider_control_vb">
  34. </view>
  35. <image src="../../img/slider.png"/>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="slider_value_b">
  41. <view class=""></view>
  42. </view>
  43. <view class="space_box">
  44. <block wx:for="{{list}}" wx:key="item">
  45. <view>{{item}}{{unit}}</view>
  46. </block>
  47. </view>
  48. </view>