完善弓箭调试和相关组件

This commit is contained in:
kron
2025-05-08 22:05:53 +08:00
parent ab169af87f
commit a8834ad899
15 changed files with 238 additions and 41 deletions

View File

@@ -12,7 +12,7 @@ defineProps({
<image src="../static/shooter.png" mode="widthFix" />
<view>
<image src="../static/long-bubble.png" mode="widthFix" />
<text>{{ title }}</text>
<slot />
</view>
</view>
</template>
@@ -22,21 +22,25 @@ defineProps({
display: flex;
align-items: center;
padding: 0 15px;
width: 100vw;
}
.container > image {
width: 40vw;
width: 20%;
}
.container > view {
position: relative;
width: 80%;
padding-right: 22px;
min-height: 55px;
}
.container > view > image {
position: absolute;
top: -10%;
top: -14%;
left: -7%;
width: 75vw;
width: 100%;
}
.container > view > text {
.container > view {
color: #fff;
font-size: 13px;
font-size: 14px;
}
</style>