细节完善

This commit is contained in:
kron
2025-07-10 15:34:00 +08:00
parent db419ae003
commit 7972dae398
12 changed files with 144 additions and 112 deletions

View File

@@ -274,7 +274,7 @@ const simulShoot2 = async () => {
color: #fff;
font-size: 8px;
text-align: center;
line-height: 12px;
line-height: 10px;
transition: all 0.3s ease;
box-sizing: border-box;
}
@@ -293,6 +293,7 @@ const simulShoot2 = async () => {
font-size: 20px;
color: #fed847;
top: 75px;
font-weight: bold;
}
.footer {
width: calc(100% - 20px);

View File

@@ -33,7 +33,7 @@ onMounted(() => {
<block v-if="'凹造型,感知距离,小试牛刀'.indexOf(title) === -1">
<text>{{ title }}</text>
</block>
<block v-else>
<block v-if="title && '凹造型,感知距离,小试牛刀'.indexOf(title) !== -1">
<view class="first-try-steps">
<text :class="title === '凹造型' ? 'current-step' : ''">凹造型</text>
<text>-</text>

View File

@@ -128,7 +128,6 @@ onUnmounted(() => {
align-items: center;
justify-content: space-between;
padding: 0 15px;
color: #fed847;
z-index: 1;
transform: translateX(-10px);
}
@@ -136,9 +135,14 @@ onUnmounted(() => {
width: 80px;
transform: translateX(10px);
}
.container > view:first-child > text {
color: #fed847;
font-size: 18px;
transform: translateY(-10px);
}
.container > view:first-child > button:last-child > image {
width: 50px;
transform: translateX(10px);
width: 40px;
transform: translateX(10px) translateY(-10px);
}
.container > view:last-child {
z-index: -1;

View File

@@ -64,7 +64,8 @@ const handleChange = (e) => {
.swiper-container image {
width: calc(100% - 20px);
margin: 10px;
margin: 0 10px;
border-radius: 10px;
}
.dots {

View File

@@ -29,6 +29,11 @@ const toUserPage = () => {
});
}
};
const toRankListPage = () => {
uni.navigateTo({
url: "/pages/rank-list",
});
};
watch(
() => [config.value, user.value],
([n_config, n_user]) => {
@@ -58,7 +63,7 @@ watch(
:onClick="toUserPage"
:size="42"
/>
<view class="user-details">
<view class="user-details" :onClick="toUserPage">
<view class="user-name">
<text>{{ user.nickName }}</text>
<image
@@ -83,7 +88,7 @@ watch(
</view>
</view>
</view>
<view v-if="showRank === true" class="rank-info">
<view v-if="showRank === true" class="rank-info" @click="toRankListPage">
<image
class="rank-info-image"
src="../static/global-rank.png"