<view class="container">
  <view class="loading" wx:if="{{loading}}">
    <text>加载中...</text>
  </view>
  
  <view class="wish-detail" wx:else>
    <view class="wish-card {{wish.type}}">
      <view class="wish-header">
        <image class="avatar" src="{{wish.user.avatar || '/images/default-avatar.png'}}" mode="aspectFill"></image>
        <view class="user-info">
          <text class="nickname">{{wish.user.nickname}}</text>
          <text class="time">{{wish.createdAt}}</text>
        </view>
        <view class="wish-badge" wx:if="{{wish.type === 'paid'}}">
          <text>VIP</text>
        </view>
      </view>
      
      <view class="wish-content">
        <text>{{wish.content}}</text>
      </view>
      
      <view class="wish-footer">
        <view class="wish-type">
          <text class="type-tag {{wish.type}}">{{wish.type === 'paid' ? '付费许愿' : '免费许愿'}}</text>
        </view>
        <view class="wish-actions">
          <button class="btn-action" bindtap="onShare">
            <text class="icon">📤</text>
            <text>分享</text>
          </button>
        </view>
      </view>
    </view>
    
    <!-- 相关推荐 -->
    <view class="recommend-section">
      <view class="section-title">更多愿望</view>
      <view class="recommend-list">
        <view class="recommend-item" wx:for="{{[1,2,3]}}" wx:key="*this">
          <text class="recommend-text">愿所有美好如期而至</text>
        </view>
      </view>
    </view>
  </view>
</view>
