diff --git a/src/components/Container.vue b/src/components/Container.vue
index c11a230..2b9d034 100644
--- a/src/components/Container.vue
+++ b/src/components/Container.vue
@@ -80,29 +80,29 @@ const goBack = () => {
>完成进行中的对局才能开启新的。您有正在进行中的对局,是否进入?
-
+
离开比赛可能会导致比赛失败,
确认离开吗?
+
-
今天不玩了吗?
-
+
@@ -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;
}
diff --git a/src/components/UserUpgrade.vue b/src/components/UserUpgrade.vue
index c78fb6c..a45bce0 100644
--- a/src/components/UserUpgrade.vue
+++ b/src/components/UserUpgrade.vue
@@ -28,9 +28,25 @@ onMounted(() => {
-
-
+
+
+
+
+
+
恭喜你升级到
射灵{{ lvl }}级
@@ -52,22 +68,41 @@ onMounted(() => {
z-index: 10;
color: red;
}
-.content > image:first-child {
+.content > view:first-child {
+ position: relative;
+}
+
+.content > view:first-child > image:first-child {
+ animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
+}
+.content > view:first-child > image:first-child {
width: 50vw;
+ margin: 20vw;
+}
+.bg-effect {
position: absolute;
- top: calc(50% - 30vw);
-}
-.content > image:nth-child(2) {
width: 80vw;
+ left: calc(50% - 40vw);
+ z-index: -1;
+ transform: scale(0);
+ opacity: 0;
}
-.content > view:nth-child(3) {
+.text-content {
color: #fff;
display: flex;
font-size: 20px;
font-weight: bold;
margin-top: -6vw;
+ position: relative;
+ line-height: 60px;
}
-.content > view:nth-child(3) > text:last-child {
+.text-content > image:first-child {
+ position: absolute;
+ width: 80vw;
+ left: calc(50% - 40vw);
+ height: 60px;
+}
+.text-content > text:last-child {
color: #fed847;
}
.content > button:last-child {
diff --git a/src/pages/friend-battle.vue b/src/pages/friend-battle.vue
index ce85c08..48283ca 100644
--- a/src/pages/friend-battle.vue
+++ b/src/pages/friend-battle.vue
@@ -55,7 +55,7 @@ const onCreateRoom = async () => {
-
+
diff --git a/src/static/gold-shining.png b/src/static/gold-shining.png
new file mode 100644
index 0000000..2f77701
Binary files /dev/null and b/src/static/gold-shining.png differ
diff --git a/src/static/update-text-bg.png b/src/static/update-text-bg.png
new file mode 100644
index 0000000..23ab2c9
Binary files /dev/null and b/src/static/update-text-bg.png differ