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
a9e698ac
Commit
a9e698ac
authored
Apr 28, 2017
by
2breakegg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style
parent
562b6298
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/cube-description/cube-description.component.ts
app/cube-description/cube-description.component.ts
+1
-1
app/cube.ts
app/cube.ts
+1
-1
No files found.
app/cube-description/cube-description.component.ts
View file @
a9e698ac
...
...
@@ -36,7 +36,7 @@ export class CubeDescriptionComponent implements OnChanges {
for
(
let
val
of
this
.
currentCube
.
trailer
)
{
if
(
val
.
type
===
'
video
'
)
{
this
.
videosrc
.
push
([
val
.
url
,
val
.
url2
]);
this
.
videosrc
.
push
([
val
.
url
,
val
.
poster
]);
}
else
if
(
val
.
type
===
'
image
'
)
{
this
.
imgsrc
.
push
(
val
.
url
);
}
...
...
app/cube.ts
View file @
a9e698ac
...
...
@@ -44,7 +44,7 @@ export class Cube {
key
?:
string
;
// 宣传片
trailer
:
{
url
:
string
,
type
:
'
video
'
|
'
image
'
,
url2
?:
string
}[];
trailer
:
{
url
:
string
,
type
:
'
video
'
|
'
image
'
,
poster
?:
string
}[];
achievements
:
Achievement
[];
static
downloadUrl
(
app
:
Cube
,
platform
:
string
,
locale
:
string
):
string
{
...
...
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