Commit a9e698ac authored by 2breakegg's avatar 2breakegg

style

parent 562b6298
......@@ -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);
}
......
......@@ -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 {
......
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