feat: 字母描红页样式开发基本完成
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
<view class="nav-bar" style="padding-top: {{statusBarHeight}}px; {{background ? 'background:' + background + ';' : ''}}">
|
||||
<view
|
||||
class="nav-bar"
|
||||
style="padding-top: {{statusBarHeight}}px; {{background ? 'background:' + background + ';' : ''}}">
|
||||
<view class="nav-bar__inner">
|
||||
<view
|
||||
wx:if="{{showBackButton}}"
|
||||
class="nav-bar__back"
|
||||
bindtap="handleBack">
|
||||
<text class="toy-icon toy-icon-arrow-left nav-bar__back-icon"></text>
|
||||
class="nav-bar__back {{leftActionType === 'none' ? 'nav-bar__back--hidden' : ''}}"
|
||||
bindtap="handleLeftAction">
|
||||
<text
|
||||
wx:if="{{leftActionType === 'back'}}"
|
||||
class="toy-icon toy-icon-arrow-left nav-bar__back-icon"></text>
|
||||
<text
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user