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
066f4662
Commit
066f4662
authored
Aug 20, 2017
by
ganjingcun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
android down
parent
a4150eb4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
19 deletions
+28
-19
src/components/Download.vue
src/components/Download.vue
+25
-16
src/components/PageHeader.vue
src/components/PageHeader.vue
+1
-1
src/components/lang.js
src/components/lang.js
+2
-2
No files found.
src/components/Download.vue
View file @
066f4662
...
@@ -6,18 +6,24 @@
...
@@ -6,18 +6,24 @@
<p
class=
"text-center"
><strong>
{{
lang
.
downloadPage
.
desc
}}
</strong>
</p>
<p
class=
"text-center"
><strong>
{{
lang
.
downloadPage
.
desc
}}
</strong>
</p>
</div>
</div>
<div
class=
"row people"
>
<div
class=
"row people"
>
<div
@
click=
"gogo('windows')"
class=
"col-md-
6
col-sm-6 item1"
>
<div
@
click=
"gogo('windows')"
class=
"col-md-
4
col-sm-6 item1"
>
<div
class=
"box"
><i
class=
"fa fa-windows"
></i>
<div
class=
"box"
><i
class=
"fa fa-windows"
></i>
<h3
class=
"name"
>
Windows
</h3>
<h3
class=
"name"
>
Windows
</h3>
<!--
<p
class=
"title"
>
asd
</p>
-->
<!--
<p
class=
"title"
>
asd
</p>
-->
</div>
</div>
</div>
</div>
<div
@
click=
"gogo('mac')"
class=
"col-md-
6
col-sm-6 item1"
>
<div
@
click=
"gogo('mac')"
class=
"col-md-
4
col-sm-6 item1"
>
<div
class=
"box"
><i
class=
"fa fa-apple"
></i>
<div
class=
"box"
><i
class=
"fa fa-apple"
></i>
<h3
class=
"name"
>
Mac
</h3>
<h3
class=
"name"
>
Mac
</h3>
<!--
<p
class=
"title"
>
asd
</p>
-->
<!--
<p
class=
"title"
>
asd
</p>
-->
</div>
</div>
</div>
</div>
<div
@
click=
"gogo('android')"
class=
"col-md-4 col-sm-6 item1"
>
<div
class=
"box"
><i
class=
"fa fa-android"
></i>
<h3
class=
"name"
>
Andoroid
</h3>
</div>
</div>
<!--
<div
@
click=
"gogo('linux')"
class=
"col-md-4 col-sm-6 item1"
>
<!--
<div
@
click=
"gogo('linux')"
class=
"col-md-4 col-sm-6 item1"
>
<div
class=
"box"
><i
class=
"fa fa-linux"
></i>
<div
class=
"box"
><i
class=
"fa fa-linux"
></i>
<h3
class=
"name"
>
Linux
</h3>
<h3
class=
"name"
>
Linux
</h3>
...
@@ -52,20 +58,23 @@
...
@@ -52,20 +58,23 @@
// https://wudizhanche.mycard.moe/download?platform=darwin
// https://wudizhanche.mycard.moe/download?platform=darwin
var
self
=
this
var
self
=
this
API
.
getDownloadUrls
().
then
((
res
)
=>
{
self
.
downloadUrls
[
'
windows
'
]
=
"
https://mycard.moe
"
let
assets
=
res
.
data
.
assets
self
.
downloadUrls
[
'
mac
'
]
=
"
https://mycard.moe
"
for
(
let
i
of
assets
)
{
self
.
downloadUrls
[
'
android
'
]
=
"
https://pan.baidu.com/s/1o7RMcMA#list/path=%2F
"
if
(
i
.
browser_download_url
.
indexOf
(
'
.exe
'
)
>
-
1
)
{
// API.getDownloadUrls().then((res) => {
self
.
downloadUrls
[
'
windows
'
]
=
i
.
browser_download_url
// let assets = res.data.assets
}
// for (let i of assets) {
if
(
i
.
browser_download_url
.
indexOf
(
'
.dmg
'
)
>
-
1
)
{
// if (i.browser_download_url.indexOf('.exe') > -1) {
self
.
downloadUrls
[
'
mac
'
]
=
i
.
browser_download_url
// self.downloadUrls['windows'] = i.browser_download_url
}
// }
if
(
i
.
browser_download_url
.
indexOf
(
'
.AppImage
'
)
>
-
1
)
{
// if (i.browser_download_url.indexOf('.dmg') > -1) {
self
.
downloadUrls
[
'
linux
'
]
=
i
.
browser_download_url
// self.downloadUrls['mac'] = i.browser_download_url
}
// }
}
// if (i.browser_download_url.indexOf('.AppImage') > -1) {
});
// self.downloadUrls['linux'] = i.browser_download_url
// }
// }
// });
},
},
computed
:
{
computed
:
{
...
mapGetters
({
...
mapGetters
({
...
...
src/components/PageHeader.vue
View file @
066f4662
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<li
role=
"presentation"
><a
href=
"#/cards"
>
{{
lang
.
card_rank
}}
</a></li>
<li
role=
"presentation"
><a
href=
"#/cards"
>
{{
lang
.
card_rank
}}
</a></li>
<li
role=
"presentation"
><a
href=
"https://rep.ygobbs.com"
>
{{
lang
.
battlelog
}}
</a></li>
<li
role=
"presentation"
><a
href=
"https://rep.ygobbs.com"
>
{{
lang
.
battlelog
}}
</a></li>
<!--
<li
role=
"presentation"
><a
href=
"https://mycard.moe/ygopro/"
>
{{
lang
.
download
}}
</a></li>
-->
<!--
<li
role=
"presentation"
><a
href=
"https://mycard.moe/ygopro/"
>
{{
lang
.
download
}}
</a></li>
-->
<
!--
<li
role=
"presentation"
><a
href=
"#/download"
>
{{
lang
.
download
}}
</a></li>
--
>
<
li
role=
"presentation"
><a
href=
"#/download"
>
{{
lang
.
download
}}
</a></li
>
<li
v-if=
"user.isLogin"
class=
"dropdown"
>
<li
v-if=
"user.isLogin"
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
aria-expanded=
"false"
href=
"#"
><img
v-bind:src=
"user.avatar_url"
id=
"head-portrait"
>
{{
user
.
username
}}
<span
class=
"caret"
></span></a>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
aria-expanded=
"false"
href=
"#"
><img
v-bind:src=
"user.avatar_url"
id=
"head-portrait"
>
{{
user
.
username
}}
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<ul
class=
"dropdown-menu"
role=
"menu"
>
...
...
src/components/lang.js
View file @
066f4662
...
@@ -70,7 +70,7 @@ module.exports = {
...
@@ -70,7 +70,7 @@ module.exports = {
},
},
downloadPage
:
{
downloadPage
:
{
welcome
:
"
欢迎来到MyCard下载页面
"
,
welcome
:
"
欢迎来到MyCard下载页面
"
,
desc
:
"
MyCard支持以下
2
种系统的版本,请下载符合的版本。
"
,
desc
:
"
MyCard支持以下
3
种系统的版本,请下载符合的版本。
"
,
user_guide
:
"
MyCard YGOPro使用说明
"
,
user_guide
:
"
MyCard YGOPro使用说明
"
,
user_guide_url
:
"
https://ygobbs.com/t/MyCard-V3-使用说明/82308/13
"
,
user_guide_url
:
"
https://ygobbs.com/t/MyCard-V3-使用说明/82308/13
"
,
},
},
...
@@ -176,7 +176,7 @@ module.exports = {
...
@@ -176,7 +176,7 @@ module.exports = {
downloadPage
:
{
downloadPage
:
{
welcome
:
"
MyCard-YGOPro Download Page
"
,
welcome
:
"
MyCard-YGOPro Download Page
"
,
desc
:
"
MyCard has installer for Windows and Mac, please download the correct installer.
"
,
desc
:
"
MyCard has installer for Windows and Mac
and Android
, please download the correct installer.
"
,
user_guide
:
"
MyCard YGOPro User Guide
"
,
user_guide
:
"
MyCard YGOPro User Guide
"
,
user_guide_url
:
"
https://ygobbs.com/t/MyCard-V3-User-Guide/82335
"
user_guide_url
:
"
https://ygobbs.com/t/MyCard-V3-User-Guide/82335
"
},
},
...
...
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