tm-flotbutton.wxml 2.2 KB

1
  1. <view class="{{['nobody','fulled','data-v-3fef0e31',absolute?'fulled':'',fixed?'d-inline-block':'',absolute&&position=='bottom'?'flex-end-center height100':'']}}"><view class="{{['data-v-3fef0e31',absolute?'fulled':'',absolute?'relative':'',absolute&&position=='top'?'flex-center':'',absolute&&position=='bottom'?'flex-end-center height100':'',fixed?'d-inline-block':'']}}"><view class="{{['flotbtnId','data-v-3fef0e31',absolute?'absolute':'',fixed?'fixed':'']}}" style="{{(pos)}}"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><block wx:if="{{isRender}}"><tm-button vue-id="84198e16-1" open-type="{{openType}}" showValue="{{showText}}" vertical="{{true}}" label="{{label}}" fontSize="{{fontSize}}" iconSize="{{iconSize}}" theme="{{color_tmeme}}" round="rouned" font-color="{{fontColor}}" bgcolor="{{bgcolor}}" size="{{size}}" width="{{width}}" height="{{width}}" icon="{{icon}}" fab="{{true}}" data-event-opts="{{[['^contact',[['$emit',['contact','$event']]]],['^error',[['$emit',['error','$event']]]],['^getphonenumber',[['$emit',['getphonenumber','$event']]]],['^getuserinfo',[['$emit',['getuserinfo','$event']]]],['^launchapp',[['$emit',['launchapp','$event']]]],['^opensetting',[['$emit',['opensetting','$event']]]],['^longpress',[['$emit',['longpress','$event']]]],['^touchcancel',[['$emit',['touchcancel','$event']]]],['^click',[['click']]]]}}" bind:contact="__e" bind:error="__e" bind:getphonenumber="__e" bind:getuserinfo="__e" bind:launchapp="__e" bind:opensetting="__e" bind:longpress="__e" bind:touchcancel="__e" bind:click="__e" class="data-v-3fef0e31" bind:__l="__l"></tm-button></block></block><block wx:if="{{(show||showActions)&&actions.length>0}}"><view class="{{['menulistAction','data-v-3fef0e31',actionsPos]}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="menulistAction_item data-v-3fef0e31"><tm-button vue-id="{{'84198e16-2-'+index}}" fllowTheme="{{false}}" fab="{{true}}" iconSize="40" icon="{{item.$orig.icon}}" theme="{{item.$orig.color}}" size="m" data-event-opts="{{[['^click',[['itemChange',[index]]]]]}}" bind:click="__e" class="data-v-3fef0e31" bind:__l="__l"></tm-button><view class="zi data-v-3fef0e31">{{item.m0}}</view></view></block></view></block></view></view></view>