<block wx:if="{{show}}"><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="t-wrapper" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="{{['t-mask',(active)?'active':'']}}" catchtap="__e"></view><view class="{{['t-box',(active)?'active':'']}}"><view class="t-header"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="t-header-button" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="t-header-button" bindtap="__e">确认</view></view><view class="t-color__box" style="{{'background:'+('rgb('+bgcolor.r+','+bgcolor.g+','+bgcolor.b+')')+';'}}"><view data-event-opts="{{[['touchstart',[['touchstart',['$event',0]]]],['touchmove',[['touchmove',['$event',0]]]],['touchend',[['touchend',['$event',0]]]]]}}" class="t-background boxs" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="t-color-mask"></view><view class="t-pointer" style="{{'top:'+(site[0].top-8+'px')+';'+('left:'+(site[0].left-8+'px')+';')}}"></view></view></view><view class="t-control__box"><view class="t-control__color"><view class="t-control__color-content" style="{{'background:'+('rgba('+rgba.r+','+rgba.g+','+rgba.b+','+rgba.a+')')+';'}}"></view></view><view class="t-control-box__item"><view data-event-opts="{{[['touchstart',[['touchstart',['$event',1]]]],['touchmove',[['touchmove',['$event',1]]]],['touchend',[['touchend',['$event',1]]]]]}}" class="t-controller boxs" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="t-hue"><view class="t-circle" style="{{'left:'+(site[1].left-12+'px')+';'}}"></view></view></view><view data-event-opts="{{[['touchstart',[['touchstart',['$event',2]]]],['touchmove',[['touchmove',['$event',2]]]],['touchend',[['touchend',['$event',2]]]]]}}" class="t-controller boxs" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="t-transparency"><view class="t-circle" style="{{'left:'+(site[2].left-12+'px')+';'}}"></view></view></view></view></view><view class="t-result__box"><block wx:if="{{mode}}"><view class="t-result__item"><view class="t-result__box-input">{{hex}}</view><view class="t-result__box-text">HEX</view></view></block><block wx:else><view class="t-result__item"><view class="t-result__box-input">{{rgba.r}}</view><view class="t-result__box-text">R</view></view><view class="t-result__item"><view class="t-result__box-input">{{rgba.g}}</view><view class="t-result__box-text">G</view></view><view class="t-result__item"><view class="t-result__box-input">{{rgba.b}}</view><view class="t-result__box-text">B</view></view><view class="t-result__item"><view class="t-result__box-input">{{rgba.a}}</view><view class="t-result__box-text">A</view></view></block><view data-event-opts="{{[['tap',[['select',['$event']]]]]}}" class="t-result__item t-select" bindtap="__e"><view class="t-result__box-input"><view>切换</view><view>模式</view></view></view></view><view class="t-alternative"><block wx:for="{{colorList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="t-alternative__item"><view data-event-opts="{{[['tap',[['selectColor',['$0'],[[['colorList','',index]]]]]]]}}" class="t-alternative__item-content" style="{{'background:'+('rgba('+item.r+','+item.g+','+item.b+','+item.a+')')+';'}}" bindtap="__e"></view></view></block></view></view></view></block>