riku
2024-11-14 00a96d6881dd10ae7d3c4f5437bfceaabe677723
miniprogram_npm/tdesign-miniprogram/fab/fab.wxml
@@ -1,12 +1,7 @@
<import src="../common/template/button.wxml" />
<wxs src="../common/utils.wxs" module="_" />
<import src="./template/view.wxml" />
<import src="./template/draggable.wxml" />
<view
  class="{{classPrefix}} class {{prefix}}-class"
  style="right: 16px; bottom: 32px; {{_._style([style, customStyle])}}"
>
  <template
    is="button"
    data="{{ ...baseButtonProps, icon, ...buttonProps, externalClass: prefix + '-fab__button', content: text, ariaLabel}}"
  />
</view>
<template
  is="{{draggable ? 'draggable' : 'view'}}"
  data="{{prefix, classPrefix, style, customStyle, moveStyle, draggable, buttonData}}"
/>