12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <template>
- <view class="page_view">
- <view style="height: 200rpx;"></view>
- <top-return text="评测练习"></top-return>
- <!-- 天数选择 -->
- <!-- <scroll-view class="week_view" scroll-x="true" :scroll-with-animation="true" scroll-left="0">
- <view style="margin-top:20rpx;">
- <view v-for="(item,index) in examPractice[index]" :key="index"
- :class="isactive == index ? 'week_item_select' : 'week_item' " @click='chooseDay(index,item)'>
- <view class="item_box">
- <view class="_title">{{item.weekNum}}</view>
- <view class="_day">{{item.dayNum}}</view>
- <view class="tag_fill" v-if="isactive == index">
- <view class="tag_text" v-if="isactive == index && currentClassList.length != 0">
- {{currentClassList.length}} 节课
- </view>
- <view class="tag_text" v-if="isactive == index && currentClassList.length === 0">无课程</view>
- </view>
- </view>
- </view>
- </view>
- </scroll-view> -->
- </view>
- </template>
- <script>
- import {
- mapState
- } from 'vuex'
- export default {
- computed: {
- ...mapState('m_children', ['examPractice'])
- },
- data() {
- return {
- index: ''
- }
- },
- onLoad(param) {
- this.index = param.index
- },
- methods:{
-
- }
- }
- </script>
- <style>
- </style>
|