60 lines
1.9 KiB
Plaintext
60 lines
1.9 KiB
Plaintext
|
<view class="profile-page">
|
||
|
<!-- 用户信息 -->
|
||
|
<view class="user-info">
|
||
|
<image class="avatar" src="{{userInfo.avatarUrl || '/images/default-avatar.png'}}"></image>
|
||
|
<view class="info">
|
||
|
<text class="nickname">{{userInfo.nickName || '未登录'}}</text>
|
||
|
<text class="reading-time">今日阅读 {{todayReadingTime}}分钟</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<!-- 阅读统计 -->
|
||
|
<view class="stats-section">
|
||
|
<view class="stats-header">
|
||
|
<text>阅读统计</text>
|
||
|
<text class="more">查看更多</text>
|
||
|
</view>
|
||
|
<view class="stats-grid">
|
||
|
<view class="stats-item">
|
||
|
<text class="number">{{totalBooks}}</text>
|
||
|
<text class="label">阅读书籍</text>
|
||
|
</view>
|
||
|
<view class="stats-item">
|
||
|
<text class="number">{{totalNotes}}</text>
|
||
|
<text class="label">笔记数量</text>
|
||
|
</view>
|
||
|
<view class="stats-item">
|
||
|
<text class="number">{{totalBookmarks}}</text>
|
||
|
<text class="label">书签数量</text>
|
||
|
</view>
|
||
|
<view class="stats-item">
|
||
|
<text class="number">{{totalReadingDays}}</text>
|
||
|
<text class="label">阅读天数</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<!-- 功能列表 -->
|
||
|
<view class="feature-list">
|
||
|
<view class="feature-item" bindtap="navigateToNotes">
|
||
|
<text class="icon">📝</text>
|
||
|
<text>我的笔记</text>
|
||
|
<text class="arrow">></text>
|
||
|
</view>
|
||
|
<view class="feature-item" bindtap="navigateToBookmarks">
|
||
|
<text class="icon">🔖</text>
|
||
|
<text>我的书签</text>
|
||
|
<text class="arrow">></text>
|
||
|
</view>
|
||
|
<view class="feature-item" bindtap="navigateToHistory">
|
||
|
<text class="icon">📚</text>
|
||
|
<text>阅读历史</text>
|
||
|
<text class="arrow">></text>
|
||
|
</view>
|
||
|
<view class="feature-item" bindtap="navigateToSettings">
|
||
|
<text class="icon">⚙️</text>
|
||
|
<text>设置</text>
|
||
|
<text class="arrow">></text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|