Files

77 lines
2.1 KiB
Plaintext

<view class="hall-page">
<view class="almanac-card">
<view>
<text class="almanac-card__date">{{almanac.date}}</text>
<text class="almanac-card__ganzhi">{{almanac.ganzhi}}</text>
<text class="almanac-card__yi">{{almanac.yi}}</text>
</view>
<text class="almanac-card__icon">{{almanac.icon}}</text>
</view>
<view class="hall-grid">
<view
class="hall-card"
wx:for="{{quickCards}}"
wx:key="key"
data-route="{{item.route}}"
bindtap="handleRouteTap"
>
<view class="hall-card__icon">{{item.icon}}</view>
<text class="hall-card__title">{{item.title}}</text>
<text class="hall-card__subtitle">{{item.subtitle}}</text>
</view>
</view>
<view class="section-card">
<text class="section-card__title">每日一言</text>
<text class="section-card__text">{{wisdomCard.text}}</text>
<text class="section-card__from">—— {{wisdomCard.from}}</text>
</view>
<view class="section-card">
<text class="section-card__title">搜索热词</text>
<view class="chips-row">
<view
class="chips-row__item"
wx:for="{{hotTopics}}"
wx:key="key"
data-route="{{item.route}}"
bindtap="handleRouteTap"
>
{{item.label}}
</view>
</view>
</view>
<view class="section-card">
<text class="section-card__title">导读推荐</text>
<view
class="guide-card"
wx:for="{{guideCards}}"
wx:key="key"
data-route="{{item.route}}"
bindtap="handleRouteTap"
>
<text class="guide-card__title">{{item.title}}</text>
<text class="guide-card__desc">{{item.description}}</text>
</view>
</view>
<view class="section-card">
<text class="section-card__title">经典研习</text>
<view
class="book-row"
wx:for="{{recommendedBooks}}"
wx:key="key"
data-route="{{item.route}}"
bindtap="handleRouteTap"
>
<view class="book-row__cover">书</view>
<view class="book-row__body">
<text class="book-row__title">{{item.title}}</text>
<text class="book-row__subtitle">{{item.subtitle}}</text>
</view>
</view>
</view>
</view>