feat: 一些调整

This commit is contained in:
2026-05-14 11:23:03 +08:00
parent 2b908436fd
commit b48426fc84
12 changed files with 20 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -13,7 +13,7 @@
<view class="tab-content">
<view class="tab-label">
<text class="tab-text">{{ tab.label }}</text>
<image v-if="modelValue === idx && indicatorSrc" :src="indicatorSrc" class="tab-indicator" mode="widthFix" />
<image v-if="modelValue === idx && (isZhiNian ? indicatorSrcB : indicatorSrc)" :src="isZhiNian ? indicatorSrcB : indicatorSrc" class="tab-indicator" mode="widthFix" />
</view>
</view>
</view>
@@ -23,7 +23,9 @@
</template>
<script setup>
import { isZhiNian } from "@/constant/base";
import indicatorSrc from "./images/selected_tabs_icon.png";
import indicatorSrcB from "./images/selected_tabs_icon_b.png";
const props = defineProps({
modelValue: { type: Number, default: 0 },