UI细节调整
This commit is contained in:
@@ -92,7 +92,7 @@ const bgColors = ["#364469", "#692735", "#934B4B", "#A98B69", "#8268A2 "];
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #fff9;
|
color: #fff9;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -124,7 +124,7 @@ const bgColors = ["#364469", "#692735", "#934B4B", "#A98B69", "#8268A2 "];
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #fff9;
|
color: #fff9;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
.player-name {
|
.player-name {
|
||||||
|
|||||||
@@ -67,10 +67,8 @@ setTimeout(() => {
|
|||||||
>
|
>
|
||||||
<view>
|
<view>
|
||||||
<text
|
<text
|
||||||
>本剧成绩(共{{
|
>本局成绩(共{{
|
||||||
result.arrows
|
result.arrows.reduce((last, next) => last + next.ring, 0)
|
||||||
.map((a) => a.ring)
|
|
||||||
.reduce((last, next) => last + next, 0)
|
|
||||||
}}环):</text
|
}}环):</text
|
||||||
>
|
>
|
||||||
<button @click="() => (showBowData = true)">
|
<button @click="() => (showBowData = true)">
|
||||||
@@ -154,6 +152,9 @@ setTimeout(() => {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
.container-content > view:first-child > text:first-child {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
.container-content > view:first-child > button {
|
.container-content > view:first-child > button {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ watch(
|
|||||||
}
|
}
|
||||||
.container > view:first-child > image:first-child {
|
.container > view:first-child > image:first-child {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
transform: translateX(10px);
|
||||||
}
|
}
|
||||||
.container > view:first-child > button:last-child > image {
|
.container > view:first-child > button:last-child > image {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ const onClose = () => {
|
|||||||
:result="practiseResult"
|
:result="practiseResult"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{ marginBottom: '10px' }">
|
<view :style="{ marginBottom: '20px' }">
|
||||||
<SButton v-if="step !== 4" :onClick="nextStep" :disabled="btnDisabled">{{
|
<SButton v-if="step !== 4" :onClick="nextStep" :disabled="btnDisabled">{{
|
||||||
stepButtonTexts[step]
|
stepButtonTexts[step]
|
||||||
}}</SButton>
|
}}</SButton>
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ onUnmounted(() => {
|
|||||||
/>
|
/>
|
||||||
<Timer :seq="timerSeq" :callBack="readyToGo" />
|
<Timer :seq="timerSeq" :callBack="readyToGo" />
|
||||||
</view>
|
</view>
|
||||||
<view :style="{ marginBottom: '10px' }">
|
<view :style="{ marginBottom: '20px' }">
|
||||||
<SButton v-if="!battleId" :onClick="matching ? stopMatch : startMatch">{{
|
<SButton v-if="!battleId" :onClick="matching ? stopMatch : startMatch">{{
|
||||||
matching ? "取消匹配" : "开始匹配"
|
matching ? "取消匹配" : "开始匹配"
|
||||||
}}</SButton>
|
}}</SButton>
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ const onPractiseLoading = async (page) => {
|
|||||||
}
|
}
|
||||||
.player > text {
|
.player > text {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ onUnmounted(() => {
|
|||||||
:result="practiseResult"
|
:result="practiseResult"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{ marginBottom: '10px' }">
|
<view :style="{ marginBottom: '20px' }">
|
||||||
<SButton v-if="!start" :onClick="onReady">准备好了,直接开始</SButton>
|
<SButton v-if="!start" :onClick="onReady">准备好了,直接开始</SButton>
|
||||||
</view>
|
</view>
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ onUnmounted(() => {
|
|||||||
:result="practiseResult"
|
:result="practiseResult"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{ marginBottom: '10px' }">
|
<view :style="{ marginBottom: '20px' }">
|
||||||
<SButton v-if="!start" :onClick="onReady">准备好了,直接开始</SButton>
|
<SButton v-if="!start" :onClick="onReady">准备好了,直接开始</SButton>
|
||||||
</view>
|
</view>
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ onUnmounted(() => {
|
|||||||
/>
|
/>
|
||||||
<Timer :seq="timerSeq" :callBack="readyToGo" />
|
<Timer :seq="timerSeq" :callBack="readyToGo" />
|
||||||
</view>
|
</view>
|
||||||
<view :style="{ marginBottom: '10px' }">
|
<view :style="{ marginBottom: '20px' }">
|
||||||
<SButton v-if="!battleId" :onClick="matching ? stopMatch : startMatch">{{
|
<SButton v-if="!battleId" :onClick="matching ? stopMatch : startMatch">{{
|
||||||
matching ? "取消匹配" : "开始匹配"
|
matching ? "取消匹配" : "开始匹配"
|
||||||
}}</SButton>
|
}}</SButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user