feat: 完成首页UI展示初版开发

This commit is contained in:
R524809
2026-03-31 10:59:25 +08:00
parent 1b45ba7d11
commit b18dbcb0d1
17 changed files with 258 additions and 10 deletions
@@ -0,0 +1,15 @@
<view class="category-tabs">
<scroll-view class="category-tabs__scroll" scroll-x>
<view class="category-tabs__inner">
<view
wx:for="{{tabs}}"
wx:key="id"
class="category-tabs__pill {{activeTab === item.id ? 'category-tabs__pill--active' : ''}}"
data-id="{{item.id}}"
bindtap="onTabTap"
>
{{item.name}}
</view>
</view>
</scroll-view>
</view>