更新自定义标签栏,替换特殊按钮图标为新的伙伴图标,并调整图标尺寸以提升视觉效果。

This commit is contained in:
乘风
2026-02-04 16:34:23 +08:00
parent 6eb748a902
commit 25fd3190b2
3 changed files with 21 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<!-- 两个人的头:完全分开,中间留空隙 -->
<!-- 左侧头部 -->
<circle cx="16" cy="18" r="7" fill="white" />
<!-- 右侧头部 -->
<circle cx="32" cy="18" r="7" fill="white" />
<!-- 左侧身体:单独一块,和右侧之间留出明显空隙 -->
<path
d="M10 34c0-4 2.5-7 6-7h0c3 0 5.5 3 5.5 7v4H10v-4z"
fill="white"
/>
<!-- 右侧身体:单独一块,和左侧之间留出明显空隙 -->
<path
d="M26 34c0-4 2.5-7 6-7h0c3 0 5.5 3 5.5 7v4H26v-4z"
fill="white"
/>
</svg>

After

Width:  |  Height:  |  Size: 595 B

View File

@@ -28,7 +28,7 @@
<view class="tab-bar-item special-item" wx:if="{{matchEnabled}}" data-path="{{list[2].pagePath}}" data-index="2" bindtap="switchTab">
<view class="special-button {{selected === 2 ? 'special-active' : ''}}">
<image class="special-icon"
src="/assets/icons/sparkles.svg"
src="/assets/icons/partners.svg"
mode="aspectFit"></image>
</view>
<view class="tab-bar-text special-text" style="color: {{selected === 2 ? selectedColor : color}}">{{list[2].text}}</view>

View File

@@ -114,8 +114,8 @@
/* ===== 找伙伴特殊按钮图标 ===== */
.special-icon {
width: 56rpx;
height: 56rpx;
width: 80rpx;
height: 80rpx;
display: block;
filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}