细节调整

This commit is contained in:
kron
2025-06-19 21:03:33 +08:00
parent 595a9802e2
commit 35d544003d
14 changed files with 97 additions and 38 deletions

View File

@@ -29,6 +29,11 @@ function handleTabClick(index) {
url: "/pages/my-growth",
});
}
if (index === 2) {
uni.navigateTo({
url: "/pages/device-intro",
});
}
}
</script>

View File

@@ -19,7 +19,7 @@ defineProps({
},
winner: {
type: Number,
default: 1,
default: 2,
},
});
const bgColors = ["#364469", "#692735", "#934B4B", "#A98B69", "#8268A2 "];

View File

@@ -3,7 +3,7 @@ import { ref } from "vue";
import IconButton from "@/components/IconButton.vue";
import SButton from "@/components/SButton.vue";
import ImageShare from "@/components/ImageShare.vue";
import CoachComment from "@/components/CoachComment.vue";
import ScreenHint from "@/components/ScreenHint.vue";
import BowData from "@/components/BowData.vue";
const props = defineProps({
show: {
@@ -100,9 +100,9 @@ setTimeout(() => {
</view>
</view>
<ImageShare :show="showShare" :onClose="() => (showShare = false)" />
<CoachComment :show="showComment" :onClose="() => (showComment = false)">
<ScreenHint :show="showComment" :onClose="() => (showComment = false)">
{{ result.adjustmentHint }}
</CoachComment>
</ScreenHint>
<BowData
:arrows="result.arrows"
:show="showBowData"

View File

@@ -30,6 +30,11 @@ const props = defineProps({
src="../static/prompt-bg-square.png"
mode="widthFix"
/>
<image
v-if="mode === 'small'"
src="../static/finish-frame.png"
mode="widthFix"
/>
<slot />
</view>
<IconButton
@@ -58,14 +63,16 @@ const props = defineProps({
align-items: center;
position: relative;
width: 70vw;
min-height: 22vh;
margin-bottom: 20px;
color: #fff;
margin-bottom: 25vw;
}
.container > view:first-child > image {
position: absolute;
width: 80vw;
left: -5vw;
left: -7%;
bottom: -20vw;
z-index: -1;
transform: translateY(-75px);
}
</style>