帧视界壹通告,付费看视频的微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

94 lines
1.7 KiB

<template>
<view class="publishList">
<view class="item" v-for="(item, index) in list"
@click="$utils.navigateTo('/publish/postDetail?id=123')"
:key="index">
<image src="/static/image/center/1.png" style="width: 40%"></image>
<view class="text">
<view class="title">
{{ item.title }}
</view>
<view class="createBy">
<view class="">
是否置顶{{ item.createBy }}
</view>
</view>
<view class="isPay">
<view class="">
是否付费{{ item.isPay }}
</view>
</view>
<view class="createTime">
发布时间{{ item.createTime }}
</view>
</view>
</view>
</view>
</template>
<script>
export default {
name:"releaseList",
props : ['list'],
data() {
return {
};
}
}
</script>
<style lang="scss" scoped>
.publishList{
width: 90%;
.item{
height: 200rpx;
width: 100%;
background-color: #fff;
overflow: hidden;
border-radius: 10rpx;
color: #777;
display: flex;
font-size: 24rpx;
margin: 30rpx 0;
image{
width: 50%;
height: 100%;
}
.text{
display: flex;
flex-direction: column;
padding: 16rpx;
width: 50%;
.title{
font-size: 30rpx;
font-weight: 600;
color: #000;
}
.createBy{
display: flex;
margin-top: auto;
margin-bottom: 10rpx;
justify-content: space-between;
&>view{
display: flex;
align-items: center;
justify-content: center;
}
}
.isPay{
display: flex;
margin-top: auto;
margin-bottom: 10rpx;
color: #7395f4;
justify-content: space-between;
&>view{
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
}
</style>