exercisesinfo.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <view class="page_view">
  3. <view style="height: 200rpx;"></view>
  4. <top-return text="评测练习"></top-return>
  5. <!-- 天数选择 -->
  6. <!-- <scroll-view class="week_view" scroll-x="true" :scroll-with-animation="true" scroll-left="0">
  7. <view style="margin-top:20rpx;">
  8. <view v-for="(item,index) in examPractice[index]" :key="index"
  9. :class="isactive == index ? 'week_item_select' : 'week_item' " @click='chooseDay(index,item)'>
  10. <view class="item_box">
  11. <view class="_title">{{item.weekNum}}</view>
  12. <view class="_day">{{item.dayNum}}</view>
  13. <view class="tag_fill" v-if="isactive == index">
  14. <view class="tag_text" v-if="isactive == index && currentClassList.length != 0">
  15. {{currentClassList.length}} 节课
  16. </view>
  17. <view class="tag_text" v-if="isactive == index && currentClassList.length === 0">无课程</view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </scroll-view> -->
  23. </view>
  24. </template>
  25. <script>
  26. import {
  27. mapState
  28. } from 'vuex'
  29. export default {
  30. computed: {
  31. ...mapState('m_children', ['examPractice'])
  32. },
  33. data() {
  34. return {
  35. index: ''
  36. }
  37. },
  38. onLoad(param) {
  39. this.index = param.index
  40. },
  41. methods:{
  42. }
  43. }
  44. </script>
  45. <style>
  46. </style>