feat: 完成分类页开发

This commit is contained in:
R524809
2026-04-22 11:18:56 +08:00
parent 28151018ee
commit 3bb8476e93
42 changed files with 1070 additions and 56 deletions
+10 -1
View File
@@ -2,7 +2,17 @@
class="nav-bar"
style="padding-top: {{statusBarHeight}}px; {{background ? 'background:' + background + ';' : ''}}">
<view class="nav-bar__inner">
<view wx:if="{{leftActionType === 'brand'}}" class="nav-bar__brand">
<image
class="nav-bar__logo"
src="/assets/imgs/doodle-logo.png"
mode="aspectFill" />
<text wx:if="{{showBrandName}}" class="nav-bar__brand-name"
>涂鸦丫</text
>
</view>
<view
wx:else
class="nav-bar__back {{leftActionType === 'none' ? 'nav-bar__back--hidden' : ''}}"
bindtap="handleLeftAction">
<text
@@ -12,7 +22,6 @@
wx:elif="{{leftActionType === 'home'}}"
class="toy-icon toy-icon-home-o nav-bar__back-icon"></text>
</view>
<slot name="left"></slot>
<text class="nav-bar__title">{{title}}</text>
<view class="nav-bar__right">
<slot name="right"></slot>