Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Arena Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GaiaXalter
Ygopro Arena Web
Commits
daf016b7
Commit
daf016b7
authored
Mar 03, 2018
by
ganjingcun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a66acb08
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
9 deletions
+19
-9
src/components/Profile.vue
src/components/Profile.vue
+10
-5
src/components/Userinfo.vue
src/components/Userinfo.vue
+6
-1
static/konami.html
static/konami.html
+3
-3
No files found.
src/components/Profile.vue
View file @
daf016b7
...
...
@@ -8,7 +8,7 @@
<div
class=
"caption"
>
<h3>
<i
class=
"glyphicon glyphicon-user"
></i>
<strong>
{{
user
.
username
}}
</strong></h3>
<p
class=
"text-muted"
style=
"font-size:20px;"
>
今日首胜:
{{
activity
.
today
}}
/1
</p>
<p
class=
"text-muted"
style=
"font-size:20px;"
>
{{
activity
.
name
}}
首胜:
{{
activity
.
total
}}
/
{{
activity
.
max
}}
</p>
<p
class=
"text-muted"
v-if=
"showActivity"
style=
"font-size:20px;"
>
{{
activity
.
name
}}
首胜:
{{
activity
.
total
}}
/
{{
activity
.
max
}}
</p>
</div>
</div>
</div>
...
...
@@ -151,10 +151,12 @@
data
()
{
return
{
isMobile
:
false
,
activity
:{
name
:
'
新年充电活动
'
,
max
:
'
15
'
activity
:
{
today
:
0
,
name
:
'
新年充电活动
'
,
max
:
'
15
'
},
showActivity
:
false
,
user_info
:
{
exp
:
0
,
pt
:
500
,
...
...
@@ -259,7 +261,10 @@
var
_this
=
this
;
API
.
getFirstWin
({
username
:
username
}).
then
((
res
)
=>
{
_this
.
activity
=
res
.
data
_this
.
activity
=
res
.
data
if
(
_this
.
activity
.
name
&&
_this
.
activity
.
name
.
trim
().
length
>
0
)
{
_this
.
showActivity
=
true
;
}
},
(
res
)
=>
{
console
.
log
(
res
)
});
...
...
src/components/Userinfo.vue
View file @
daf016b7
...
...
@@ -26,7 +26,7 @@
<h3>
<i
class=
"glyphicon glyphicon-user"
></i>
<strong>
{{
username
}}
</strong></h3>
<!--
<p
class=
"text-nowrap text-muted"
style=
"font-size:20px;"
>
有妞不泡,大逆不道;遇妞则泡,替天行道。
</p>
-->
<p
class=
"text-muted"
style=
"font-size:20px;"
>
今日首胜:
{{
activity
.
today
}}
/1
</p>
<p
class=
"text-muted"
style=
"font-size:20px;"
>
{{
activity
.
name
}}
首胜:
{{
activity
.
total
}}
/
{{
activity
.
max
}}
</p>
<p
class=
"text-muted"
v-if=
"showActivity"
style=
"font-size:20px;"
>
{{
activity
.
name
}}
首胜:
{{
activity
.
total
}}
/
{{
activity
.
max
}}
</p>
</div>
</div>
</div>
...
...
@@ -174,9 +174,11 @@
data
()
{
return
{
activity
:
{
today
:
0
,
name
:
'
新年充电活动
'
,
max
:
'
15
'
},
showActivity
:
false
,
searchText
:
""
,
hasError
:
false
,
username
:
""
,
...
...
@@ -288,6 +290,9 @@
var
_this
=
this
;
API
.
getFirstWin
({
username
:
username
}).
then
((
res
)
=>
{
_this
.
activity
=
res
.
data
if
(
_this
.
activity
.
name
&&
_this
.
activity
.
name
.
trim
().
length
>
0
)
{
_this
.
showActivity
=
true
;
}
},
(
res
)
=>
{
console
.
log
(
res
)
});
...
...
static/konami.html
View file @
daf016b7
...
...
@@ -229,7 +229,7 @@
<div
class=
"t m0 x4 ha y17 ff3 fs2 fc0 sc0 ls1 ws0"
>
{{deck.spells[6].num}}
</div>
</div>
<div
class=
"c x19 y1b wf he"
>
<div
class=
"t m0 x4 ha y17 ff5 fs2 fc0 sc0 ls1 ws0"
>
{{deck.spells[
5
].name}}
</div>
<div
class=
"t m0 x4 ha y17 ff5 fs2 fc0 sc0 ls1 ws0"
>
{{deck.spells[
6
].name}}
</div>
</div>
<div
class=
"c x17 y1b w10 he"
>
<div
class=
"t m0 x4 ha y17 ff3 fs2 fc0 sc0 ls1 ws0"
>
{{deck.traps[6].num}}
</div>
...
...
@@ -641,7 +641,7 @@
</div>
<div
class=
"c x1c y36 w1b he"
>
<div
class=
"t m0 x4 h13 y37 ff2 fs4 fc0 sc0 lsa ws0"
>
Infraction(s):
<span
class=
"ls1"
>
!
</span></div>
</div>
</div>
<div
class=
"c x3 y38 wd hd"
>
<div
class=
"t m0 x4 ha y14 ff3 fs2 fc0 sc0 ls1 ws0"
>
{{deck.extra[6].num}}
</div>
</div>
...
...
@@ -983,7 +983,7 @@
}
}
this
.
calTotal
()
this
.
calTotal
()
;
},
(
res
)
=>
{
})
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment