diff --git a/public/desktop.html b/public/desktop.html index 006c4cf..6cc79e1 100755 --- a/public/desktop.html +++ b/public/desktop.html @@ -294,8 +294,8 @@
How to claim your reward?
diff --git a/public/mobile.html b/public/mobile.html index c79a87d..ab7734d 100755 --- a/public/mobile.html +++ b/public/mobile.html @@ -6,15 +6,23 @@ - + - + - - - + + + CEBG 1,000 Commander Rally @@ -248,28 +256,26 @@ >
What is the reward for Rally Program?
How to play CEBG?
-
Rank
-
{{ userinfo.rank}}
+
{{ userinfo.rank }}
Rally Points
- {{ numFormat(userinfo.point)}} + {{ numFormat(userinfo.point) }}
-
{{ item.create_time.slice(0, 10).replace(/-/g,"/") }}
+
+ {{ item.create_time.slice(0, 10).replace(/-/g, "/") }} +
@{{ item.operator }}
{{ list[item.event] }}
{{ "+" + item.point }}
+
+ Get your own CODE and SEND link to others for 10000U reward!
+ *A-code invite B, +200; B-code invite C; A +40, B+200 + +
Coming Soon
@@ -178,7 +185,7 @@ export default { userinfo: {}, listevent: null, currentIndex: 0, - list: { "1":"Registration","2":"Lv1 Invitation","3":"Lv2 Invitation"}, + list: { 1: "Registration", 2: "Lv1 Invitation", 3: "Lv2 Invitation" }, account: "", discord: "", twitter: "", @@ -206,10 +213,9 @@ export default { account: AppModule.account, }) .then((res) => { - this.userinfo = res.data; this.discord = this.formatAddress(res.data.discord); - this.twitter =this.formatAddress(res.data.twitter); + this.twitter = this.formatAddress(res.data.twitter); this.cp_url = `${CP_URL_BASE}${this.userinfo.invite_code}`; }) .catch((err) => { @@ -221,7 +227,6 @@ export default { account: AppModule.account, }) .then((res) => { - this.listevent = res.data.data; }) .catch((err) => { @@ -253,10 +258,10 @@ export default { } }, numFormat(num) { - num = parseFloat(num) - return (num.toString().indexOf ('.') !== -1) ? - num.toLocaleString(): - num.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') + num = parseFloat(num); + return num.toString().indexOf(".") !== -1 + ? num.toLocaleString() + : num.toString().replace(/(\d)(?=(?:\d{3})+$)/g, "$1,"); }, navigator() { this.$router.push("listdetails"); @@ -351,11 +356,18 @@ export default { white-space: nowrap; // text-overflow: ellipsis; } +.tips { + width: 94%; + margin: 0 auto; + font-size: 0.06rem; + margin-bottom: 3vh; + line-height: 2.4vh; + color: #d7a972; +} .icon-content { display: flex; align-items: center; width: 12%; - // line-height: 1vh; margin-right: 0.3rem; img { width: 100%; @@ -476,7 +488,8 @@ export default { margin: 0 auto; // height: 40vh; margin-top: 2vh; - margin-bottom: 4vh; + padding-bottom: 1vh; + margin-bottom: 1vh; border: 1px solid rgba(208, 163, 110, 0.79); background: #0f0f0f; .list-header { diff --git a/src/views/mobile/Success.vue b/src/views/mobile/Success.vue index 475b4f1..409cf8c 100644 --- a/src/views/mobile/Success.vue +++ b/src/views/mobile/Success.vue @@ -116,7 +116,7 @@ export default { background-size: 100% 100%; } .content { - width: 80%; + width: 86%; background: url(../../assets/mobile/code-bg.png) no-repeat; background-size: 100% 100%; text-align: center;