计分本细节调整
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script setup>
|
||||
|
||||
const tabs = [
|
||||
{ image: "../static/tab-vip.png" },
|
||||
{ image: "../static/tab-point-book.png" },
|
||||
@@ -34,7 +33,7 @@ function handleTabClick(index) {
|
||||
class="tab-item"
|
||||
@click="handleTabClick(index)"
|
||||
:style="{
|
||||
width: index === 1 ? '36%' : '10%',
|
||||
width: index === 1 ? '36%' : '20%',
|
||||
}"
|
||||
>
|
||||
<image :src="tab.image" mode="widthFix" />
|
||||
@@ -64,10 +63,13 @@ function handleTabClick(index) {
|
||||
justify-content: center;
|
||||
}
|
||||
.tab-item > image {
|
||||
width: 86%;
|
||||
width: 65rpx;
|
||||
}
|
||||
.tab-item:last-child > image {
|
||||
width: 85rpx;
|
||||
}
|
||||
.tab-item:nth-child(2) {
|
||||
transform: translate(25%, 30%);
|
||||
transform: translate(10%, 40%);
|
||||
}
|
||||
.tab-item:nth-child(3) {
|
||||
margin-bottom: 25rpx;
|
||||
@@ -76,6 +78,6 @@ function handleTabClick(index) {
|
||||
width: 140rpx;
|
||||
}
|
||||
.tab-item:nth-child(4) {
|
||||
transform: translate(-25%, 30%);
|
||||
transform: translate(-10%, 44%);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user