This commit is contained in:
aixianling
2023-01-03 10:17:47 +08:00
parent 69237e3e32
commit 7a062635af
2 changed files with 9 additions and 2 deletions

View File

@@ -8,7 +8,8 @@
<b class="mar-b16" v-text="row.videoName"/>
<div class="color-999 line3" v-text="row.videoIntroduction"/>
</div>
<div class="thumb" :style="{backgroundImage:row.imageFileUrl}">
<div class="thumb">
<img :src="row.imageFileUrl"/>
<span v-text="`${row.voteNumber}票`"/>
</div>
</div>
@@ -114,6 +115,12 @@ export default {
line-height: 44px;
background: #FF883C;
color: #fff;
z-index: 2;
}
& > img {
width: 100%;
height: 100%;
}
}
}

View File

@@ -2,7 +2,7 @@
<section class="voteDetail">
<AiItem top-label :label="detail.videoName" :border="false" labelBold>
<u-parse class="mar-b8" :html="detail.videoIntroduction"/>
<video :src="detail.videoFileUrl"/>
<video :src="detail.videoFileUrl" :poster="detail.imageFileUrl"/>
</AiItem>
<AiBottomBtn background="#fff">
<div flex class="pad-l32 pad-r16 pad-b16 pad-t16">