feat: 完成分类页开发
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user