carslider.wxml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. >
  32. <view
  33. class="slider_control_vd"
  34. >{{value}}{{unit}}
  35. </view>
  36. </view>
  37. <view
  38. class="slider_control_vb">
  39. </view>
  40. <image src="../../img/slider.png"/>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="slider_value_b">
  46. <view class=""></view>
  47. </view>
  48. <view class="space_box">
  49. <block wx:for="{{list}}" wx:key="item">
  50. <view>{{item}}{{unit}}</view>
  51. </block>
  52. </view>
  53. </view>