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.
 
 
 

47 lines
841 B

<template>
<view class="pageBgImg">
<topNavbar title="上课学员"></topNavbar>
<view class="con">
<view class="card" v-for="(item,index) in list" :key="index">
<appointItem :item="item"/>
</view>
</view>
</view>
</template>
<script>
import appointItem from './comp/appointItem-operate'
import { signStudentList, changeStudent, } from '@/config/api.js'
export default {
components: {
appointItem
},
data() {
return {
list: []
}
},
onLoad() {
this.signStudentListFn()
},
onPullDownRefresh() {
this.signStudentListFn()
},
methods: {
async signStudentListFn() {
const {data: res} = await signStudentList()
this.list = res
}
}
}
</script>
<style lang="scss" scoped>
.con {
padding: 0 28rpx;
.card {
padding: 0 20rpx;
margin-bottom: 20rpx;
}
}
</style>