From 608eefe5fb03d2f3d3145b11d7de573434451e76 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 29 三月 2024 19:42:58 +0800 Subject: [PATCH] 详情页bug修改 --- custom-tab-bar/index.wxml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-tab-bar/index.wxml b/custom-tab-bar/index.wxml index cb27aba..5b38995 100644 --- a/custom-tab-bar/index.wxml +++ b/custom-tab-bar/index.wxml @@ -10,8 +10,8 @@ <view class="tabBarBox"> <view class="tabItem" wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="changeTab" data-num="{{index}}"> <view class="custom-tab-bar-wrapper"> - <t-image wx:if="{{active !== index}}" class="tabImg" src="{{item.icon}}" mode="aspectFill" width="22" height="22" /> - <t-image wx:else class="tabImg" src="{{item.activeIcon}}" mode="aspectFill" width="22" height="22" /> + <t-image wx:if="{{active !== index}}" class="tabImg" src="{{item.icon}}" mode="aspectFit" width="22" height="22" /> + <t-image wx:else class="tabImg" src="{{item.activeIcon}}" mode="aspectFit" width="22" height="22" /> <view class="text {{active == index ? 'activeText' : ''}}">{{ item.text }}</view> </view> </view> -- Gitblit v1.9.1