137 lines
3.6 KiB
Vue
137 lines
3.6 KiB
Vue
<template>
|
|
<div class="video">
|
|
<div class="nav">
|
|
<div class="tabs">
|
|
<div class="on">全部视频</div>
|
|
<div>审核中</div>
|
|
<div>未通过</div>
|
|
<div>已发布</div>
|
|
</div>
|
|
<div class="sel">
|
|
<img src="" alt="" class="icon">
|
|
<input type="text">
|
|
</div>
|
|
</div>
|
|
<div class="list">
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
<VideoItem></VideoItem>
|
|
</div>
|
|
<div class="pages">
|
|
<a-pagination v-model:current="page" :total="500" :showLessItems="true" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<style lang="scss" scoped>
|
|
.video{
|
|
width: 100%;
|
|
height: 706px;
|
|
background-color: #fff;
|
|
border-radius: 17px;
|
|
padding: 40px;
|
|
.nav{
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 1px solid #eee;
|
|
justify-content: space-between;
|
|
.tabs{
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
color: #111;
|
|
padding: 11px 0;
|
|
>div{
|
|
margin-right: 58px;
|
|
}
|
|
.on{
|
|
color: #08AE98;
|
|
position: relative;
|
|
&::before{
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
bottom: -12px;
|
|
width: 57px;
|
|
height: 1px;
|
|
background-color: #08AE98;
|
|
}
|
|
}
|
|
|
|
}
|
|
.sel{
|
|
width: 171px;
|
|
height: 26px;
|
|
border: 1px solid #999;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
>img{
|
|
width: 11px;
|
|
height: 11px;
|
|
|
|
}
|
|
>input{
|
|
width: 119px;
|
|
font-size: 9px;
|
|
line-height: 1;
|
|
margin-left: 6px;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
}
|
|
}
|
|
.list{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
>div{
|
|
margin-top: 28px;
|
|
margin-left: 23px;
|
|
&:nth-child(1),&:nth-child(6){
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
.pages{
|
|
width: 100%;
|
|
position: absolute;
|
|
bottom: 114px;
|
|
display: flex;
|
|
justify-content: center;
|
|
&::v-deep .ant-pagination-next > .ant-pagination-item-link, &::v-deep .ant-pagination-prev > .ant-pagination-item-link, &::v-deep .ant-pagination-item, &::v-deep .ant-pagination-jump-next-custom-icon, &::v-deep .ant-pagination-jump-prev-custom-icon{
|
|
border: 1px solid #08AE98;
|
|
}
|
|
&::v-deep .ant-pagination-item-active a{
|
|
color: #fff;
|
|
}
|
|
&::v-deep .ant-pagination-item-active{
|
|
background-color: #08AE98;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
<script lang="ts">
|
|
import { defineComponent, ref } from 'vue';
|
|
import VideoItem from "@/components/VideoItem.vue"
|
|
|
|
export default defineComponent({
|
|
components:{
|
|
VideoItem
|
|
},
|
|
setup(){
|
|
console.log(123)
|
|
const page = ref(6);
|
|
return {
|
|
page
|
|
}
|
|
}
|
|
})
|
|
</script> |