1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!-- 报班通知 -->
- <template>
- <view class="registration">
- <z-paging
- ref="paging"
- v-model="noticeList"
- @query="queryList"
- >
- <view class="registration-list">
- <view class="registration-list-item" v-for="(item, index) in noticeList" :key="index">
- <view class="left">
- <u-image :src="item.img" mode="aspectFill" width="204" height="220" border-radius="10"/>
- </view>
- <view class="right">
- <view class="name">{{ item.name }}</view>
- <view class="school">{{ item.school }}</view>
- <view class="content">{{ item.content }}</view>
- <view class="button" :class="{'end': item.status === 1}">{{ item.status === 1 ? '结束' : '报名' }}</view>
- </view>
- </view>
- </view>
- </z-paging>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- noticeList: []
- }
- },
- methods: {
- /**
- * 下拉分页组件触发
- * @param {Number} pageNum
- * @param {Number} pageSize
- */
- queryList(pageNum, pageSize) {
- this.$refs.paging.complete([
- {
- id: 1,
- img: 'http://www.gzlis.edu.cn/uploadfile/201906/20190605152111236.jpg',
- name: '厨师培训',
- school: '贵州装备制造职业学院',
- content: '核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规'
- },
- {
- id: 2,
- img: 'http://www.gzlis.edu.cn/uploadfile/201906/20190605152111236.jpg',
- name: '厨师培训',
- school: '贵州装备制造职业学院',
- content: '核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规',
- status: 1
- },
- {
- id: 3,
- img: 'http://www.gzlis.edu.cn/uploadfile/201906/20190605152111236.jpg',
- name: '厨师培训',
- school: '贵州装备制造职业学院',
- content: '核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规核心课程汽车构造让知及汽保工具规'
- }
- ])
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- @import './registrationNotice.scss';
- </style>
|