UI完善
This commit is contained in:
@@ -59,12 +59,11 @@ defineProps({
|
|||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
width: calc(100% - 20px);
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
padding: 0 10px;
|
|
||||||
}
|
}
|
||||||
.header > image:first-child {
|
.header > image:first-child {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ defineProps({
|
|||||||
:src="
|
:src="
|
||||||
tall ? '../static/long-bubble-tall.png' : '../static/long-bubble.png'
|
tall ? '../static/long-bubble-tall.png' : '../static/long-bubble.png'
|
||||||
"
|
"
|
||||||
|
:style="{ top: tall ? '-9%' : '-14%' }"
|
||||||
mode="widthFix"
|
mode="widthFix"
|
||||||
/>
|
/>
|
||||||
<slot />
|
<slot />
|
||||||
@@ -35,12 +36,13 @@ defineProps({
|
|||||||
.container > view {
|
.container > view {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
padding-right: 22px;
|
padding-right: 25px;
|
||||||
min-height: 55px;
|
min-height: 55px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.container > view > image {
|
.container > view > image {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -14%;
|
|
||||||
left: -7%;
|
left: -7%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import Button from "@/components/SButton.vue";
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<AppBackground />
|
<AppBackground type="1" />
|
||||||
<Header title="弓箭调试" />
|
<Header title="弓箭调试" />
|
||||||
<Guide>
|
<Guide>
|
||||||
<view class="guide-tips">
|
<view class="guide-tips">
|
||||||
@@ -16,9 +16,12 @@ import Button from "@/components/SButton.vue";
|
|||||||
<text>确保射击距离有5米</text>
|
<text>确保射击距离有5米</text>
|
||||||
</view>
|
</view>
|
||||||
</Guide>
|
</Guide>
|
||||||
<BowTarget avatar="../static/avatar.png" power="45" />
|
<BowTarget
|
||||||
|
avatar="../static/avatar.png"
|
||||||
|
power="45"
|
||||||
|
tips="本次射程5.2米,已达距离要求"
|
||||||
|
/>
|
||||||
<view>
|
<view>
|
||||||
<text>本次射程5.2米,已达距离要求</text>
|
|
||||||
<Button>准备好了直接开始</Button>
|
<Button>准备好了直接开始</Button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -37,9 +40,4 @@ import Button from "@/components/SButton.vue";
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.container > view:last-child > text {
|
|
||||||
color: #fed847;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ const onClose = () => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<AppBackground />
|
<AppBackground type="1" />
|
||||||
<Header title="新手试炼场" />
|
<Header title="新手试炼场" />
|
||||||
<Guide v-if="step !== 4" :tall="step === 2 || step === 5">
|
<Guide v-if="step !== 4" :tall="step === 2 || step === 5">
|
||||||
<text v-if="step === 0">
|
<text v-if="step === 0">
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ setTimeout(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<AppBackground />
|
<AppBackground type="1" />
|
||||||
<Header title="个人耐力挑战" />
|
<Header title="个人耐力挑战" />
|
||||||
<ShootProgress tips="请连续射箭36支" total="120" />
|
<ShootProgress tips="请连续射箭36支" total="120" />
|
||||||
<BowTarget
|
<BowTarget
|
||||||
|
|||||||
@@ -21,8 +21,10 @@ const toPractiseTwo = () => {
|
|||||||
<AppBackground />
|
<AppBackground />
|
||||||
<Header title="个人练习" />
|
<Header title="个人练习" />
|
||||||
<Guide>
|
<Guide>
|
||||||
师傅领进门,修行靠自身,赶紧练起来吧。坚持练习就能你快速升级,早日加入全国排位赛!</Guide
|
<text :style="{ color: '#fed847' }">师傅领进门,修行靠自身,赶紧练起来吧。</text
|
||||||
>
|
>
|
||||||
|
<text :style="{ fontSize: '12px' }">坚持练习就能你快速升级,早日加入全国排位赛!</text>
|
||||||
|
</Guide>
|
||||||
<view class="practise1" @click="toPractiseOne">
|
<view class="practise1" @click="toPractiseOne">
|
||||||
<image src="../static/practise1.png" class="practise1" mode="widthFix" />
|
<image src="../static/practise1.png" class="practise1" mode="widthFix" />
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const handleSelect = (index) => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="container">
|
||||||
<AppBackground />
|
<AppBackground />
|
||||||
<Header title="排行赛" />
|
<Header title="排行赛" />
|
||||||
<view class="ranking-my-data">
|
<view class="ranking-my-data">
|
||||||
@@ -105,6 +105,9 @@ const handleSelect = (index) => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.container {
|
||||||
|
padding-bottom: 15px;
|
||||||
|
}
|
||||||
.ranking-my-data,
|
.ranking-my-data,
|
||||||
.ranking-data {
|
.ranking-data {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user