Commit 066f4662 authored by ganjingcun's avatar ganjingcun

android down

parent a4150eb4
......@@ -6,18 +6,24 @@
<p class="text-center"><strong>{{lang.downloadPage.desc}}</strong> </p>
</div>
<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>
<h3 class="name">Windows </h3>
<!--<p class="title">asd</p>-->
</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>
<h3 class="name">Mac </h3>
<!--<p class="title">asd</p>-->
</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 class="box"><i class="fa fa-linux"></i>
<h3 class="name">Linux </h3>
......@@ -52,20 +58,23 @@
// https://wudizhanche.mycard.moe/download?platform=darwin
var self = this
API.getDownloadUrls().then((res) => {
let assets = res.data.assets
for (let i of assets) {
if (i.browser_download_url.indexOf('.exe') > -1) {
self.downloadUrls['windows'] = i.browser_download_url
}
if (i.browser_download_url.indexOf('.dmg') > -1) {
self.downloadUrls['mac'] = i.browser_download_url
}
if (i.browser_download_url.indexOf('.AppImage') > -1) {
self.downloadUrls['linux'] = i.browser_download_url
}
}
});
self.downloadUrls['windows'] = "https://mycard.moe"
self.downloadUrls['mac'] = "https://mycard.moe"
self.downloadUrls['android'] = "https://pan.baidu.com/s/1o7RMcMA#list/path=%2F"
// API.getDownloadUrls().then((res) => {
// let assets = res.data.assets
// for (let i of assets) {
// if (i.browser_download_url.indexOf('.exe') > -1) {
// self.downloadUrls['windows'] = i.browser_download_url
// }
// if (i.browser_download_url.indexOf('.dmg') > -1) {
// self.downloadUrls['mac'] = i.browser_download_url
// }
// if (i.browser_download_url.indexOf('.AppImage') > -1) {
// self.downloadUrls['linux'] = i.browser_download_url
// }
// }
// });
},
computed: {
...mapGetters({
......
......@@ -16,7 +16,7 @@
<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://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">
<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">
......
......@@ -70,7 +70,7 @@ module.exports = {
},
downloadPage: {
welcome: "欢迎来到MyCard下载页面",
desc: "MyCard支持以下2种系统的版本,请下载符合的版本。",
desc: "MyCard支持以下3种系统的版本,请下载符合的版本。",
user_guide: "MyCard YGOPro使用说明",
user_guide_url: "https://ygobbs.com/t/MyCard-V3-使用说明/82308/13",
},
......@@ -176,7 +176,7 @@ module.exports = {
downloadPage: {
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_url: "https://ygobbs.com/t/MyCard-V3-User-Guide/82335"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment