fix the top view of browse
This commit is contained in:
parent
2fca495a5d
commit
b49c079a21
4 changed files with 21 additions and 17 deletions
|
@ -1,22 +1,24 @@
|
|||
<script type="text/x-template" id="mediaitem-mvview-sp">
|
||||
<template>
|
||||
<div style="position: relative; display: inline-flex;">
|
||||
<div @click.self='app.routeView(item)'
|
||||
<div @click.self='app.routeView(item)'
|
||||
class="cd-mediaitem-mvview">
|
||||
<div class="title-browse-sp bold " @click='app.routeView(item)'>
|
||||
{{ badge ? badge.designBadge : '⠀ '}}
|
||||
<div style="height: 70px; min-height: 70px; max-height: 70px; width: 100%;">
|
||||
<div class="title-browse-sp bold " @click='app.routeView(item)' style = "color: darkgrey;">
|
||||
{{ badge ? badge.designBadge : ''}}
|
||||
</div>
|
||||
<div class="title-browse-sp " >
|
||||
{{ (badge != null && badge.designTag != null) ? badge.designTag : (item.attributes.name ?? '') }}
|
||||
</div>
|
||||
<div class="title-browse-sp semibold" style = "color: darkgrey;" >
|
||||
{{ (item.attributes.artistName ?? (item.attributes.curatorName ?? '')) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="title-browse-sp " >
|
||||
{{ (badge != null && badge.designTag != null) ? badge.designTag : (item.attributes.name ?? '⠀ ') }}
|
||||
</div>
|
||||
<div class="title-browse-sp semibold" >
|
||||
{{ (item.attributes.artistName ?? (item.attributes.curatorName ?? '⠀ ')) }}
|
||||
</div>
|
||||
<div class="artwork">
|
||||
<mediaitem-artwork
|
||||
:url="item.attributes.artwork ? item.attributes.artwork.url : ''"
|
||||
:video="(item.attributes != null && item.attributes.editorialVideo != null) ? (item.attributes.editorialVideo.motionDetailSquare ? item.attributes.editorialVideo.motionDetailSquare.video : (item.attributes.editorialVideo.motionSquareVideo1x1 ? item.attributes.editorialVideo.motionSquareVideo1x1.video : '')) : '' "
|
||||
:size="imagesize ?? 300"
|
||||
:size="516" :width="900"
|
||||
></mediaitem-artwork>
|
||||
</div>
|
||||
<div class="cd-mediaitem-mvview-overlay" @click.self='app.routeView(item)'>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue