暂存
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
<text>快来添加一条记录吧~</text>
|
||||
</view>
|
||||
<view class="btn">
|
||||
<text @click="onPageJump('/pages/miniClass/addHomeWork',thisClass.id,2)">写心得</text>
|
||||
<text @click="addXinde('/pages/miniClass/addHomeWork',undefined,2)">写心得</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -130,9 +130,13 @@
|
||||
<view class="tips flex_box">
|
||||
<text>发布者:{{item.createUser.nickname != null && item.createUser.nickname != '' ? item.createUser.nickname : '匿名用户'}}</text>
|
||||
<text style="" class="date">日期:{{item.createTime}}</text>
|
||||
</view>
|
||||
<view class="">
|
||||
<view class="score" v-if="item.scoreSuccess == 1">
|
||||
分数:{{item.score}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<text class="btn" v-show="tijiaoTitleId == 2 && myExperience == 1" @click.stop="editMyXinde(item)" >修改</text>
|
||||
<text class="btn" v-show="tijiaoTitleId == 2 && myExperience == 1 && item.scoreSuccess == 0" @click.stop="editMyXinde(item)" >修改</text>
|
||||
</view>
|
||||
<view class="leve3" v-show="item.reply && tijiaoTitleId != 2">
|
||||
<text>已提交答案</text>
|
||||
@@ -181,7 +185,7 @@
|
||||
<text v-else>暂未设置</text>
|
||||
</view>
|
||||
<view class="item"><text class="adminName">学习委员:</text>
|
||||
<view class="personbox" v-if="admins.learner.id">
|
||||
<view class="personbox" v-if="admins.learner.user != null && admins.learner.id">
|
||||
<text>{{admins.learner.user.nickname != null && admins.learner.user.nickname != '' ? admins.learner.user.nickname : '匿名用户'}}</text>
|
||||
<text>({{admins.learner.user.tel}})</text>
|
||||
</view>
|
||||
@@ -190,8 +194,10 @@
|
||||
<view class="item arryItem"><text class="adminName">记分员:</text>
|
||||
<template v-if="admins.counter.length > 0">
|
||||
<view class="arryItemSub" v-for="(item,index) in admins.counter" :key="index">
|
||||
<template v-if="item.user != null">
|
||||
<text>{{item.user.nickname != null && item.user.nickname != '' ? item.user.nickname : '匿名用户'}}</text>
|
||||
<text>({{item.user.tel}}) </text>
|
||||
</template>
|
||||
</view>
|
||||
</template>
|
||||
<text v-else>暂未设置</text>
|
||||
@@ -199,8 +205,10 @@
|
||||
<view class="item arryItem"><text class="adminName">评分员:</text>
|
||||
<template v-if="admins.scorer.length > 0">
|
||||
<view class="arryItemSub" v-for="(item,index) in admins.scorer" :key="index">
|
||||
<template v-if="item.user != null">
|
||||
<text>{{item.user.nickname != null && item.user.nickname != '' ? item.user.nickname : '匿名用户'}}</text>
|
||||
<text>({{item.user.tel}}) </text>
|
||||
</template>
|
||||
</view>
|
||||
</template>
|
||||
<text v-else>暂未设置</text>
|
||||
@@ -330,6 +338,12 @@
|
||||
uni.hideTabBar();
|
||||
this.classId = e.id
|
||||
this.getUserInfo()
|
||||
uni.$on('refreshData',() => {
|
||||
console.log('开始刷新列表数据');
|
||||
this.pPage = 0
|
||||
this.taskList = []
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onReachBottom() {
|
||||
if (this.status != 2 && this.status != 3) {
|
||||
@@ -402,7 +416,7 @@
|
||||
},
|
||||
// 点击作业或者医案,进入详细介绍
|
||||
clickTask(item){
|
||||
var options = JSON.stringify(item)
|
||||
var options = JSON.stringify(item)
|
||||
if(this.tijiaoTitleId == 2){
|
||||
// 进入的是心得
|
||||
uni.navigateTo({
|
||||
@@ -414,7 +428,7 @@
|
||||
|
||||
// console.log('options',options);
|
||||
uni.navigateTo({
|
||||
url:`/pages/miniClass/taskDetail?id=${item.id}`
|
||||
url:`/pages/miniClass/taskDetail?id=${item.id}&`
|
||||
})
|
||||
},
|
||||
delClass() {
|
||||
@@ -542,6 +556,12 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
// 添加心得
|
||||
addXinde(url, id, modeType) {
|
||||
uni.navigateTo({
|
||||
url: `${url}?classId=${this.thisClass.id}&type=${modeType}`
|
||||
});
|
||||
},
|
||||
// 跳转
|
||||
onPageJump(url, id, modeType) {
|
||||
uni.navigateTo({
|
||||
@@ -836,7 +856,7 @@
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "@/style/mixin.scss";
|
||||
|
||||
.score{color: #55aaff; font-size: 30rpx !important; font-weight: bold;}
|
||||
.flexbox {
|
||||
display: flex;
|
||||
}
|
||||
@@ -938,12 +958,12 @@
|
||||
|
||||
.newBox {
|
||||
.classmateImg {
|
||||
width: 60rpx !important;
|
||||
height: 60rpx !important;
|
||||
width: 40rpx !important;
|
||||
height: 40rpx !important;
|
||||
|
||||
image {
|
||||
width: 60rpx !important;
|
||||
height: 60rpx;
|
||||
width: 40rpx !important;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -964,10 +984,11 @@
|
||||
.leve2{
|
||||
color: #666;
|
||||
line-height: 56rpx;
|
||||
@include bov(3)
|
||||
|
||||
@include bov(3); padding-bottom: 6rpx;
|
||||
border-bottom: 1px dotted #eee !important;
|
||||
}
|
||||
.leve3{
|
||||
|
||||
color: $themeColor; text-align: center; padding-top: 10rpx;
|
||||
.tips{
|
||||
width: 100%; justify-content: space-between;font-size: 26rpx; color: #999;
|
||||
@@ -1057,14 +1078,14 @@
|
||||
}
|
||||
|
||||
.classmateImg {
|
||||
width: 80rpx;
|
||||
margin-right: 40rpx;
|
||||
height: 80rpx;
|
||||
width: 40rpx;
|
||||
margin-right: 20rpx;
|
||||
height: 40rpx;
|
||||
border-radius: 100rpx;
|
||||
|
||||
image {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user