80 lines
3.0 KiB
Plaintext
80 lines
3.0 KiB
Plaintext
<!--关于作者-->
|
|
<view class="page">
|
|
<view class="nav-bar" style="padding-top: {{statusBarHeight}}px;">
|
|
<view class="nav-back" bindtap="goBack">←</view>
|
|
<text class="nav-title">关于作者</text>
|
|
<view class="nav-placeholder"></view>
|
|
</view>
|
|
<view style="height: {{statusBarHeight + 44}}px;"></view>
|
|
|
|
<view class="content">
|
|
<view wx:if="{{authorLoading}}" class="loading-row">加载中...</view>
|
|
<!-- 作者信息卡片 -->
|
|
<view class="author-card" wx:if="{{!authorLoading}}">
|
|
<view class="author-avatar-wrap">
|
|
<image wx:if="{{author.avatarImg}}" class="author-avatar-img" src="{{author.avatarImg}}" mode="aspectFill"/>
|
|
<view wx:else class="author-avatar">{{author.avatar}}</view>
|
|
</view>
|
|
<text class="author-name">{{author.name}}</text>
|
|
<text class="author-title">{{author.title}}</text>
|
|
<text class="author-bio">{{author.bio}}</text>
|
|
|
|
<!-- 统计数据 -->
|
|
<view class="stats-row">
|
|
<view class="stat-item" wx:for="{{author.stats}}" wx:key="label">
|
|
<text class="stat-value">{{item.value}}</text>
|
|
<text class="stat-label">{{item.label}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 亮点标签 -->
|
|
<view class="highlights" wx:if="{{author.highlights}}">
|
|
<view class="highlight-tag" wx:for="{{author.highlights}}" wx:key="*this">
|
|
<text class="tag-icon">✓</text>
|
|
<text>{{item}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 书籍信息 -->
|
|
<view class="book-info-card" wx:if="{{bookInfo && !authorLoading}}">
|
|
<text class="card-title">📚 {{bookInfo.title}}</text>
|
|
<view class="book-stats">
|
|
<view class="book-stat">
|
|
<text class="book-stat-value">{{bookInfo.totalChapters}}</text>
|
|
<text class="book-stat-label">篇章节</text>
|
|
</view>
|
|
<view class="book-stat">
|
|
<text class="book-stat-value">5</text>
|
|
<text class="book-stat-label">大篇章</text>
|
|
</view>
|
|
<view class="book-stat">
|
|
<text class="book-stat-value">¥{{bookInfo.price}}</text>
|
|
<text class="book-stat-label">全书价格</text>
|
|
</view>
|
|
</view>
|
|
<view class="parts-list">
|
|
<view class="part-item" wx:for="{{bookInfo.parts}}" wx:key="name">
|
|
<text class="part-name">{{item.name}}</text>
|
|
<text class="part-chapters">{{item.chapters}}节</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 联系方式 - 引导到Soul派对房 -->
|
|
<view class="contact-card" wx:if="{{!authorLoading}}">
|
|
<text class="card-title">联系作者</text>
|
|
<view class="contact-item">
|
|
<text class="contact-icon">🎉</text>
|
|
<view class="contact-info">
|
|
<text class="contact-label">Soul派对房</text>
|
|
<text class="contact-value">每天早上6-9点开播</text>
|
|
</view>
|
|
</view>
|
|
<view class="contact-tip">
|
|
<text>在Soul App搜索"创业实验"或"卡若",加入派对房直接交流</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|