完善弓箭调试和相关组件
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user