一体机放大效果开发
This commit is contained in:
@@ -295,14 +295,14 @@ onMounted(() => {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100rpx;
|
||||
height: 150rpx;
|
||||
background-color: #ffffff;
|
||||
// border-top: 1rpx solid #e5e5e5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
z-index: 9999;
|
||||
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 -3rpx 15rpx rgba(0, 0, 0, 0.1);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
@@ -314,21 +314,21 @@ onMounted(() => {
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
color: #5E5F60;
|
||||
font-size: 22rpx;
|
||||
font-size: 33rpx;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
.icon-container{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.tabbar-icon {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
margin-bottom: 4rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
margin-bottom: 6rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.tabbar-text {
|
||||
font-size: 22rpx;
|
||||
font-size: 33rpx;
|
||||
line-height: 1;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
@@ -350,17 +350,17 @@ onMounted(() => {
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: 4rpx;
|
||||
right: 20rpx;
|
||||
min-width: 32rpx;
|
||||
height: 32rpx;
|
||||
top: 6rpx;
|
||||
right: 30rpx;
|
||||
min-width: 48rpx;
|
||||
height: 48rpx;
|
||||
background-color: #ff4444;
|
||||
color: #fff;
|
||||
font-size: 19rpx;
|
||||
border-radius: 16rpx;
|
||||
font-size: 28rpx;
|
||||
border-radius: 24rpx;
|
||||
text-align: center;
|
||||
line-height: 32rpx;
|
||||
padding: 0 10rpx;
|
||||
line-height: 48rpx;
|
||||
padding: 0 15rpx;
|
||||
transform: scale(0.8);
|
||||
}
|
||||
|
||||
@@ -368,25 +368,25 @@ onMounted(() => {
|
||||
.tabbar-item.center-item {
|
||||
|
||||
.tabbar-icon {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.tabbar-icon image {
|
||||
// margin-top: -25rpx;
|
||||
// margin-top: -37.5rpx;
|
||||
width: 80%;
|
||||
animation: bounce 2s ease-in-out infinite;
|
||||
}
|
||||
.icon-container{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
border: 2rpx solid #256BFA;
|
||||
box-shadow: 0 0 10rpx #256BFA;
|
||||
border: 3rpx solid #256BFA;
|
||||
box-shadow: 0 0 15rpx #256BFA;
|
||||
transform: scale(1.6);
|
||||
position: relative;
|
||||
top: 5rpx;
|
||||
top: 7.5rpx;
|
||||
animation: pulse 2s ease-in-out infinite;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user