UI更新
This commit is contained in:
@@ -80,29 +80,29 @@ const goBack = () => {
|
||||
>完成进行中的对局才能开启新的。您有正在进行中的对局,是否进入?</text
|
||||
>
|
||||
<view>
|
||||
<button hover-class="none" @click="backToGame">进入</button>
|
||||
<button hover-class="none" @click="() => (showHint = false)">
|
||||
不进入
|
||||
</button>
|
||||
<button hover-class="none" @click="backToGame">进入</button>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="hintType === 2" class="tip-content">
|
||||
<text>离开比赛可能会导致比赛失败,</text>
|
||||
<text>确认离开吗?</text>
|
||||
<view>
|
||||
<button hover-class="none" @click="goBack">离开比赛</button>
|
||||
<button hover-class="none" @click="() => (showHint = false)">
|
||||
继续比赛
|
||||
</button>
|
||||
<button hover-class="none" @click="goBack">离开比赛</button>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="hintType === 3" class="tip-content">
|
||||
<text>今天不玩了吗?</text>
|
||||
<view>
|
||||
<button hover-class="none" @click="goBack">确认</button>
|
||||
<button hover-class="none" @click="() => (showHint = false)">
|
||||
取消
|
||||
</button>
|
||||
<button hover-class="none" @click="goBack">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</ScreenHint>
|
||||
@@ -147,7 +147,7 @@ const goBack = () => {
|
||||
width: 45%;
|
||||
font-size: 16px;
|
||||
}
|
||||
.tip-content > view > button:first-child {
|
||||
.tip-content > view > button:last-child {
|
||||
background-color: #fed847;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user