66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
<view class="profile-page xz-page--warm">
|
|
<view class="section-card xz-card profile-header" bindtap="handleUserTap">
|
|
<view class="profile-header__main">
|
|
<view class="profile-header__avatar">{{userCard.avatarText}}</view>
|
|
<view class="profile-header__body">
|
|
<text class="profile-header__title">{{userCard.title}}</text>
|
|
<text class="profile-header__subtitle">{{userCard.subtitle}}</text>
|
|
</view>
|
|
</view>
|
|
<text class="profile-header__settings">{{userCard.settingsText}}</text>
|
|
</view>
|
|
|
|
<view class="section-card xz-card vip-banner" bindtap="handleVipTap">
|
|
<view class="vip-banner__body">
|
|
<text class="vip-banner__icon">{{vipCard.icon}}</text>
|
|
<view class="vip-banner__copy">
|
|
<text class="vip-banner__title">{{vipCard.title}}</text>
|
|
<text class="vip-banner__subtitle">{{vipCard.subtitle}}</text>
|
|
</view>
|
|
</view>
|
|
<text class="vip-banner__action">{{vipCard.actionText}}</text>
|
|
</view>
|
|
|
|
<view class="section-card xz-card">
|
|
<view class="asset-grid">
|
|
<view
|
|
class="asset-grid__item"
|
|
wx:for="{{assetItems}}"
|
|
wx:key="key"
|
|
data-route="{{item.route}}"
|
|
bindtap="handleAssetTap"
|
|
>
|
|
<view class="asset-grid__icon">{{item.icon}}</view>
|
|
<text class="asset-grid__title">{{item.title}}</text>
|
|
<text class="asset-grid__count">{{item.count}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="section-card xz-card recent-panel">
|
|
<view class="recent-panel__head">
|
|
<text class="recent-panel__title">{{recentRecord.title}}</text>
|
|
</view>
|
|
<view class="recent-panel__empty">
|
|
<text class="recent-panel__empty-title">{{recentRecord.emptyTitle}}</text>
|
|
<text class="recent-panel__empty-desc">{{recentRecord.emptyDescription}}</text>
|
|
<view class="recent-panel__action" bindtap="handleRecentTap">{{recentRecord.actionText}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="section-card xz-card">
|
|
<view class="menu-list">
|
|
<view
|
|
class="menu-list__item"
|
|
wx:for="{{moreItems}}"
|
|
wx:key="key"
|
|
data-route="{{item.route}}"
|
|
bindtap="handleMoreTap"
|
|
>
|
|
<text class="menu-list__label">{{item.title}}</text>
|
|
<text class="menu-list__arrow">></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|