1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <!--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 class="slider_line_b">
- <view class="slider_line_el">
- <view
- style="width:{{scale*100}}%;"
- class="slider_line_sl"
- >
- <view
- class="slider_control_b"
- bindtouchmove="changeScale"
- bindtouchend="changeEndScale"
- >
- <view
- class="slider_control_v"
- >{{value}}{{unit}}</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>
|