weliam-smartcity智慧城市
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
3.2 KiB

<view><view data-event-opts="{{[['tap',[['handleClickCancel',['$event']]]]]}}" class="{{['tui-fab-mask',(isOpen)?'tui-visible':'']}}" catchtap="__e"></view><view class="{{['tui-fab-btn',(isOpen)?'tui-visible':'',(hidden)?'tui-fab-hidden':'']}}" style="{{('right: '+left+'px; bottom:'+($root.m0+50)+'px;')}}"><block wx:for="{{btnList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleClick',['$0'],[[['btnList','',index,'id']]]]]]]}}" class="{{['tui-fab-item-box',(lefts&&!rights&&item.imgUrl)?'tui-fab-item-left':'']}}" catchtap="__e"><block wx:if="{{item.imgUrl}}"><view class="{{[lefts&&!rights?'tui-text-left':'tui-text-right']}}" style="{{'font-size:'+(item.fontSize+'rpx')+';'+('color:'+(item.color)+';')}}">{{item.text||""}}</view></block><view class="tui-fab-item" style="{{'width:'+(widths+'rpx')+';'+('height:'+(heights+'rpx')+';')+('background:'+(item.bgColor||bgColor)+';')+('border-radius:'+(radius)+';')}}"><block wx:if="{{!item.imgUrl}}"><view class="tui-fab-title" style="{{'font-size:'+(item.fontSize+'rpx')+';'+('color:'+(item.color)+';')}}">{{item.text||""}}</view></block><block wx:else><image class="tui-fab-img" style="{{'width:'+(item.imgWidth+'rpx')+';'+('height:'+(item.imgHeight+'rpx')+';')}}" src="{{item.imgUrl}}"></image></block></view></view></block></view><block wx:if="{{CustomerService.wxappcur==1}}"><view><button class="{{['drag','buttondrag',(isDock&&!isMove)?'transition':'']}}" style="{{('left: '+left+'px; bottom:'+top+'px;')}}" id="_drag_button" open-type="contact" hover-class="none" data-event-opts="{{[['touchstart',[['touchstart',['$event']]]],['touchmove',[['touchmovel',['$event']]]],['touchend',[['touchend',['$event']]]]]}}" bindtouchstart="__e" catchtouchmove="__e" bindtouchend="__e"><image class="img" style="{{'width:'+(CustomerService.logowidth+'px')+';'+('height:'+(CustomerService.logowidth+'px')+';')}}" src="{{CustomerService.susicon}}" mode="aspectFit"></image></button></view></block><block wx:else><view><block wx:if="{{CustomerService.logoloca==1}}"><view><view class="{{['drag',(isDock&&!isMove)?'transition':'']}}" style="{{('left: '+left+'px; bottom:'+top+'px;')}}" id="_drag_button" data-event-opts="{{[['touchstart',[['touchstart',['$event']]]],['touchmove',[['touchmovel',['$event']]]],['touchend',[['touchend',['$event']]]],['tap',[['click',[-1]]]]]}}" bindtouchstart="__e" catchtouchmove="__e" bindtouchend="__e" catchtap="__e"><image class="img" style="{{'width:'+(CustomerService.logowidth+'px')+';'+('height:'+(CustomerService.logowidth+'px')+';')}}" src="{{CustomerService.susicon}}" mode="aspectFit"></image></view></view></block><block wx:if="{{CustomerService.logoloca==0}}"><view><view class="{{['drag',(isDock&&!isMove)?'transition':'']}}" style="{{('right: '+left+'px; bottom:'+top+'px;')}}" id="_drag_button" data-event-opts="{{[['touchstart',[['touchstart',['$event']]]],['touchmove',[['touchmover',['$event']]]],['touchend',[['touchend',['$event']]]],['tap',[['click',[-1]]]]]}}" bindtouchstart="__e" catchtouchmove="__e" bindtouchend="__e" catchtap="__e"><image class="img" style="{{'width:'+(CustomerService.logowidth+'px')+';'+('height:'+(CustomerService.logowidth+'px')+';')}}" src="{{CustomerService.susicon}}" mode="aspectFit"></image></view></view></block></view></block></view>