This commit is contained in:
haomingming
2023-03-23 15:52:15 +08:00
parent cfa69efd15
commit 12e4984a95
53 changed files with 661 additions and 193 deletions
+12 -3
View File
@@ -24,9 +24,18 @@
<t-navbar class="block" title="{{navbarData.title}}" left-arrow bind:go-back="onBack" />
</view>
<!-- 仅显示home -->
<view class="block" wx:if="{{navbarData.showCapsule == 3}}">
<t-navbar class="block" title="{{navbarData.title}}" home bind:go-back="onGoHome" />
</view>
<t-navbar title="{{navbarData.title}}" wx:if="{{navbarData.showCapsule == 3}}">
<view slot="left" class="custom-capsule-home">
<t-icon
size="20"
bind:tap="onGoHome"
aria-role="button"
aria-label="首页"
name="home"
class="custom-capsule__icon"
/>
</view>
</t-navbar>
<!-- 都不显示 -->
<view class="block" wx:if="{{navbarData.showCapsule == 0}}">
<t-navbar class="block" title="{{navbarData.title}}" />
+3
View File
@@ -20,4 +20,7 @@
width: 1px;
height: 36rpx;
background: #e7e7e7;
}
.custom-capsule-home{
margin-left: 36rpx;
}