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