Lint :)))

This commit is contained in:
Cadence Ember 2020-06-24 04:39:26 +12:00
parent 8bdc3640ba
commit f17d715e24
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
3 changed files with 22 additions and 8 deletions

View File

@ -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>

View File

@ -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',

View File

@ -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'"