Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
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
MyCard
Moecube Store
Commits
29105891
Commit
29105891
authored
Jan 23, 2017
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态下载地址
parent
e555ea2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/store.component.html
app/store.component.html
+2
-2
app/store.component.ts
app/store.component.ts
+1
-0
No files found.
app/store.component.html
View file @
29105891
...
...
@@ -28,7 +28,7 @@
<h1
class=
"display-3"
>
萌卡
<sup
class=
"titileBeta"
>
BETA
</sup></h1>
<p>
MyCard 同人游戏平台
</p>
<p
*ngIf=
"latest"
>
<a
class=
"btn btn-primary btn-lg"
[href]=
"latest
.win32
.url"
role=
"button"
>
立即安装
</a>
<a
class=
"btn btn-primary btn-lg"
[href]=
"latest
[platform]
.url"
role=
"button"
>
立即安装
</a>
</p>
<p
*ngIf=
"latest"
>
萌卡平台支持
<a
[href]=
"latest.win32.url"
>
Windows
</a>
与
<a
[href]=
"latest.darwin.url"
>
Mac
</a>
操作系统。
...
...
@@ -116,7 +116,7 @@
<div
class=
"row"
>
<div
id=
"setup"
class=
"col"
*ngIf=
"latest"
>
<p>
欢迎加入萌卡这个大家庭
</p>
<a
class=
"btn btn-primary btn-lg"
[href]=
"latest
.win32
.url"
role=
"button"
>
立即安装
</a>
<a
class=
"btn btn-primary btn-lg"
[href]=
"latest
[platform]
.url"
role=
"button"
>
立即安装
</a>
</div>
<div
id=
"requirements"
class=
"col"
>
<p>
...
...
app/store.component.ts
View file @
29105891
...
...
@@ -12,6 +12,7 @@ import * as yaml from 'js-yaml';
export
class
StoreComponent
implements
OnInit
{
stats
:
{
signups
:
number
;
online
:
number
;};
latest
:
{
win32
:
{
version
:
string
,
url
:
string
},
darwin
:
{
version
:
string
,
url
:
string
}};
platform
=
navigator
.
platform
.
match
(
/Mac/i
)
?
'
darwin
'
:
'
win32
'
;
constructor
(
private
http
:
Http
)
{
}
...
...
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