Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
e29038f5
Commit
e29038f5
authored
Jun 01, 2017
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "mycard->molecule"
This reverts commit
132fbd5b
.
parent
3979f504
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
17 deletions
+17
-17
README.md
README.md
+1
-1
app/about.component.html
app/about.component.html
+3
-3
app/app-detail.component.ts
app/app-detail.component.ts
+1
-1
app/main-aot.ts
app/main-aot.ts
+2
-2
app/moecube.component.html
app/moecube.component.html
+2
-2
app/ygopro.component.ts
app/ygopro.component.ts
+2
-2
lang.js
lang.js
+6
-6
No files found.
README.md
View file @
e29038f5
# M
oeCube
[![Build Status](https://travis-ci.org/moecube/moecube.svg?branch=v3)](https://travis-ci.org/moecube/moecube) [![Build status](https://ci.appveyor.com/api/projects/status/ho6jfrowg37wj1lx?svg=true)](https://ci.appveyor.com/project/zh99998/moecube)
# M
yCard
[![Build Status](https://travis-ci.org/moecube/moecube.svg?branch=v3)](https://travis-ci.org/moecube/moecube) [![Build status](https://ci.appveyor.com/api/projects/status/ho6jfrowg37wj1lx?svg=true)](https://ci.appveyor.com/project/zh99998/moecube)
## Install Dependencies
## Install Dependencies
```
bash
```
bash
...
...
app/about.component.html
View file @
e29038f5
<!--<h2>M
oeCube
招募公告</h2>-->
<!--<h2>M
yCard
招募公告</h2>-->
<!--<p>M
oeCube 伴随大家已经有 6 年了,在这 6 年间 MoeCube 作为一个同人平台很感谢得到大家的支持,现在 MoeCube 为了给支持的大家带来更好的体验,正在努力进行全新的改版的开发工作,希望可以得到大家的支持和帮助。</p>--><!--<p>职位:(前端)开发工程师</p>--><!--<p>负责平台客户端的开发,及网站和论坛相关的改版工作。</p>--><!--<p>职位描述:对 ACG 领域有一定的了解,会js等编程领域的专业技能,对软件开发具有一定的热情和自主能动性,认真严谨和团队意识。</p>--><!--<p>联系邮箱:admin@moecube.com
</p>--><!--<p>工作地点:上海市长宁区(工资面议)</p>-->
<!--<p>M
yCard 伴随大家已经有 6 年了,在这 6 年间 MyCard 作为一个同人平台很感谢得到大家的支持,现在 MyCard 为了给支持的大家带来更好的体验,正在努力进行全新的改版的开发工作,希望可以得到大家的支持和帮助。</p>--><!--<p>职位:(前端)开发工程师</p>--><!--<p>负责平台客户端的开发,及网站和论坛相关的改版工作。</p>--><!--<p>职位描述:对 ACG 领域有一定的了解,会js等编程领域的专业技能,对软件开发具有一定的热情和自主能动性,认真严谨和团队意识。</p>--><!--<p>联系邮箱:hr@mycard.moe
</p>--><!--<p>工作地点:上海市长宁区(工资面议)</p>-->
<!--<h2>联系我们</h2>--><!--<dl>--><!--<dt>应聘</dt>--><!--<dd>
admin@moecube.com</dd>--><!--<dt>投稿、合作、侵权投诉</dt>--><!--<dd>admin@moecube.com</dd>--><!--<dt>问题反馈</dt>--><!--<dd>admin@moecube.com
</dd>--><!--</dl>-->
<!--<h2>联系我们</h2>--><!--<dl>--><!--<dt>应聘</dt>--><!--<dd>
hr@mycard.com</dd>--><!--<dt>投稿、合作、侵权投诉</dt>--><!--<dd>business@mycard.com</dd>--><!--<dt>问题反馈</dt>--><!--<dd>support@mycard.moe
</dd>--><!--</dl>-->
app/app-detail.component.ts
View file @
e29038f5
...
@@ -278,7 +278,7 @@ export class AppDetailComponent implements OnInit, OnChanges {
...
@@ -278,7 +278,7 @@ export class AppDetailComponent implements OnInit, OnChanges {
data
.
set
(
'
currency
'
,
'
cny
'
);
data
.
set
(
'
currency
'
,
'
cny
'
);
data
.
set
(
'
payment
'
,
this
.
payment
);
data
.
set
(
'
payment
'
,
this
.
payment
);
try
{
try
{
let
{
url
}
=
await
this
.
http
.
post
(
'
https://api.m
oecube.com
/orders
'
,
data
).
map
(
response
=>
response
.
json
()).
toPromise
();
let
{
url
}
=
await
this
.
http
.
post
(
'
https://api.m
ycard.moe
/orders
'
,
data
).
map
(
response
=>
response
.
json
()).
toPromise
();
open
(
url
);
open
(
url
);
$
(
'
#purchase-modal
'
).
modal
(
'
hide
'
);
$
(
'
#purchase-modal
'
).
modal
(
'
hide
'
);
$
(
'
#purchase-modal-alipay
'
).
modal
(
'
show
'
);
$
(
'
#purchase-modal-alipay
'
).
modal
(
'
show
'
);
...
...
app/main-aot.ts
View file @
e29038f5
// import {M
oeCubeNgFactory} from '../aot/app/moecube
.module.ngfactory';
// import {M
yCardNgFactory} from '../aot/app/mycard
.module.ngfactory';
// import {getTranslationProviders} from './i18n-providers';
// import {getTranslationProviders} from './i18n-providers';
// import {enableProdMode} from '@angular/core';
// import {enableProdMode} from '@angular/core';
// import {platformBrowser} from '@angular/platform-browser';
// import {platformBrowser} from '@angular/platform-browser';
...
@@ -6,5 +6,5 @@
...
@@ -6,5 +6,5 @@
//
//
// getTranslationProviders().then(providers => {
// getTranslationProviders().then(providers => {
// const options = {providers};
// const options = {providers};
// platformBrowser().bootstrapModuleFactory(M
oeCube
NgFactory);
// platformBrowser().bootstrapModuleFactory(M
yCard
NgFactory);
// });
// });
app/moecube.component.html
View file @
e29038f5
<nav
id=
"navbar"
class=
"navbar navbar-toggleable-md navbar-light"
>
<nav
id=
"navbar"
class=
"navbar navbar-toggleable-md navbar-light"
>
<a
id=
"navbar-brand"
class=
"navbar-brand"
href=
"#"
>
M
oeCube
</a>
<a
id=
"navbar-brand"
class=
"navbar-brand"
href=
"#"
>
M
yCard
</a>
<ul
class=
"navbar-nav mr-auto"
>
<ul
class=
"navbar-nav mr-auto"
>
<li
*ngIf=
"!loginService.logged_in"
class=
"nav-item active"
>
<li
*ngIf=
"!loginService.logged_in"
class=
"nav-item active"
>
<a
i18n
class=
"nav-link"
href=
"#"
>
登录
</a>
<a
i18n
class=
"nav-link"
href=
"#"
>
登录
</a>
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<div
class=
"modal-dialog"
role=
"document"
>
<div
class=
"modal-dialog"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<h5
i18n
class=
"modal-title"
id=
"myModalLabel"
>
M
oeCube
设置
</h5>
<h5
i18n
class=
"modal-title"
id=
"myModalLabel"
>
M
yCard
设置
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</button>
...
...
app/ygopro.component.ts
View file @
e29038f5
...
@@ -384,11 +384,11 @@ export class YGOProComponent implements OnInit, OnDestroy {
...
@@ -384,11 +384,11 @@ export class YGOProComponent implements OnInit, OnDestroy {
this
.
replays
=
await
this
.
get_replays
();
this
.
replays
=
await
this
.
get_replays
();
// https://m
oecube.com
/ygopro/api/user?username=ozxdno
// https://m
ycard.moe
/ygopro/api/user?username=ozxdno
let
params
=
new
URLSearchParams
();
let
params
=
new
URLSearchParams
();
params
.
set
(
'
username
'
,
this
.
loginService
.
user
.
username
);
params
.
set
(
'
username
'
,
this
.
loginService
.
user
.
username
);
try
{
try
{
let
points
=
await
this
.
http
.
get
(
'
https://m
oecube.com
/ygopro/api/user
'
,
{
search
:
params
})
let
points
=
await
this
.
http
.
get
(
'
https://m
ycard.moe
/ygopro/api/user
'
,
{
search
:
params
})
.
map
((
response
)
=>
response
.
json
())
.
map
((
response
)
=>
response
.
json
())
.
toPromise
();
.
toPromise
();
this
.
points
.
emit
(
points
);
this
.
points
.
emit
(
points
);
...
...
lang.js
View file @
e29038f5
...
@@ -2,15 +2,15 @@ module.exports = {
...
@@ -2,15 +2,15 @@ module.exports = {
"
update
"
:
{
"
update
"
:
{
"
zh-CN
"
:
{
"
zh-CN
"
:
{
"
pageTitle
"
:
"
更新消息
"
,
"
pageTitle
"
:
"
更新消息
"
,
"
updateTitle
"
:
"
M
oeCube
更新下载完毕
"
,
"
updateTitle
"
:
"
M
yCard
更新下载完毕
"
,
"
updateMsg
"
:[
"
updateMsg
"
:[
"
点击【现在安装更新】,会立即关闭 M
oeCube
平台及正在运行中的游戏,并安装更新。
"
,
"
点击【现在安装更新】,会立即关闭 M
yCard
平台及正在运行中的游戏,并安装更新。
"
,
"
点击【下次启动时安装更新】,会在 M
oeCube
平台退出之后进行更新。
"
,
"
点击【下次启动时安装更新】,会在 M
yCard
平台退出之后进行更新。
"
,
"
你也可以随时点击平台上的更新按钮安装哦!
"
"
你也可以随时点击平台上的更新按钮安装哦!
"
],
],
"
updateFailed
"
:{
"
updateFailed
"
:{
"
p1
"
:
"
如果自动更新失败,请至
"
,
"
p1
"
:
"
如果自动更新失败,请至
"
,
"
p2
"
:
"
https://m
oecube.com
"
,
"
p2
"
:
"
https://m
ycard.moe
"
,
"
p3
"
:
"
手动下载最新版本
"
"
p3
"
:
"
手动下载最新版本
"
},
},
"
actions
"
:{
"
actions
"
:{
...
@@ -22,8 +22,8 @@ module.exports = {
...
@@ -22,8 +22,8 @@ module.exports = {
"
pageTitle
"
:
"
Update
"
,
"
pageTitle
"
:
"
Update
"
,
"
updateTitle
"
:
"
Update downloaded
"
,
"
updateTitle
"
:
"
Update downloaded
"
,
"
updateMsg
"
:[
"
updateMsg
"
:[
"
If you install now, M
oeCube
will go offline and update immediately, your gaming progress may be affected.
"
,
"
If you install now, M
yCard
will go offline and update immediately, your gaming progress may be affected.
"
,
"
If you install later, then the update will be automatically installed when you start-up M
oeCube
next time.
"
,
"
If you install later, then the update will be automatically installed when you start-up M
yCard
next time.
"
,
"
You may also click the Update button to install the update anytime.
"
"
You may also click the Update button to install the update anytime.
"
],
],
"
updateFailed
"
:{
"
updateFailed
"
:{
...
...
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