feat: 新增控笔练习,增加首页公告

This commit is contained in:
R524809
2026-05-29 10:21:39 +08:00
parent 2f0c4ab591
commit a6e8f4df02
28 changed files with 1045 additions and 672 deletions
+37
View File
@@ -22,6 +22,43 @@
bind:change="onTabChange" />
</view>
<view wx:if="{{notices.length > 0}}" class="home-notice-bar">
<view class="home-notice-bar__label">
<text class="home-notice-bar__icon">📣</text>
<text class="home-notice-bar__label-text">公告</text>
</view>
<view class="home-notice-bar__viewport">
<view class="home-notice-bar__track">
<view class="home-notice-bar__group">
<view
wx:for="{{notices}}"
wx:key="id"
class="home-notice-bar__item"
data-path="{{item.path}}"
bindtap="onTapNotice">
<text class="home-notice-bar__text"
>{{item.text}}</text
>
<text class="home-notice-bar__sep">·</text>
</view>
</view>
<view class="home-notice-bar__group" aria-hidden="true">
<view
wx:for="{{notices}}"
wx:key="id"
class="home-notice-bar__item"
data-path="{{item.path}}"
bindtap="onTapNotice">
<text class="home-notice-bar__text"
>{{item.text}}</text
>
<text class="home-notice-bar__sep">·</text>
</view>
</view>
</view>
</view>
</view>
<swiper
class="home-hero-swiper"
previous-margin="80rpx"