<!--加载组件-->
<view class="loading-container {{show ? 'show' : ''}}" wx:if="{{show}}">
  <!-- 遮罩层 -->
  <view class="loading-mask" wx:if="{{mask}}" bindtap="onMaskTap"></view>
  
  <!-- 加载内容 -->
  <view class="loading-content">
    <!-- 旋转加载器 -->
    <view class="loading-spinner {{size}}" wx:if="{{type === 'spinner'}}" style="border-top-color: {{color}}">
    </view>
    
    <!-- 点状加载器 -->
    <view class="loading-dots {{size}}" wx:if="{{type === 'dots'}}">
      <view class="dot" style="background-color: {{color}}"></view>
      <view class="dot" style="background-color: {{color}}"></view>
      <view class="dot" style="background-color: {{color}}"></view>
    </view>
    
    <!-- 脉冲加载器 -->
    <view class="loading-pulse {{size}}" wx:if="{{type === 'pulse'}}" style="background-color: {{color}}">
    </view>
    
    <!-- 加载文本 -->
    <text class="loading-text" wx:if="{{text}}">{{text}}</text>
  </view>
</view>