|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <view class="ezy-cuoti-page">
|
|
|
|
|
|
+ <view class="ezy-xxjl-page">
|
|
<view class="icon-title-navBar-box">
|
|
<view class="icon-title-navBar-box">
|
|
<view @click="handleBack" class="nav-bar-icon"></view>
|
|
<view @click="handleBack" class="nav-bar-icon"></view>
|
|
<text class="nav-bar-title">学习记录</text>
|
|
<text class="nav-bar-title">学习记录</text>
|
|
@@ -7,24 +7,34 @@
|
|
<view class="ezy-tab-border">
|
|
<view class="ezy-tab-border">
|
|
<uni-segmented-control :current="data.current" :values="data.items" active-color="#3A7FE9"
|
|
<uni-segmented-control :current="data.current" :values="data.items" active-color="#3A7FE9"
|
|
@clickItem="onChangeTab" class="ezy-tab-box" />
|
|
@clickItem="onChangeTab" class="ezy-tab-box" />
|
|
- <view class="cuoti-content-box">
|
|
|
|
|
|
+ <view class="xxjl-content-box">
|
|
<view v-if="data.current === 0">
|
|
<view v-if="data.current === 0">
|
|
<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.shuxue.loading"
|
|
<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.shuxue.loading"
|
|
:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
|
|
:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
|
|
- class="cuoti-scroll-view">
|
|
|
|
|
|
+ class="xxjl-scroll-view">
|
|
<!--数学-->
|
|
<!--数学-->
|
|
<uni-list>
|
|
<uni-list>
|
|
- <uni-list-item v-for="item in data.shuxue.list" class="list-item-box">
|
|
|
|
|
|
+ <uni-list-item v-for="item in data.shuxue.list" class="xxjl-item-box">
|
|
<template v-slot:body>
|
|
<template v-slot:body>
|
|
<view @click="goDao(item)">
|
|
<view @click="goDao(item)">
|
|
<view class="item-date-row">
|
|
<view class="item-date-row">
|
|
- <icon class="data-icon"></icon>
|
|
|
|
- <text>{{ item.levelName }}</text>
|
|
|
|
|
|
+ <view class="data-item">
|
|
|
|
+ <icon class="data-icon"></icon>
|
|
|
|
+ <text>{{ item.createTime }}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 这里加点击事件 wgy看这里 -->
|
|
|
|
+ <view class="data-item del-item">
|
|
|
|
+ <icon class="del-icon"></icon>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view>
|
|
|
|
|
|
+ <view class="item-zhang-row">
|
|
|
|
+ <icon class="zhang-icon"></icon>
|
|
|
|
+ <view>{{ item.levelName }}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="item-jie-row">
|
|
<text>{{ item.zhangName }}</text>
|
|
<text>{{ item.zhangName }}</text>
|
|
</view>
|
|
</view>
|
|
- <view>
|
|
|
|
|
|
+ <view class="item-jie-row">
|
|
<text>{{ item.jieName }}</text>
|
|
<text>{{ item.jieName }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -39,24 +49,33 @@
|
|
<view v-if="data.current === 1">
|
|
<view v-if="data.current === 1">
|
|
<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.yingyu.loading"
|
|
<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.yingyu.loading"
|
|
:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
|
|
:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
|
|
- class="cuoti-scroll-view">
|
|
|
|
|
|
+ class="xxjl-scroll-view">
|
|
<!--英语-->
|
|
<!--英语-->
|
|
<uni-list>
|
|
<uni-list>
|
|
- <uni-list-item v-for="item in data.yingyu.list" class="list-item-box">
|
|
|
|
|
|
+ <uni-list-item v-for="item in data.yingyu.list" class="xxjl-item-box">
|
|
<template v-slot:body>
|
|
<template v-slot:body>
|
|
<view>
|
|
<view>
|
|
<view class="item-date-row">
|
|
<view class="item-date-row">
|
|
- <icon class="data-icon"></icon>
|
|
|
|
- <text>{{ item.levelName }}</text>
|
|
|
|
|
|
+ <view class="data-item">
|
|
|
|
+ <icon class="data-icon"></icon>
|
|
|
|
+ <text>{{ item.createTime }}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 这里加点击事件 wgy看这里 -->
|
|
|
|
+ <view class="data-item del-item">
|
|
|
|
+ <icon class="del-icon"></icon>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="item-zhang-row">
|
|
|
|
+ <icon class="zhang-icon"></icon>
|
|
|
|
+ <view>{{ item.levelName }}</view>
|
|
</view>
|
|
</view>
|
|
- <view>
|
|
|
|
|
|
+ <view class="item-jie-row">
|
|
<text>{{ item.zhangName }}</text>
|
|
<text>{{ item.zhangName }}</text>
|
|
</view>
|
|
</view>
|
|
- <view>
|
|
|
|
|
|
+ <view class="item-jie-row">
|
|
<text>{{ item.jieName }}</text>
|
|
<text>{{ item.jieName }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
</template>
|
|
</template>
|
|
</uni-list-item>
|
|
</uni-list-item>
|
|
<uni-load-more :status="data.yingyu.state" @click="getMore(1)"
|
|
<uni-load-more :status="data.yingyu.state" @click="getMore(1)"
|