feat: 金种子icon添加蓝色阴影

This commit is contained in:
2026-06-01 16:25:36 +08:00
parent d2f77335d1
commit 0f2a64f3b2
2 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { getCurrentInstance, defineProps, defineEmits, ref } from 'vue'; import { getCurrentInstance, defineProps, defineEmits, ref } from 'vue';
import { onPageScroll } from '@dcloudio/uni-app'; // import { onPageScroll } from '@dcloudio/uni-app';
import sheep from '@/sheep'; import sheep from '@/sheep';
const { proxy } = getCurrentInstance() as any; const { proxy } = getCurrentInstance() as any;
let props = defineProps({ let props = defineProps({
+3 -7
View File
@@ -4,7 +4,7 @@
<image class="tabbar-bg" :src="bgSrc" mode="scaleToFill" /> <image class="tabbar-bg" :src="bgSrc" mode="scaleToFill" />
<view class="tabbar-inner"> <view class="tabbar-inner">
<view <view
v-for="(item, i) in items" v-for="item in items"
:key="item.pagePath" :key="item.pagePath"
class="tabbar-item flex1 flex-center flex-column" class="tabbar-item flex1 flex-center flex-column"
:class="{ 'tabbar-item--mid': item.isMid }" :class="{ 'tabbar-item--mid': item.isMid }"
@@ -13,7 +13,7 @@
<view :class="{ iconBox: item.isMid }"> <view :class="{ iconBox: item.isMid }">
<image <image
class="icon" class="icon"
:class="{ iconMid: item.isMid, border_f: item.isMid }" :class="{ iconMid: item.isMid }"
:src="getIconSrc(item)" :src="getIconSrc(item)"
mode="aspectFit" mode="aspectFit"
/> />
@@ -208,14 +208,10 @@
height: 100rpx; height: 100rpx;
border-radius: 50%; border-radius: 50%;
border-radius: 50%; border-radius: 50%;
box-shadow: 0rpx 0rpx 12rpx 0rpx rgba(0, 0, 0, 0.12); box-shadow: 0 10rpx 22rpx rgba(38, 107, 246, 0.8);
background: transparent; background: transparent;
} }
.border_f {
// border: 6rpx solid #fff;
}
.text { .text {
margin-top: 6rpx; margin-top: 6rpx;
font-size: 22rpx; font-size: 22rpx;