From b73c078acac2e76bdfdeffcda49cd6f5e3f9ebad Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Wed, 17 Apr 2024 17:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 107 +++++++++++++++++++++++-------------- src/views/home/ranking.vue | 76 +++++++++++++++++++------- 2 files changed, 125 insertions(+), 58 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 779d1b3..044b832 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -52,11 +52,11 @@ -
+
@@ -71,12 +71,9 @@

-
- -

Invite friends to earn

-

more rewards

+

more rewards

Copy referral link
@@ -133,7 +130,7 @@
- X Connected + Connect Wallet
-

*Complete tasks to win three exploration

-

attempts.

+

*Complete tasks to win three exploration attempts.

@@ -245,8 +241,20 @@
@@ -549,7 +557,7 @@
- X Connected + Connect Wallet
span { + display: inline-block; + } + } } } .calen-content { @@ -2340,6 +2368,7 @@ export default { background-size: 100% 100%; position: relative; padding-right: 30px; + margin-right: 30px; li { color: #fff; padding: 10px 20px 5px 40px; @@ -2530,7 +2559,7 @@ export default { li { display: flex; align-items: center; - margin: 0 5px; + margin: 0 10px; height: 40px; a { display: flex; @@ -2550,7 +2579,7 @@ export default { } } .wallet { - width: 120px; + width: 140px; height: 40px; border-radius: 26px; padding-left: 30px; diff --git a/src/views/home/ranking.vue b/src/views/home/ranking.vue index 9b970c9..a58d5a7 100644 --- a/src/views/home/ranking.vue +++ b/src/views/home/ranking.vue @@ -59,11 +59,17 @@
none
-
0
+
+ 0 + +
{{ rankingTableData[1].nickname }}
-
{{ rankingTableData[1].score }}
+
+ {{ rankingTableData[1].score }} + +
  • @@ -78,9 +84,19 @@
  • -
    +
    +
    none
    +
    + 0 + +
    +
    +
    {{ rankingTableData[0].nickname }}
    -
    {{ rankingTableData[0].score }}
    +
    + {{ rankingTableData[0].score }} + +
  • @@ -96,11 +112,17 @@
  • none
    -
    0
    +
    + 0 + +
    {{ rankingTableData[2].nickname }}
    -
    {{ rankingTableData[2].score }}
    +
    + {{ rankingTableData[2].score }} + +
    @@ -325,8 +347,8 @@ export default { line-height: 40px; text-align: left; position: absolute; - top: -50px; - left: 50px; + top: -25px; + left: 75px; font-size: 42px; font-weight: 700; font-family: "Anton-Regular"; @@ -338,19 +360,22 @@ export default { width: 60%; position: relative; .ranking-content-left-points { - width: 160px; + width: 170px; padding: 20px; background: url('./../../assets/ranking/My points bg.png') no-repeat; background-size: 100% 100%; - margin-top: 10px; + margin-top: 40px; + margin-left: 30px; .list { .my-points { p { + font-weight: 700; text-align: left; - font-size: 12px; + font-size: 14px; } .list-btm { position: relative; + width: 170px; height: 40px; margin-bottom: 20px; .points { @@ -360,11 +385,13 @@ export default { background-size: 100% 100%; display: flex; align-items: center; - justify-content: center; + // justify-content: center; position: absolute; top: -88%; left: 43%; transform: translateX(-50%); + padding-left: 75px; + box-sizing: border-box; span { font-size: 28px; font-weight: 700; @@ -389,7 +416,8 @@ export default { z-index: 99; cursor: pointer; p { - font-size: 12px; + font-weight: 700; + font-size: 14px; text-align: left; } div { @@ -484,12 +512,22 @@ export default { .forward-list-item-btm { font-size: 14px; position: absolute; - bottom: 18%; + bottom: 20%; left: 50%; transform: translateX(-50%); .name { font-weight: 700; - font-size: 16px; + font-size: 14px; + } + .points { + color: #9950fd; + display: flex; + align-items: center; + justify-content: center; + margin-top: 5px; + img { + margin-left: 5px; + } } } &:nth-child(3) { @@ -590,8 +628,8 @@ export default { line-height: 1.4; .label { text-align: left; - color: #5b5862; - font-size: 12px; + color: #979797; + font-size: 14px; } } } @@ -600,8 +638,8 @@ export default { line-height: 1.4; .label { text-align: left; - color: #5b5862; - font-size: 12px; + color: #979797; + font-size: 14px; } .records { text-align: left;