沙盘演示系统应用的微信小程序
zuoxiao
2024-08-28 eb3dbfdcb126beeb1d08f3306ac8f5bbc466e133
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<import src="../common/template/icon.wxml" />
<wxs src="../common/utils.wxs" module="_" />
 
<button
  id="{{tId}}"
  style="{{_._style([style, customStyle])}}"
  data-custom="{{ customDataset }}"
  class="class {{className}}"
  form-type="{{disabled || loading ? '' : type}}"
  open-type="{{disabled || loading ? '' : openType}}"
  hover-stop-propagation="{{hoverStopPropagation}}"
  hover-start-time="{{hoverStartTime}}"
  hover-stay-time="{{hoverStayTime}}"
  lang="{{lang}}"
  session-from="{{sessionFrom}}"
  hover-class="{{disabled || loading ? '' : (hoverClass || classPrefix + '--hover')}}"
  send-message-title="{{sendMessageTitle}}"
  send-message-path="{{sendMessagePath}}"
  send-message-img="{{sendMessageImg}}"
  app-parameter="{{appParameter}}"
  show-message-card="{{showMessageCard}}"
  catch:tap="handleTap"
  bind:getuserinfo="getuserinfo"
  bind:contact="contact"
  bind:getphonenumber="getphonenumber"
  bind:error="error"
  bind:opensetting="opensetting"
  bind:launchapp="launchapp"
  bind:chooseavatar="chooseavatar"
  bind:agreeprivacyauthorization="agreeprivacyauthorization"
  aria-label="{{ariaLabel}}"
>
  <template
    wx:if="{{iconName || _.isNoEmptyObj(iconData)}}"
    is="icon"
    data="{{class: classPrefix + '__icon', tClass: prefix + '-class-icon', ariaHidden: true, name: iconName, ...iconData}}"
  />
  <t-loading
    wx:if="{{loading}}"
    delay="{{loadingProps.delay || 0}}"
    duration="{{loadingProps.duration || 800}}"
    indicator="{{loadingProps.indicator || true}}"
    inheritColor="{{loadingProps.inheritColor || true}}"
    layout="{{loadingProps.layout || 'horizontal'}}"
    pause="{{loadingProps.pause || false}}"
    progress="{{loadingProps.progress || 0}}"
    reverse="{{loadingProps.reverse || false}}"
    size="{{loadingProps.size || '40rpx'}}"
    text="{{loadingProps.text || '' }}"
    theme="{{loadingProps.theme || 'circular'}}"
    loading
    t-class="{{classPrefix}}__loading {{classPrefix}}__loading--wrapper"
    t-class-indicator="{{classPrefix}}__loading--indicator {{prefix}}-class-loading"
  />
  <view class="{{classPrefix}}__content">
    <slot name="content" />
    <block wx:if="{{content}}">{{content}}</block>
    <slot />
  </view>
  <slot name="suffix" />
</button>