This commit is contained in:
@fawn-nine
2024-08-21 17:24:11 +08:00
parent 1179b63ae0
commit d549954559
16 changed files with 1826 additions and 351 deletions

View File

@@ -29,6 +29,27 @@
<view><text class="ciyao">人数</text><text class="mainTxt">{{students.length}}/{{thisClass.number}}</text></view>
<view><text class="ciyao">管理成员</text><text class="mainTxt" @click="seeManager">点击查看</text></view>
</view>
<view class="pingfenBox" >
<view class="scoreTitle">
<view class="titles flex_box">
<text>表现分</text><uni-icons type="help" size="18" color="#fff" @click="clickHelp"></uni-icons>
</view>
</view>
<view class="otherItems flex_box userScore">
<view>
<text class="ciyao">作业得分</text>
<text class="ciyao"><i class="mainTxt PM_font">3</i></text>
</view>
<view><text class="ciyao">医案得分</text>
<text class="ciyao"><i class="mainTxt PM_font">6</i></text>
</view>
<view><text class="ciyao">心得得分</text>
<text class="ciyao"><i class="mainTxt PM_font">10</i></text></view>
<view><text class="ciyao">思考题分</text>
<text class="ciyao"><i class="mainTxt PM_font">2</i></text></view>
</view>
</view>
<view class="mainBox">
<view class="">
<u-tabs v-if="tabList.length > 0" :class="['tabList']" @click="tabClick" :current="curTagIndex"
@@ -226,6 +247,7 @@
</view>
</u-popup>
<z-navigation ></z-navigation>
</view>
</template>
@@ -237,6 +259,7 @@
export default {
data() {
return {
horizontal: 'right',
vertical: 'bottom',
direction: 'vertical',
@@ -265,12 +288,17 @@
thisClass: {},
students: [],
tabId: '0',
tabId: '3',
curTagIndex: 0,
scrollable: false,
pPage:0,
// 已开班
tabList02: [{
tabList02: [
{
name: '班内提交',
id: '3'
},
{
name: '班内课程',
id: '0'
},
@@ -281,10 +309,7 @@
{
name: '班内学员',
id: '2'
}, {
name: '班内提交',
id: '3'
}
}
],
// 待开班
tabList01: [{
@@ -366,14 +391,7 @@
this.taskList = []
this.getList()
uni.stopPullDownRefresh()
},
onBackPress() {
if (this.$refs.fab.isShow) {
this.$refs.fab.close()
return true
}
return false
},
},
onShow() {
this.getClassInfo()
@@ -790,6 +808,14 @@
}
});
},
clickHelp(){
uni.showModal({
title:'说明',
content:"表现分占最终总成绩的40%,由作业,医案,心得,思考题四部分构成每部分各占四分之一且每部分最高为10分总计40分。",
showCancel:false,
confirmText:'好的'
})
},
showmoreTask(){
uni.navigateTo({
url:`/pages/miniClass/classCaskList?id=${this.thisClass.id}&type=${this.tijiaoTitleId}`
@@ -847,7 +873,9 @@
this.courses = res.result.courses
this.students = res.result.students
this.refresh = true
if(this.thisClass.state != 0){
this.getList()
}
}
uni.hideLoading()
}).catch(e => {
@@ -901,12 +929,19 @@
.btn{display: inline-block; border-radius: 20rpx ; padding: 10rpx 20rpx; background-color: $themeColor; color: #fff;}
}
.taskEdit{color: $themeColor; display: inline-block; padding-left: 20rpx;}
.scoreTitle{text-align: center; margin-bottom: 20rpx;
.titles{display: inline-block; padding: 6rpx 20rpx; background-color: #258feb;
border-radius: 0 0 30rpx 30rpx ; color: #fff;
text{ font-size: 40rpx !important;}
}
span{display: block;}
}
.pingfenBox {
border: 2px dotted #bed4ee;
padding: 20rpx;
background-color: rgba(255, 255, 255, .6);
background-color: #fff;
border-radius: 20rpx;
padding-top: 0;
.flex_box {
justify-content: space-between;
}
@@ -1031,6 +1066,9 @@
border-radius: 40rpx;
}
}
.userScore{ text-align: center;
.mainTxt{font-size: 50rpx; color: $themeColor; font-style: normal; padding-right: 4rpx;}
}
.qrcode{width:100%;
image{
width: 200rpx;height: 200rpx;