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.
97 lines
2.1 KiB
97 lines
2.1 KiB
<template>
|
|
<view>
|
|
<view class="dis_style div_style" v-for="(item,index) in arrayList" :key="index" @click="info(item.id)">
|
|
<view>
|
|
<view class='color_style'>{{item.title}}</view>
|
|
<view class='color_type_style'>{{getTableType(item.table_type)}}</view>
|
|
</view>
|
|
<view class='color_date_style'>{{item.create_time}}</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import apiRoute from '@/api/apiRoute.js';
|
|
export default {
|
|
data() {
|
|
return {
|
|
arrayList: [],
|
|
tableTypeName: {
|
|
'1': "课程教学大纲",
|
|
'2': "跳绳教案库",
|
|
'3': "增高教案库",
|
|
'4': "篮球教案库",
|
|
'5': "强化教案库",
|
|
'6': "空中忍者教案库",
|
|
'7': "少儿安防教案库",
|
|
'8': "体能教案库",
|
|
'9': "热身动作库",
|
|
'10': "体能动作库",
|
|
'11': "趣味游戏库",
|
|
'12': "放松动作库",
|
|
'13': "训练内容",
|
|
'14': "训练视频",
|
|
'15': "课后作业",
|
|
'16': "优秀一堂课",
|
|
'17': "空中忍者",
|
|
'18': "篮球动作",
|
|
'19': "跳绳动作",
|
|
'20': "跑酷动作",
|
|
'21': "安防动作",
|
|
'22': "标准化动作",
|
|
'23': "3-6岁体测",
|
|
'24': "7+体测",
|
|
'25': "3-6岁体测讲解—解读",
|
|
'26': "7+岁体测讲解—解读",
|
|
'27': "互动游戏",
|
|
'28': "套圈游戏",
|
|
'29': "鼓励方式"
|
|
}
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.init()
|
|
},
|
|
methods: {
|
|
init() {
|
|
apiRoute.teachingResearchList().then(res => {
|
|
if (res.code == 1) {
|
|
this.arrayList = res.data.data
|
|
}
|
|
})
|
|
},
|
|
getTableType(text) {
|
|
return this.tableTypeName[text]
|
|
},
|
|
info(id) {
|
|
console.log(id)
|
|
uni.navigateTo({
|
|
url: '/pages/coach/my/teaching_management_info?id=' + id
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.div_style{
|
|
padding: 18rpx 50rpx;
|
|
background-color: #fff;
|
|
margin-top: 10rpx;
|
|
}
|
|
.dis_style{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.color_style{
|
|
font-size: 30rpx;
|
|
font-weight: bold;
|
|
}
|
|
.color_type_style{
|
|
font-size: 22rpx;
|
|
}
|
|
.color_date_style{
|
|
font-size: 22rpx;
|
|
}
|
|
</style>
|
|
|