鸿宇研学生前端代码
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.
 
 
 

57 lines
889 B

<template>
<view class="page__view">
<navbar title="开营通知" leftClick @leftClick="$utils.navigateBack" bgColor="#FFFFFF" />
<view class="list">
<view class="list-item" v-for="item in list" :key="item.id">
<messageCard :data="item" ></messageCard>
</view>
</view>
</view>
</template>
<script>
import mixinsList from '@/mixins/list.js'
import messageCard from './card.vue'
export default {
mixins: [mixinsList],
components: {
messageCard,
},
data() {
return {
// todo: check key
mixinsListApi: '',
}
},
methods: {
},
}
</script>
<style scoped lang="scss">
.page__view {
width: 100vw;
min-height: 100vh;
background: $uni-bg-color;
position: relative;
}
.list {
padding: 40rpx;
&-item {
& + & {
margin-top: 32rpx;
}
}
}
</style>