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
fb331063
Commit
fb331063
authored
Apr 21, 2017
by
2breakegg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
files url
parent
22a57ddd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
9 deletions
+25
-9
app/cube-description/cube-description.component.css
app/cube-description/cube-description.component.css
+15
-1
app/cube-description/cube-description.component.html
app/cube-description/cube-description.component.html
+3
-1
app/cube.ts
app/cube.ts
+7
-7
No files found.
app/cube-description/cube-description.component.css
View file @
fb331063
...
@@ -80,9 +80,23 @@ div {
...
@@ -80,9 +80,23 @@ div {
z-index
:
10
;
z-index
:
10
;
width
:
116px
;
width
:
116px
;
height
:
77px
;
height
:
77px
;
background
:
url('
file:///C:/Users/break/Desktop/select
.png')
;
background
:
url('
http://store.steampowered.com/public/images/v5/game_highlight_activethumb
.png')
;
}
}
.icon_play
{
border-radius
:
5px
;
background
:
rgba
(
255
,
255
,
255
,
0.7
);
position
:
absolute
;
top
:
50%
;
left
:
50%
;
margin
:
-21px
0
0
-21px
;
font-size
:
38px
;
line-height
:
32px
;
width
:
32px
;
height
:
32px
;
padding
:
5px
;
box-sizing
:
initial
;
}
/*#left {*/
/*#left {*/
/*font-size: 14px;*/
/*font-size: 14px;*/
/*margin-right: 8px;*/
/*margin-right: 8px;*/
...
...
app/cube-description/cube-description.component.html
View file @
fb331063
...
@@ -25,8 +25,10 @@
...
@@ -25,8 +25,10 @@
<div
style=
"margin-right: -10000px; position: relative; float:left; padding-top: 10px"
>
<div
style=
"margin-right: -10000px; position: relative; float:left; padding-top: 10px"
>
<div
class=
"select-rectangle"
[style.left]=
"(2+120*selectId)+'px'"
></div>
<div
class=
"select-rectangle"
[style.left]=
"(2+120*selectId)+'px'"
></div>
<div
*ngFor=
"let src of videosrc ; index as key"
class=
"left-small-item"
(click)=
"select(key);"
style=
"position: relative"
>
<div
*ngFor=
"let src of videosrc ; index as key"
class=
"left-small-item"
(click)=
"select(key);"
style=
"position: relative"
>
<img
class=
"img-fixed"
[src]=
"src[1]"
/>
<img
class=
"img-fixed"
[src]=
"src[1]"
/>
<img
src=
"file:///C:/Users/break/Desktop/icon-movie.png"
style=
"position:absolute; top:50%; left:50%; margin: -16px 0 0 -16px;"
/>
<i
class=
"fa fa-play-circle icon_play"
aria-hidden=
"true"
></i>
<!--<img src="file:///C:/Users/break/Desktop/icon-movie.png" style="position:absolute; top:50%; left:50%; margin: -16px 0 0 -16px;"/>-->
</div>
</div>
<div
*ngFor=
"let src of imgsrc ; index as key"
class=
"left-small-item"
(click)=
"select(key+videosrc.length)"
>
<div
*ngFor=
"let src of imgsrc ; index as key"
class=
"left-small-item"
(click)=
"select(key+videosrc.length)"
>
<img
class=
"img-fixed"
[src]=
"src"
/>
<img
class=
"img-fixed"
[src]=
"src"
/>
...
...
app/cube.ts
View file @
fb331063
...
@@ -177,13 +177,13 @@ export class Cube {
...
@@ -177,13 +177,13 @@ export class Cube {
this
.
price
=
app
.
price
;
this
.
price
=
app
.
price
;
this
.
key
=
app
.
key
;
this
.
key
=
app
.
key
;
this
.
trailer
=
[
this
.
trailer
=
app
.
trailer
||
[];
{
url
:
'
http://cdn.edgecast.steamstatic.com/steam/apps/2036126/movie480.webm
'
,
type
:
'
video
'
},
// { url: 'http://cdn.edgecast.steamstatic.com/steam/apps/2036126/movie480.webm', type: 'video', url2:''
},
{
//
{
url
:
'
http://cdn.edgecast.steamstatic.com/steam/apps/264710/ss_e41e71c05f3fcf08e54140bd9f1ffc9008706843.600x338.jpg
'
,
//
url: 'http://cdn.edgecast.steamstatic.com/steam/apps/264710/ss_e41e71c05f3fcf08e54140bd9f1ffc9008706843.600x338.jpg',
type
:
'
image
'
//
type: 'image'
}
//
}
];
//
];
}
}
findDependencies
():
Cube
[]
{
findDependencies
():
Cube
[]
{
...
...
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