Lint :)))
This commit is contained in:
parent
8bdc3640ba
commit
f17d715e24
|
@ -7,21 +7,21 @@
|
|||
>
|
||||
<ft-list-channel
|
||||
v-if="result.type === 'channel'"
|
||||
:key="index"
|
||||
appearance="result"
|
||||
:data="result"
|
||||
:key="index"
|
||||
/>
|
||||
<ft-list-video
|
||||
v-if="result.type === 'video' || result.type === 'shortVideo'"
|
||||
:key="index"
|
||||
appearance="result"
|
||||
:data="result"
|
||||
:key="index"
|
||||
/>
|
||||
<ft-list-playlist
|
||||
v-if="result.type === 'playlist'"
|
||||
:key="index"
|
||||
appearance="result"
|
||||
:data="result"
|
||||
:key="index"
|
||||
/>
|
||||
</template>
|
||||
</ft-auto-grid>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import Vue from 'vue'
|
||||
import FtIconButton from '../ft-icon-button/ft-icon-button.vue'
|
||||
import FtCard from "../ft-card/ft-card.vue"
|
||||
import FtCard from '../ft-card/ft-card.vue'
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'FtListVideo',
|
||||
|
|
|
@ -71,10 +71,24 @@
|
|||
{{ title }}
|
||||
</router-link>
|
||||
<div class="infoLine">
|
||||
<router-link class="channelName" :to="`/channel/${channelId}`">{{ channelName }}</router-link>
|
||||
<span v-if="!isLive && !hideViews" class="viewCount">• {{ viewCount }} views</span>
|
||||
<span v-if="uploadedTime !== '' && !isLive" class="uploadedTime">• {{ uploadedTime }}</span>
|
||||
<span v-if="isLive" class="viewCount">• {{ viewCount }} watching</span>
|
||||
<router-link
|
||||
class="channelName"
|
||||
:to="`/channel/${channelId}`"
|
||||
>
|
||||
<span>{{ channelName }}</span>
|
||||
</router-link>
|
||||
<span
|
||||
v-if="!isLive && !hideViews"
|
||||
class="viewCount"
|
||||
>• {{ viewCount }} views</span>
|
||||
<span
|
||||
v-if="uploadedTime !== '' && !isLive"
|
||||
class="uploadedTime"
|
||||
>• {{ uploadedTime }}</span>
|
||||
<span
|
||||
v-if="isLive"
|
||||
class="viewCount"
|
||||
>• {{ viewCount }} watching</span>
|
||||
</div>
|
||||
<p
|
||||
v-if="listType !== 'grid' && appearance === 'result'"
|
||||
|
|
Loading…
Reference in New Issue