1 |
- <view class="{{['fulled','tm-slider','','data-v-00b559b9',step>0?'pb-36':'pb-24']}}" style="{{'height:'+(vertical?heightpx+'px':'auto')+';'+('width:'+(vertical?'5px':'100%')+';')}}"><view class="{{['','tm-slider-id','fulled','','data-v-00b559b9',vertical?'vertical':'flex-between']}}"><block wx:if="{{showLeft}}"><view class="{{['label_slider','left','','flex-col','text-size-xs','text-grey-darken-1','data-v-00b559b9',vertical?'':'flex-center']}}"><block wx:if="{{$slots.left}}"><slot name="left"></slot><scoped-slots-left data="{{({value:value,color:color_tmeme,icon:leftIcon,max:max})}}" class="scoped-ref" bind:__l="__l"></scoped-slots-left></block><block wx:else><block wx:if="{{leftIcon&&!vertical}}"><tm-icons vue-id="15f65e6d-1" size="28" name="{{leftIcon}}" color="{{color_tmeme}}" class="data-v-00b559b9" bind:__l="__l"></tm-icons></block><view class="text-size-xs text-grey-darken-1 data-v-00b559b9">{{value}}</view></block></view></block><view class="slider_id data-v-00b559b9" style="{{'width:'+(vertical?'auto':sliderWidth+'px')+';'+('height:'+(vertical?sliderWidth+'px':'5px')+';')}}"><view class="{{['slider_id_bg','','round-10','data-v-00b559b9',bgColor,black_tmeme?'bk':'']}}"></view><view class="{{['slider_id_active','round-10','','data-v-00b559b9',color_tmeme,black_tmeme?'bk':'']}}" style="{{'width:'+(vertical?'100%':active_width+'%')+';'+('height:'+(vertical?active_width+'%':'100%')+';')}}"></view><view data-event-opts="{{[['touchcancel',[['barEnd',['$event']]]],['touchstart',[['barStart',['$event']]]],['touchend',[['barEnd',['$event']]]],['touchmove',[['barMove',['$event']]]],['mouseleave',[['barEnd',['$event']]]],['mousedown',[['barStart',['$event']]]],['mouseup',[['barEnd',['$event']]]],['mousemove',[['barMove',['$event']]]]]}}" class="{{['slider_bar','border-white-a-2','','rounded','data-v-00b559b9',color_tmeme,black_tmeme?'bk':'',' shadow-'+color_tmeme+'-10']}}" style="{{'left:'+(vertical?0:barLeft+'px')+';'+('top:'+(vertical?barLeft+'px':0)+';')}}" bindtouchcancel="__e" bindtouchstart="__e" bindtouchend="__e" catchtouchmove="__e" bindmouseleave="__e" bindmousedown="__e" bindmouseup="__e" catchmousemove="__e"><block wx:if="{{showTopTips||showTip}}"><view class="{{['slider_bar_showbg','border-white-a-1','data-v-00b559b9',color_tmeme,black_tmeme?'bk':'']}}"></view></block><block wx:if="{{showTopTips||showTip}}"><view class="{{['slider_bar_num','text-size-xs','flex-center','data-v-00b559b9',color_tmeme,black_tmeme?'bk':'']}}"><block wx:if="{{$slots.tips}}"><slot name="tips"></slot><scoped-slots-tips data="{{value}}" class="scoped-ref" bind:__l="__l"></scoped-slots-tips></block><block wx:else>{{value}}</block></view></block></view><view class="kdc_wk data-v-00b559b9"><block wx:for="{{kdcNum}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['kdc_wk_item','rounded','','border-white-a-1','','data-v-00b559b9',color_tmeme,black_tmeme?'bk':'']}}" style="{{'left:'+(vertical?0:item.left)+';'+('top:'+(vertical?item.left:0)+';')}}"><view class="{{['kdc_wk_item_label','','pl-0','data-v-00b559b9',vertical?'pl-24':'pa-24']}}"><text class="text-size-xs text-grey-darken-1 data-v-00b559b9">{{item.kedu}}</text></view></view></block></view></view><block wx:if="{{showRight}}"><view class="{{['label_slider','right','','flex-col','text-size-xs','text-grey-darken-1','data-v-00b559b9',vertical?'flex-end':'flex-center']}}"><block wx:if="{{$slots.right}}"><slot name="right"></slot><scoped-slots-right data="{{({value:value,color:color_tmeme,icon:rightIcon,max:max})}}" class="scoped-ref" bind:__l="__l"></scoped-slots-right></block><block wx:else><block wx:if="{{rightIcon&&!vertical}}"><tm-icons vue-id="15f65e6d-2" size="28" name="{{rightIcon}}" color="{{color_tmeme}}" class="data-v-00b559b9" bind:__l="__l"></tm-icons></block><view class="text-size-xs text-grey-darken-1 data-v-00b559b9">{{max}}</view></block></view></block></view></view>
|